Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: Allow to install shared lib gflags on centos9 #11889

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PHILO-HE
Copy link
Contributor

@PHILO-HE PHILO-HE commented Dec 17, 2024

This pr just reverts one line of change by #10732. I think it is not necessary to fully align gflags build with velox build. It means we should set BUILD_SHARED_LIBS=ON for gflags when VELOX_BUILD_SHARED=ON, but it is not necessary to set BUILD_SHARED_LIBS=OFF for gflags when VELOX_BUILD_SHARED=OFF. We can just make the shared lib always be produced, as I also note setup-ubuntu.sh always installs shared gflags from package (see link). Another reason for this fix is, it is better to keep using same lib type (static or shared) for gflags and glog to avoid any potential issues.

Related discussion on this issue: #10732 (comment)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 17, 2024
Copy link

netlify bot commented Dec 17, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit d7419d7
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67613a6a0a82700008af8a54

@PHILO-HE PHILO-HE changed the title misc: Allow to install shared lib gflags for centos9 misc: Allow to install shared lib gflags on centos9 Dec 17, 2024
@PHILO-HE
Copy link
Contributor Author

Hi @assignUser, could you take a look?

Copy link
Collaborator

@assignUser assignUser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@PHILO-HE
Copy link
Contributor Author

Hi @kgpai, could you merge this small patch if you have no comment?

@kgpai kgpai added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Dec 18, 2024
@kgpai
Copy link
Contributor

kgpai commented Dec 18, 2024

@PHILO-HE will be merged by our oncall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants