Skip to content

Commit 59f212b

Browse files
committed
Use opatch instead of git apply to patch compiler sources
1 parent 07664b9 commit 59f212b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ ocaml:
257257
cp -r "$$(ocamlfind query ocaml-src)" $@
258258
VERSION="$$(head -n1 ocaml/VERSION)" ; \
259259
if test -d "patches/$$VERSION" ; then \
260-
git --work-tree=. apply -v --directory=$@ "patches/$$VERSION"/*; \
260+
opatch -v -C $@ "patches/$$VERSION"/*; \
261261
fi
262262

263263
# We add $(BLDBIN) inconditionnally, even when using the installed toolchain: as

gen_opams.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ depends: [
358358
"ocaml-unikraft-toolchain-%s"
359359
"ocamlfind"
360360
"ocaml-src" {build}
361-
"conf-git" {build}
361+
"opatch" {build}
362362
]
363363
build: [
364364
[

ocaml-unikraft-arm64.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ depends: [
1717
"ocaml-unikraft-toolchain-arm64"
1818
"ocamlfind"
1919
"ocaml-src" {build}
20-
"conf-git" {build}
20+
"opatch" {build}
2121
]
2222
build: [
2323
[

ocaml-unikraft-x86_64.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ depends: [
1717
"ocaml-unikraft-toolchain-x86_64"
1818
"ocamlfind"
1919
"ocaml-src" {build}
20-
"conf-git" {build}
20+
"opatch" {build}
2121
]
2222
build: [
2323
[

0 commit comments

Comments
 (0)