You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There might be a bug with how blt_add_library propagates dependencies for object libraries.
My specific case is for an object library that depends on an imported library with its own internal dependencies.
Specifically, I have an axom configuration that depends on RAJA with RAJA_ENABLE_ROCTX = ON.
The RAJA import has a RAJA target that depends on the RAJA::roctx target.
Axom's core component is an object library. When invoking blt_add_library, it gets the RAJA dependency, but does not eventually get include paths from RAJA::roctx
There might be a bug with how
blt_add_library
propagates dependencies for object libraries.My specific case is for an object library that depends on an imported library with its own internal dependencies.
Specifically, I have an
axom
configuration that depends onRAJA
withRAJA_ENABLE_ROCTX = ON
.RAJA
target that depends on theRAJA::roctx
target.core
component is an object library. When invokingblt_add_library
, it gets theRAJA
dependency, but does not eventually get include paths fromRAJA::roctx
Details and links:
RAJA_ENABLE_ROCTX
option: https://github.com/LLNL/RAJA/blob/093bc446fdde333749a13ceca262c09ca3ad1049/cmake/SetupRajaOptions.cmake#L12core
component: https://github.com/LLNL/axom/blob/1f86e245684480c1d9bcfe88f50011b0bb280e6d/src/axom/core/CMakeLists.txt#L96-L116blt_add_library
:blt/cmake/BLTMacros.cmake
Lines 635 to 646 in 8c22999
blt_add_library
:blt/cmake/BLTMacros.cmake
Lines 691 to 693 in 8c22999
blt_expand_dependencies
only applies to (pseudo)-targets created byblt_register_library
:blt/cmake/BLTPrivateMacros.cmake
Lines 329 to 339 in 8c22999
The text was updated successfully, but these errors were encountered: