From 21e6f7616dc697c3e6924c28b783b874c02d92cc Mon Sep 17 00:00:00 2001 From: LE BRETON Come Date: Thu, 14 Mar 2024 10:18:03 +0100 Subject: [PATCH 1/2] Fix ocaml-gmp linking to gmp system --- packages/gmp/gmp.6.2.1-5/opam | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/gmp/gmp.6.2.1-5/opam b/packages/gmp/gmp.6.2.1-5/opam index 63a0818c67d..a33b37e8a35 100644 --- a/packages/gmp/gmp.6.2.1-5/opam +++ b/packages/gmp/gmp.6.2.1-5/opam @@ -7,9 +7,15 @@ bug-reports: "https://github.com/mirage/ocaml-gmp/issues" dev-repo: "git+https://github.com/mirage/ocaml-gmp.git" substs: [ "src/build.sh" ] build: [ + [ + "sed" + "-ib" + "-e" + "s/.\\/configure/.\\/configure --libdir \\${HOMEBREW\\_PREFIX}\\/opt\\/gmp\\/lib/g" + "src/build.sh"] [ "dune" "build" "-p" name "-j" jobs ] [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} -] +] {os = "macos" & os-distribution = "homebrew"} depends: [ "ocaml" {>= "4.02.0"} "dune" {>= "2.6"} From a7d6e30bae85f1ce491a61b68b08f1e450f7daf0 Mon Sep 17 00:00:00 2001 From: LE BRETON Come Date: Mon, 18 Nov 2024 14:34:28 +0100 Subject: [PATCH 2/2] Accept failure on oracle and alpine. --- packages/gmp/gmp.6.2.1-5/opam | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/gmp/gmp.6.2.1-5/opam b/packages/gmp/gmp.6.2.1-5/opam index a33b37e8a35..064fcf4cc07 100644 --- a/packages/gmp/gmp.6.2.1-5/opam +++ b/packages/gmp/gmp.6.2.1-5/opam @@ -39,3 +39,6 @@ url { ] } x-commit-hash: "e15e2024d31973f39d0552b1b306db682e3ddaab" +x-ci-accept-failures: [ + "oraclelinux-8" "oraclelinux-9" "alpine-3.19" +]