summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2020-01-31 12:35:46 -0700
committerGitHub <noreply@github.com>2020-01-31 13:35:46 -0600
commitd83309493ff8d596e6c6d6776111a815dc0da257 (patch)
treeedc5886b9b00df734d645a489cfc8a2df918edb0
parent47ee690076508edc48740bac16b529a06d0be1a0 (diff)
downloadspack-d83309493ff8d596e6c6d6776111a815dc0da257.tar.gz
spack-d83309493ff8d596e6c6d6776111a815dc0da257.tar.bz2
spack-d83309493ff8d596e6c6d6776111a815dc0da257.tar.xz
spack-d83309493ff8d596e6c6d6776111a815dc0da257.zip
superlu-dist: enforce OpenMP=OFF (#14708)
-rw-r--r--var/spack/repos/builtin/packages/superlu-dist/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py
index c9f384a915..989158356d 100644
--- a/var/spack/repos/builtin/packages/superlu-dist/package.py
+++ b/var/spack/repos/builtin/packages/superlu-dist/package.py
@@ -72,6 +72,7 @@ class SuperluDist(CMakePackage):
args.append('-Denable_openmp=ON')
else:
args.append('-Denable_openmp=OFF')
+ args.append('-DCMAKE_DISABLE_FIND_PACKAGE_OpenMP=ON')
if '+shared' in spec:
args.append('-DBUILD_SHARED_LIBS:BOOL=ON')