update exercise build option for 0.14.0 (#27338)
This commit is contained in:
parent
f548243e9e
commit
1d8c2498ee
@ -129,7 +129,12 @@ def initconfig_package_entries(self):
|
|||||||
entries.append(cmake_cache_path("camp_DIR", spec['camp'].prefix))
|
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("BUILD_SHARED_LIBS", '+shared' in spec))
|
||||||
entries.append(cmake_cache_option("ENABLE_EXAMPLES", '+examples' 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
|
# Work around spack adding -march=ppc64le to SPACK_TARGET_ARGS which
|
||||||
# is used by the spack compiler wrapper. This can go away when BLT
|
# is used by the spack compiler wrapper. This can go away when BLT
|
||||||
|
Loading…
Reference in New Issue
Block a user