diff options
author | Jason Gross <jgross@mit.edu> | 2017-12-13 00:09:35 -0500 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-12-13 00:09:35 -0500 |
commit | 63e6c5afea64714e94973520f0dc0fd9fbaab209 (patch) | |
tree | fa8fe9e039c33d83b166d8db05b233285ed840ea | |
parent | 6c9551617ea59f6a75e92505fdf197ca70c4d43f (diff) |
Apparently ln -s is too slow on travis, so we fake it when we're not building things
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Makefile | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 40e7c4573..45b1a138d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ matrix: - env: COQ_VERSION="v8.7" TARGETS="no-curves-proofs-non-specific" COQ_PACKAGE="coq" PPA="ppa:jgross-h/coq-8.7-daily" - env: COQ_VERSION="v8.7" TARGETS="curves-proofs" COQ_PACKAGE="coq" PPA="ppa:jgross-h/coq-8.7-daily" - env: COQ_VERSION="v8.7" TARGETS="selected-specific selected-specific-display" COQ_PACKAGE="coq" PPA="ppa:jgross-h/coq-8.7-daily" - - env: COQ_VERSION="8.7.0" TARGETS="no-curves-proofs-non-specific fast-autogenerated-deps" COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions" + - env: COQ_VERSION="8.7.0" TARGETS="no-curves-proofs-non-specific fake-autogenerated-deps" COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions" - env: COQ_VERSION="8.7.0" TARGETS="curves-proofs" COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions" - env: COQ_VERSION="8.7.0" TARGETS="selected-specific selected-specific-display" COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions" - env: TARGETS="selected-test selected-bench" COQ_VERSION="8.7.0" COQ_PACKAGE="coq-8.7.0" PPA="ppa:jgross-h/many-coq-versions" @@ -158,11 +158,22 @@ fast-autogenerated-deps: src/Specific/.autgenerated-deps $(SHOW)'CP .v.d' $(HIDE)for i in $(REAL_SPECIFIC_GENERATED_VOFILES:.vo=.v.d); do rm -f $$i; ln -s "$(shell cd src/Specific && pwd)/.autgenerated-deps" $$i; done +.PHONY: fake-autogenerated-deps +fake-autogenerated-deps: + $(SHOW)'FAKE COQDEP SPECIFIC.v.d' + $(HIDE)touch $(REAL_SPECIFIC_GENERATED_VOFILES:.vo=.v.d) + ifneq ($(filter fast-autogenerated-deps,$(MAKECMDGOALS)),) $(REAL_SPECIFIC_GENERATED_VOFILES:.vo=.v.d): fast-autogenerated-deps @ true endif +ifneq ($(filter fake-autogenerated-deps,$(MAKECMDGOALS)),) +$(REAL_SPECIFIC_GENERATED_VOFILES:.vo=.v.d): fake-autogenerated-deps + @ true +endif + + printlite:: @echo 'Files Made:' @for i in $(sort $(LITE_VOFILES)); do echo $$i; done |