summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRocco Meli <r.meli@bluemail.ch>2024-03-21 22:26:36 +0100
committerGitHub <noreply@github.com>2024-03-21 22:26:36 +0100
commit67ac9c46a80f3f0541b43d57b637984ef017f412 (patch)
tree51d7b6167097e450ba0749ac9724bd322ff80efc
parentaa39465188c6c0c29ebac0fd3e315d17473dcfee (diff)
downloadspack-67ac9c46a80f3f0541b43d57b637984ef017f412.tar.gz
spack-67ac9c46a80f3f0541b43d57b637984ef017f412.tar.bz2
spack-67ac9c46a80f3f0541b43d57b637984ef017f412.tar.xz
spack-67ac9c46a80f3f0541b43d57b637984ef017f412.zip
namd: disable parallel build for 3.0b3 (#43215)
-rw-r--r--var/spack/repos/builtin/packages/namd/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/namd/package.py b/var/spack/repos/builtin/packages/namd/package.py
index bfe4fe9e42..9d9d87b250 100644
--- a/var/spack/repos/builtin/packages/namd/package.py
+++ b/var/spack/repos/builtin/packages/namd/package.py
@@ -289,6 +289,13 @@ class Namd(MakefilePackage, CudaPackage):
join_path(self.build_directory, "Make.config"),
)
+ @when("@3.0b3")
+ def build(self, spec, prefix):
+ # Disable parallel build
+ # https://github.com/spack/spack/pull/43215
+ with working_dir(self.build_directory):
+ make(parallel=False)
+
def install(self, spec, prefix):
with working_dir(self.build_directory):
mkdirp(prefix.bin)