-
Notifications
You must be signed in to change notification settings - Fork 44
Add options to control install behaviour in ASAN builds #138
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
base: release-staging/rocm-rel-5.7
Are you sure you want to change the base?
Add options to control install behaviour in ASAN builds #138
Conversation
So |
Ah, I misunderstood what you had said in our last discussion. Should there then be a flag to force a target to be ignored in the ASAN build, in addition to this |
@@ -146,6 +156,11 @@ function(rocm_install_targets) | |||
set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR}) | |||
endif() | |||
|
|||
if (PARSE_PRIVATE) | |||
set(BIN_INSTALL_DIR ${BIN_INSTALL_DIR}/${PROJECT_NAME}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ${LIB_INSTALL_DIR}/${PROJECT_NAME}
.
@@ -146,6 +156,11 @@ function(rocm_install_targets) | |||
set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR}) | |||
endif() | |||
|
|||
if (PARSE_PRIVATE) | |||
set(BIN_INSTALL_DIR ${BIN_INSTALL_DIR}/${PROJECT_NAME}) | |||
set(LIB_INSTALL_DIR ${LIB_INSTALL_DIR}/${PROJECT_NAME}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would be ${LIB_INSTALL_DIR}/${PROJECT_NAME}/lib
. Also, we should probably do this for include as well.
No, we should just ignore everything thats not a shared object by default in ASAN builds. Then the |
No description provided.