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

CMake: Lib & Python Consistency #274

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Nov 2, 2022

Fix the logic of forcing the lib build for Python bindings.

@ax3l ax3l added bug Something isn't working bug: affects latest release Bug also exists in latest release version install component: python Python bindings labels Nov 2, 2022
@ax3l ax3l requested a review from RTSandberg November 2, 2022 20:13
@@ -123,9 +128,6 @@ endif()

# Targets #####################################################################
#
if(ImpactX_PYTHON)
Copy link
Member Author

@ax3l ax3l Nov 2, 2022

Choose a reason for hiding this comment

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

logic in cmake/dependencies/ABLASTR.cmake depends on a correctly set ImpactX_LIB, so we need to move it up before including that file

@@ -287,7 +287,7 @@ function(impactx_set_binary_name)
)
endif()
if(ImpactX_LIB)
if(WIN32)
if(WIN32) # TODO: handle static lib extensions
Copy link
Member Author

Choose a reason for hiding this comment

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

Probably the reason for the issue in #208, will be fixed therein

@ax3l ax3l enabled auto-merge (squash) November 2, 2022 20:16
@ax3l

This comment was marked as resolved.

Fix the logic of forcing the lib build for Python bindings.
@ax3l ax3l merged commit cffee4b into BLAST-ImpactX:development Nov 2, 2022
@ax3l ax3l deleted the cmake-cleanup branch November 2, 2022 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: python Python bindings install
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant