diff options
author | Cameron Smith <cwsmith@users.noreply.github.com> | 2024-04-03 14:07:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 11:07:43 -0700 |
commit | b6caf0156f10aed90c355f7ab9524394cd41dd3e (patch) | |
tree | a4416e433c31da120ac9558947a998aadb392589 /var | |
parent | ec00ffc244835ff4ab7b318317a86cbc8aa134e7 (diff) | |
download | spack-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.py | 7 |
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) |