Skip to content

Commit

Permalink
[Opam] Run configure step even with > 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bobot committed Jan 14, 2022
1 parent 1052078 commit 025978d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dune.opam
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ conflicts: [
dev-repo: "git+https://github.com/ocaml/dune.git"
build: [
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"}
["ocaml" "configure.ml" "--libdir" lib]
["ocaml" "bootstrap.ml" "-j" jobs]
["./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" jobs]
]
Expand Down
2 changes: 1 addition & 1 deletion dune.opam.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build: [
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"}
["ocaml" "configure.ml" "--libdir" lib]
["ocaml" "bootstrap.ml" "-j" jobs]
["./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" jobs]
]
Expand Down

0 comments on commit 025978d

Please sign in to comment.