-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #12411: Add support for CoqMakefile.local-late
Reviewed-by: gares Reviewed-by: jfehrle Co-authored-by: gares <gares@users.noreply.github.com>
- Loading branch information
Showing
7 changed files
with
91 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- **Added:** | ||
``coq_makefile``\-made ``Makefile``\s now support inclusion of a | ||
``.local-late`` file at the end, allowing the user to access | ||
more variables (`#12411 <https://github.com/coq/coq/pull/12411>`_, fixes | ||
`#10912 <https://github.com/coq/coq/issues/10912>`_, by Jason Gross). |
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
4 changes: 4 additions & 0 deletions
4
test-suite/coq-makefile/local-late-extension/Makefile.local-late
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MYVOFILES := $(VOFILES) | ||
|
||
printvo:: | ||
@echo '$(MYVOFILES)' |
1 change: 1 addition & 0 deletions
1
test-suite/coq-makefile/local-late-extension/make-printvo.log.expected
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
foo.vo |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
. ../template/path-init.sh | ||
|
||
set -x | ||
coq_makefile -Q . Top foo.v -o Makefile | ||
rm -f .*.d *.d | ||
make --no-print-directory -j1 printvo 2>&1 \ | ||
| grep -v 'make[^:]*: warning: -jN forced in submake: disabling jobserver mode.' \ | ||
| grep -v 'coq_makefile -Q . Top foo.v -o Makefile' \ | ||
| grep -v 'make[^:]*: Entering directory' \ | ||
| grep -v 'make[^:]*: Leaving directory' \ | ||
| grep -v 'exit 1' \ | ||
> make-printvo.log | ||
diff -u make-printvo.log.expected make-printvo.log || exit $? |
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