summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-04-18 18:46:09 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2017-04-18 20:46:09 -0500
commita0b19d50c50a5be307f1947ae7ad64bb7729767b (patch)
tree0c2f26e0d7776c68503eb49e09464a3543f7f719 /var
parent687f5e78aed18dce868f8017dfa9529477a0ceeb (diff)
downloadspack-a0b19d50c50a5be307f1947ae7ad64bb7729767b.tar.gz
spack-a0b19d50c50a5be307f1947ae7ad64bb7729767b.tar.bz2
spack-a0b19d50c50a5be307f1947ae7ad64bb7729767b.tar.xz
spack-a0b19d50c50a5be307f1947ae7ad64bb7729767b.zip
Disable parallel builds for vim (#3893)
* Disable parallel builds The install step creates a bunch of links to the vim binary, e.g. `view`. When run with -j greater than 1 there are silent failures. Running w/out parallelism seems to fix it. * Only constrain the install phase to be -j 1 Thanks @adamjstewart!
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vim/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vim/package.py b/var/spack/repos/builtin/packages/vim/package.py
index 05d9d14639..5a854c144c 100644
--- a/var/spack/repos/builtin/packages/vim/package.py
+++ b/var/spack/repos/builtin/packages/vim/package.py
@@ -129,3 +129,9 @@ class Vim(AutotoolsPackage):
configure_args.append("--enable-cscope")
return configure_args
+
+ # Run the install phase with -j 1. There seems to be a problem with
+ # parallel builds that results in the creation of the links (e.g. view)
+ # to the vim binary silently failing.
+ def install(self, spec, prefix):
+ make('install', parallel=False)