-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from math-comp/ci
Fix CI by reverting to coq_makefile
- Loading branch information
Showing
6 changed files
with
28 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
# -*- Makefile -*- | ||
# KNOWNTARGETS will not be passed along to CoqMakefile | ||
KNOWNTARGETS := Makefile.coq | ||
# KNOWNFILES will not get implicit targets from the final rule, and so | ||
# depending on them won't invoke the submake | ||
# Warning: These files get declared as PHONY, so any targets depending | ||
# on them always get rebuilt | ||
KNOWNFILES := Makefile _CoqProject | ||
|
||
# -------------------------------------------------------------------- | ||
DUNEOPTS ?= | ||
DUNE := dune $(DUNEOPTS) | ||
.DEFAULT_GOAL := invoke-coqmakefile | ||
|
||
# -------------------------------------------------------------------- | ||
.PHONY: default build clean | ||
Makefile.coq: Makefile _CoqProject | ||
$(COQBIN)coq_makefile -f _CoqProject -o Makefile.coq | ||
|
||
default: build | ||
invoke-coqmakefile: Makefile.coq | ||
$(MAKE) --no-print-directory -f Makefile.coq $(filter-out $(KNOWNTARGETS),$(MAKECMDGOALS)) | ||
|
||
build: | ||
$(DUNE) build | ||
.PHONY: invoke-coqmakefile $(KNOWNFILES) | ||
|
||
install: | ||
$(DUNE) install | ||
#################################################################### | ||
## Your targets here ## | ||
#################################################################### | ||
|
||
clean: | ||
$(DUNE) clean | ||
# This should be the last rule, to handle any targets not declared above | ||
%: invoke-coqmakefile | ||
@true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
src/freeg.v | ||
src/monalg.v | ||
src/mpoly.v | ||
src/ssrcomplements.v | ||
src/xfinmap.v | ||
|
||
-R src mathcomp.multinomials | ||
-arg -w -arg -ambiguous-paths | ||
-arg -w -arg -notation-overridden | ||
-arg -w -arg -redundant-canonical-projection | ||
-arg -w -arg -projection-no-head-constant | ||
|
||
-R _build/default/src mathcomp.multinomials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.