diff options
| author | Vincent Laporte | 2019-02-25 07:47:40 +0000 |
|---|---|---|
| committer | Vincent Laporte | 2019-02-26 14:47:33 +0000 |
| commit | 3219cf3d4f308153a6ed0d48faee0eb056ccf0de (patch) | |
| tree | c3e8310910389abb0343a47c5a288990d9704099 | |
| parent | 9d6f268723b6352a97bcc3baf0df57f1c1b251fa (diff) | |
[default.nix] Enable parallel build
| -rw-r--r-- | .gitlab-ci.yml | 1 | ||||
| -rw-r--r-- | default.nix | 2 | ||||
| -rw-r--r-- | dev/ci/nix/coq.nix | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 668f0f50f4..b6b1b5341b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -301,6 +301,7 @@ pkg:opam: dependencies: [] # We don't need to download build artifacts before_script: [] # We don't want to use the shared 'before_script' script: + - cat /proc/{cpu,mem}info || true # Use current worktree as tmpdir to allow exporting artifacts in case of failure - export TMPDIR=$PWD # We build an expression rather than a direct URL to not be dependent on diff --git a/default.nix b/default.nix index b65d736d79..d6cdc7c42d 100644 --- a/default.nix +++ b/default.nix @@ -84,6 +84,8 @@ stdenv.mkDerivation rec { prefixKey = "-prefix "; + enableParallelBuilding = true; + buildFlags = [ "world" "byte" ] ++ optional buildDoc "doc-html"; installTargets = diff --git a/dev/ci/nix/coq.nix b/dev/ci/nix/coq.nix index ecd280e58d..b610790f61 100644 --- a/dev/ci/nix/coq.nix +++ b/dev/ci/nix/coq.nix @@ -5,5 +5,4 @@ let coq = callPackage wd { buildDoc = false; doInstallCheck = false; coq-version coq.overrideAttrs (o: { name = "coq-local-${branch}"; src = fetchGit "${wd}"; - enableParallelBuilding = true; }) |
