diff options
author | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2017-12-19 15:54:34 +0100 |
---|---|---|
committer | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2017-12-21 00:07:34 +0100 |
commit | cf04e49c5426da3ea684f8e545652803106af0c2 (patch) | |
tree | 394baab9d1aff785f2eef7b75f9297a07c286a7c /Makefile.ci | |
parent | f431dac2e219cb2a76b22e452d6e407869d89f42 (diff) |
Fix CI with parallel make (messed up dependencies)
When invoking through Makefile we always rebuild dependencies. To skip
dependencies, invoke ci-wrapper directly. We make Circle CI do this.
In order to properly support invoking ci-wrapper directly we replace
"make" in ci-common by a bash function which adds -j to the make
invocation outside submakes. We also set TIMED in the ci-wrapper.
Diffstat (limited to 'Makefile.ci')
-rw-r--r-- | Makefile.ci | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.ci b/Makefile.ci index 2a6222e22..334827a93 100644 --- a/Makefile.ci +++ b/Makefile.ci @@ -25,9 +25,6 @@ CI_TARGETS=ci-all \ .PHONY: $(CI_TARGETS) -_build_ci/.ci-%.done: - +./dev/ci/ci-wrapper.sh $* - ci-color: ci-bignums ci-math-classes: ci-bignums @@ -37,7 +34,8 @@ ci-corn: ci-math-classes ci-formal-topology: ci-corn # Generic rule, we use make to ease travis integration with mixed rules -$(CI_TARGETS): ci-%: _build_ci/.ci-%.done +$(CI_TARGETS): ci-%: + +./dev/ci/ci-wrapper.sh $* # For emacs: # Local Variables: |