update exercise build option for 0.14.0 (#27338)
This commit is contained in:
parent
f548243e9e
commit
1d8c2498ee
1 changed files with 6 additions and 1 deletions
|
@ -129,7 +129,12 @@ def initconfig_package_entries(self):
|
|||
entries.append(cmake_cache_path("camp_DIR", spec['camp'].prefix))
|
||||
entries.append(cmake_cache_option("BUILD_SHARED_LIBS", '+shared' in spec))
|
||||
entries.append(cmake_cache_option("ENABLE_EXAMPLES", '+examples' in spec))
|
||||
entries.append(cmake_cache_option("ENABLE_EXERCISES", '+exercises' in spec))
|
||||
if spec.satisfies('@0.14.0:'):
|
||||
entries.append(cmake_cache_option("RAJA_ENABLE_EXERCISES",
|
||||
'+exercises' in spec))
|
||||
else:
|
||||
entries.append(cmake_cache_option("ENABLE_EXERCISES",
|
||||
'+exercises' in spec))
|
||||
|
||||
# Work around spack adding -march=ppc64le to SPACK_TARGET_ARGS which
|
||||
# is used by the spack compiler wrapper. This can go away when BLT
|
||||
|
|
Loading…
Reference in a new issue