summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorCameron Smith <cwsmith@users.noreply.github.com>2024-04-03 14:07:43 -0400
committerGitHub <noreply@github.com>2024-04-03 11:07:43 -0700
commitb6caf0156f10aed90c355f7ab9524394cd41dd3e (patch)
treea4416e433c31da120ac9558947a998aadb392589 /var
parentec00ffc244835ff4ab7b318317a86cbc8aa134e7 (diff)
downloadspack-b6caf0156f10aed90c355f7ab9524394cd41dd3e.tar.gz
spack-b6caf0156f10aed90c355f7ab9524394cd41dd3e.tar.bz2
spack-b6caf0156f10aed90c355f7ab9524394cd41dd3e.tar.xz
spack-b6caf0156f10aed90c355f7ab9524394cd41dd3e.zip
simmetrix-simmodsuite: support RHEL8, fix module paths (#43455)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py b/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py
index 65fe64d19d..19a9f2fa1c 100644
--- a/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py
+++ b/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py
@@ -542,8 +542,9 @@ class SimmetrixSimmodsuite(Package):
variant("paralleladapt", default=False, description="enable parallel adaptation")
depends_on("mpi")
+ depends_on("libtirpc", type="link")
- oslib = "x64_rhel7_gcc48"
+ oslib = "x64_rhel8_gcc83"
for release in RELEASES:
# define the version using the mscore tarball
@@ -571,12 +572,12 @@ class SimmetrixSimmodsuite(Package):
simmetrix_resource(_name, url, sha256, condition)
def setup_dependent_build_environment(self, env, dependent_spec):
- archlib = join_path(prefix.lib, self.oslib)
+ archlib = join_path(self.prefix.lib, self.oslib)
env.append_path("CMAKE_PREFIX_PATH", archlib)
simmetrix_setkernelcmakeprefixpath(self.spec, archlib, env)
def setup_run_environment(self, env):
- archlib = join_path(prefix.lib, self.oslib)
+ archlib = join_path(self.prefix.lib, self.oslib)
env.append_path("CMAKE_PREFIX_PATH", archlib)
simmetrix_setkernelcmakeprefixpath(self.spec, archlib, env)