summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gardner <gardner48@llnl.gov>2024-08-23 09:53:21 -0700
committerGitHub <noreply@github.com>2024-08-23 09:53:21 -0700
commit906799eec510527077422cb913997bb3eec56aa3 (patch)
tree91adb29dde0bfe9eb633e3418be6c55b9c196707
parentdcdcab7b2c2ca976724b1b1460459d248188da28 (diff)
downloadspack-906799eec510527077422cb913997bb3eec56aa3.tar.gz
spack-906799eec510527077422cb913997bb3eec56aa3.tar.bz2
spack-906799eec510527077422cb913997bb3eec56aa3.tar.xz
spack-906799eec510527077422cb913997bb3eec56aa3.zip
add SuperLU_MT v4.0.1 (#45924)
-rw-r--r--var/spack/repos/builtin/packages/superlu-mt/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-mt/package.py b/var/spack/repos/builtin/packages/superlu-mt/package.py
index ca14d064f0..46786c508f 100644
--- a/var/spack/repos/builtin/packages/superlu-mt/package.py
+++ b/var/spack/repos/builtin/packages/superlu-mt/package.py
@@ -16,7 +16,10 @@ class SuperluMt(Package):
homepage = "https://crd-legacy.lbl.gov/~xiaoye/SuperLU/#superlu_mt"
url = "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_mt_3.1.tar.gz"
+ git = "https://github.com/xiaoyeli/superlu_mt"
+ version("master", branch="master")
+ version("4.0.1", tag="v4.0.1", commit="1300aec2a46327ecdd34fc7460d56e86e5431f79")
version("3.1", sha256="407b544b9a92b2ed536b1e713e80f986824cf3016657a4bfc2f3e7d2a76ecab6")
depends_on("c", type="build") # generated
@@ -128,6 +131,9 @@ class SuperluMt(Package):
# Set up make include file manually
self.configure(spec)
+ # Workaround Makefile bug where lib directory is not always created
+ mkdirp("lib")
+
# BLAS needs to be compiled separately if using internal BLAS library
if "+blas" not in spec:
make("blaslib")