summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Han <han12@llnl.gov>2024-01-18 16:38:39 -0800
committerGitHub <noreply@github.com>2024-01-18 17:38:39 -0700
commite9a02735383653c2917624f634f0f427f778952d (patch)
treef7197a63251c42551a240c7d1fc496b69d0392ac
parent0d7aa6d8118adb242851f9402866992b280e7823 (diff)
downloadspack-e9a02735383653c2917624f634f0f427f778952d.tar.gz
spack-e9a02735383653c2917624f634f0f427f778952d.tar.bz2
spack-e9a02735383653c2917624f634f0f427f778952d.tar.xz
spack-e9a02735383653c2917624f634f0f427f778952d.zip
umpire - Use ENABLE_OPENMP to build with OpenMP support (#42164)
-rw-r--r--var/spack/repos/builtin/packages/umpire/package.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/umpire/package.py b/var/spack/repos/builtin/packages/umpire/package.py
index 7a976ccdf1..e85f48ff1f 100644
--- a/var/spack/repos/builtin/packages/umpire/package.py
+++ b/var/spack/repos/builtin/packages/umpire/package.py
@@ -312,9 +312,7 @@ class Umpire(CachedCMakePackage, CudaPackage, ROCmPackage):
if spec.satisfies("@5.0.0:"):
entries.append(cmake_cache_path("camp_DIR", spec["camp"].prefix))
entries.append(cmake_cache_option("{}ENABLE_NUMA".format(option_prefix), "+numa" in spec))
- entries.append(
- cmake_cache_option("{}ENABLE_OPENMP".format(option_prefix), "+openmp" in spec)
- )
+ entries.append(cmake_cache_option("ENABLE_OPENMP", "+openmp" in spec))
entries.append(cmake_cache_option("ENABLE_BENCHMARKS", "tests=benchmarks" in spec))
entries.append(
cmake_cache_option("{}ENABLE_EXAMPLES".format(option_prefix), "+examples" in spec)