-
Notifications
You must be signed in to change notification settings - Fork 173
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
build: Change CMake settings for traccc deps #3620
build: Change CMake settings for traccc deps #3620
Conversation
5b91ae2
to
cff4b00
Compare
This commit enables the build of CUDA components of detray, traccc, and vecmem depending on a new `ACTS_TRACCC_ENABLE_CUDA` flag. It also disables the build of the traccc IO code (which has a circular dependency on ACTS) and cleans up the ACTS CMake configuration. Also adds minor fixes to the ways algebra-plugins and detray are loaded (these are temporary workarounds).
Quality Gate passedIssues Measures |
@@ -439,14 +440,19 @@ if(ACTS_BUILD_PLUGIN_GEANT4) | |||
endif() | |||
|
|||
if(ACTS_BUILD_PLUGIN_TRACCC) | |||
# TODO: Algebra-plugins should set this up itself! | |||
add_definitions(-DALGEBRA_PLUGINS_INCLUDE_ARRAY) |
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 is a global define? Could we define this on the target itself somehow?
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 decided to fix this in acts-project/traccc#704.
This commit enables the build of CUDA components of detray, traccc, and vecmem depending on a new
ACTS_TRACCC_ENABLE_CUDA
flag. It also disables the build of the traccc IO code (which has a circular dependency on ACTS) and cleans up the ACTS CMake configuration. Also adds minor fixes to the ways algebra-plugins and detray are loaded (these are temporary workarounds).Blocked by: