Skip to content

Commit 598efb4

Browse files
authored
Merge pull request ocaml#27716 from avsm/fix-mpopcnt
fix Base compilation on macOS 10.4 on arm64
2 parents 93853e3 + 0d776ec commit 598efb4

File tree

1 file changed

+8
-0
lines changed
  • packages/base/base.v0.17.1

1 file changed

+8
-0
lines changed

packages/base/base.v0.17.1/opam

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,11 @@ url {
3939
"sha512=ed5eb5e83d8085fc06f111862d609b393e394bbdcc6e25bab50030a250ffa2e540dbee02169b6f28ec220f10f61d189cd7b5646eece910c63620f5174fb5a655"
4040
]
4141
}
42+
patches: ["fix-mpopcnt.patch" { arch="arm64" & os="macos"} ]
43+
extra-source "fix-mpopcnt.patch" {
44+
src:
45+
"https://patch-diff.githubusercontent.com/raw/janestreet/base/pull/180.diff"
46+
checksum: [
47+
"sha256=78fecf4719e82aec5fc17a1140df18b07c1a640d3336c39dcd5cd85206bcede3"
48+
]
49+
}

0 commit comments

Comments
 (0)