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

Propagate BUILD_SHARED_LIBS setting to binding compilation too #3311

Merged
merged 1 commit into from Nov 14, 2022

Conversation

rcurtin
Copy link
Member

@rcurtin rcurtin commented Nov 11, 2022

This patch makes sure that any program we build, even those built for bindings, are statically linked if BUILD_SHARED_LIBS is OFF. Essentially it just sets the linking mode to static for anything built for the bindings, using the same structure that is used for the command-line bindings and mlpack_test.

Copy link
Member

@shrit shrit left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@mlpack-bot mlpack-bot bot left a comment

Choose a reason for hiding this comment

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

Second approval provided automatically after 24 hours. 👍

@rcurtin rcurtin merged commit c86c1d3 into mlpack:master Nov 14, 2022
@rcurtin rcurtin mentioned this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants