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

handle BUILD_STATIC_LIBS in FORTRAN #173

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Nov 11, 2024

e.g. to avoid installing static libs when they have been explicitly disabled

I'm not sure if you'd rather organize this differently so there are fewer conditionals, but this was the way to make the smallest diff since it's only ifs and indentation changes, no reorganization.

e.g. avoids installing static libs when they have been explicitly disabled

doesn't handle BUILD_SHARED_LIBS, which is still assumed
@minrk minrk changed the title handle BUILD_SHARED_LIBS/BUILD_STATIC_LIBS in FORTRAN handle BUILD_STATIC_LIBS in FORTRAN Nov 11, 2024
@minrk
Copy link
Contributor Author

minrk commented Nov 11, 2024

I only added handling of BUILD_STATIC_LIBS, leaving BUILD_SHARED_LIBS assumed True. I can add handling of both if you prefer. It appears that BUILD_STATIC_LIBS is subordinate to BUILD_SHARED_LIBS, so it is not allowed to build static without shared.

@xiaoyeli xiaoyeli merged commit 76ab5e1 into xiaoyeli:master Nov 11, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants