summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTom Payerle <payerle@umd.edu>2023-09-06 19:20:04 -0400
committerGitHub <noreply@github.com>2023-09-06 16:20:04 -0700
commitc59f68a33dd0f04f0c90ecedf677a5b7066646fb (patch)
tree02ffd66e2b52bb3cf5fc37e21145f7ebf4610bdb /var
parent743a93902d76095620110dadcfd5e6d7e4208916 (diff)
downloadspack-c59f68a33dd0f04f0c90ecedf677a5b7066646fb.tar.gz
spack-c59f68a33dd0f04f0c90ecedf677a5b7066646fb.tar.bz2
spack-c59f68a33dd0f04f0c90ecedf677a5b7066646fb.tar.xz
spack-c59f68a33dd0f04f0c90ecedf677a5b7066646fb.zip
seacas: Set TPL_ENABLE_Pthread=ON when +thread_safe (#39703)
* seacas: Set TPL_ENABLE_Pthread=ON when +thread_safe This should fix #39702 Basically, following suggestion of error message and setting TPL_ENABLE_Pthread to the value of the boolean spack variant thread_safe * seacas: Fix style issue Add space after comment #
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/seacas/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/seacas/package.py b/var/spack/repos/builtin/packages/seacas/package.py
index e058db747a..ce54a90368 100644
--- a/var/spack/repos/builtin/packages/seacas/package.py
+++ b/var/spack/repos/builtin/packages/seacas/package.py
@@ -195,6 +195,8 @@ class Seacas(CMakePackage):
from_variant("BUILD_SHARED_LIBS", "shared"),
from_variant("SEACASExodus_ENABLE_THREADSAFE", "thread_safe"),
from_variant("SEACASIoss_ENABLE_THREADSAFE", "thread_safe"),
+ # SEACASExodus_ENABLE_THREADSAFE=ON requires TPL_ENABLE_Pthread=ON
+ from_variant("TPL_ENABLE_Pthread", "thread_safe"),
from_variant("TPL_ENABLE_X11", "x11"),
from_variant(project_name_base + "_ENABLE_Fortran", "fortran"),
]