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.
[build] Set dune root explicitly / use --release
This should fix coq#14915 , the problem arises with layouts of the form: ``` foo/dune-project foo/_opam/bar/dune-project ``` so when inside `foo/_opam/bar`, dune will switch to `foo` as the project root, for example for `dune build` or `dune exec` , however, as `_opam` is an ignored dir by default in the `foo` context, the command will fail. So indeed, it turns out `--profile release` is not enough, but `--release` must be used when configured for install. Thanks a lot to Kate for the help!
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 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 |
---|---|---|
|
@@ -11,4 +11,4 @@ then | |
exit 1 | ||
fi | ||
|
||
dune exec -- $configure "$@" | ||
dune exec --root . -- $configure "$@" |
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