Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Heuzard committed Jun 18, 2024
1 parent e8b221a commit ad571cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/conf-gmp/conf-gmp.4/opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ build: [
"-exc"
"cc -c $CFLAGS -I/opt/homebrew/include -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
[
"sh"
"-exc"
"$(ocamlc -config-var c_compiler) -c $CFLAGS test.c"
] {os = "win32" & os-distribution = "cygwin" & (host-arch-x86_64:installed | host-arch-x86_32:installed)}
]
depends: [
"conf-pkg-config" {build}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["pkgconf" "--personality=i686-w64-mingw32" {os-distribution = "cygwin"} "libgmp"]
build: ["pkgconf" "--personality=i686-w64-mingw32" {os-distribution = "cygwin"} "gmp"]
depends: [
"msys2" {build & os = "win32" & os-distribution = "msys2"}
"msys2-mingw32" {os = "win32" & os-distribution = "msys2"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["pkgconf" "--personality=x86_64-w64-mingw32" {os-distribution = "cygwin"} "libgmp"]
build: ["pkgconf" "--personality=x86_64-w64-mingw32" {os-distribution = "cygwin"} "gmp"]
depends: [
"msys2" {build & os = "win32" & os-distribution = "msys2"}
"msys2-mingw32" {os = "win32" & os-distribution = "msys2"}
Expand Down

0 comments on commit ad571cd

Please sign in to comment.