forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I have no clue how to get it to work with dune so I call make directly. We make test suite get BIN from configure. (COQLIB was already found that way) We also use this in CI test-suite-template instead of passing them through the command line. Close coq#17923 Might be worth adding `--with-test` in the CI `pkg:opam` script?
- Loading branch information
1 parent
3a2d005
commit 6575966
Showing
5 changed files
with
34 additions
and
11 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
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,22 @@ | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ "./configure" | ||
"-prefix" prefix | ||
"-mandir" man | ||
"-libdir" "%{lib}%/coq" | ||
"-native-compiler" "yes" {coq-native:installed} "no" {!coq-native:installed} | ||
] {with-test} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"--promote-install-files=false" | ||
"@install" | ||
"@doc" {with-doc} | ||
] | ||
[ make "-C" "test-suite" "-j" jobs "COQ_INSTALLED=1" "PRINT_LOGS=1" ] {with-test} | ||
["dune" "install" "-p" name "--create-install-files" name] | ||
] |
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