diff options
author | Christian Glusa <cgcgcg@users.noreply.github.com> | 2023-07-11 10:50:41 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 12:50:41 -0400 |
commit | 299066feb5fcf98a899da74dcefb16faa2fc3417 (patch) | |
tree | 85d3ad2b80b199b6f230c482391cd045f80319f2 /var | |
parent | 2e695fa03fd9a5dd0614d678f8c78361b0a06f19 (diff) | |
download | spack-299066feb5fcf98a899da74dcefb16faa2fc3417.tar.gz spack-299066feb5fcf98a899da74dcefb16faa2fc3417.tar.bz2 spack-299066feb5fcf98a899da74dcefb16faa2fc3417.tar.xz spack-299066feb5fcf98a899da74dcefb16faa2fc3417.zip |
Py-PyNucleus: Update dependencies, enable parallel build (#38779)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pynucleus/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-pynucleus/package.py b/var/spack/repos/builtin/packages/py-pynucleus/package.py index aa5636a2c3..c4f2f82b7a 100644 --- a/var/spack/repos/builtin/packages/py-pynucleus/package.py +++ b/var/spack/repos/builtin/packages/py-pynucleus/package.py @@ -19,8 +19,9 @@ class PyPynucleus(PythonPackage): for ref in refs: version(ref, branch=ref) + depends_on("python@3.10:", type=("build", "run")) depends_on("py-mpi4py@2.0.0:", type=("build", "link", "run")) - depends_on("py-cython", type=("build", "run")) + depends_on("py-cython@0.29.32:", type=("build", "run")) depends_on("py-numpy", type=("build", "link", "run")) depends_on("py-scipy", type=("build", "link", "run")) depends_on("metis", type=("build", "link", "run")) @@ -29,7 +30,7 @@ class PyPynucleus(PythonPackage): depends_on("py-h5py", type=("build", "run")) depends_on("py-tabulate", type=("build", "run")) depends_on("py-pyyaml", type=("build", "run")) - depends_on("py-matplotlib", type=("build", "run")) + depends_on("py-matplotlib+latex", type=("build", "run")) depends_on("py-scikit-sparse", type=("build", "run")) depends_on("py-modepy", type=("build", "run")) depends_on("py-meshpy", type=("build", "run")) @@ -48,6 +49,9 @@ class PyPynucleus(PythonPackage): "PyNucleus-nl", ] + def setup_build_environment(self, env): + env.set("PYNUCLEUS_BUILD_PARALLELISM", make_jobs) + @run_before("install") def install_python(self): prefix = self.prefix |