summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-05-05 23:40:39 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-05-05 23:40:39 +0000
commit3b7c736127c88c784bbb145f0cc1cb3e61321495 (patch)
tree47dac29fdc91bc0f90d915055b09f86bcf7435b1 /dev-ml
parent95d24580bfec4b0b8d7b1cd07bcef4af3122de50 (diff)
downloadbaldeagleos-repo-3b7c736127c88c784bbb145f0cc1cb3e61321495.tar.gz
baldeagleos-repo-3b7c736127c88c784bbb145f0cc1cb3e61321495.tar.xz
baldeagleos-repo-3b7c736127c88c784bbb145f0cc1cb3e61321495.zip
Adding metadata
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml_intrinsics/Manifest2
-rw-r--r--dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.2.ebuild29
-rw-r--r--dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.16.0.ebuild17
-rw-r--r--dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.17.0.ebuild26
4 files changed, 14 insertions, 60 deletions
diff --git a/dev-ml/ocaml_intrinsics/Manifest b/dev-ml/ocaml_intrinsics/Manifest
index 0ed0e63a9ae5..ee8c3650544e 100644
--- a/dev-ml/ocaml_intrinsics/Manifest
+++ b/dev-ml/ocaml_intrinsics/Manifest
@@ -1,3 +1 @@
-DIST ocaml_intrinsics-0.15.2.tar.gz 24977 BLAKE2B eea2af5ff746cfd7b483df47a8f719c623eecc8bf82d852ed69395752e98ebb94a555ef2dd95271d45941a5582f7ff139f8e79d5dd8adf5389786aff756df7fe SHA512 21539fecd8b40420bdb45a3fe79f65cf4ff0deb103c3cb2b28bad24fddce159bdfab3f7aa6ade0028bebef1602f860b1f6cdf2cc06db1a89e232b221d8ff592b
DIST ocaml_intrinsics-0.16.0.tar.gz 35876 BLAKE2B fc9ead65244efe96ea130426265acb2cccc08105e53383ddfd7117bca461e28095f213f22dddafc1e3f6490ad2b4f0d4e9129a8dcf8dc207269ca83eb889acee SHA512 86bf6ac7cb1da5de03224cc053e174ec22af766b6c5ab4ca1fde3c028405858cb97feeae6968d9054a7d6994491b9f2cdb8e198ee837ad4242f9cd812873ceaa
-DIST ocaml_intrinsics-0.17.0.tar.gz 32720 BLAKE2B db536481d58851dbb96a1dc9070cc680fd558279c88ddce0176d168660be6dc8ee1bb7b67f877132163077c96773dad4b4c36c25db664511e833e0d5563ef4f9 SHA512 c5846c2ff163ad7d4dd3b22caa78dc5bb6e83ae4abc497a1ed10bb08b13f6b0f16e8447d47e947531ecafb27cdd65589b338f214b8dce44f5f8f47a1f0616ba2
diff --git a/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.2.ebuild b/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.2.ebuild
deleted file mode 100644
index a2995af56905..000000000000
--- a/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.2.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Invoke amd64 instructions (such as clz, popcnt, rdtsc, rdpmc)"
-HOMEPAGE="https://github.com/janestreet/ocaml_intrinsics/"
-SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-DEPEND="
- dev-ml/dune-configurator:=
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- if use riscv || use ppc; then
- sed -i -e 's: crc_stubs::' src/dune || die
- fi
- default
-}
diff --git a/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.16.0.ebuild b/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.16.0.ebuild
index 389808a01991..84133bbf2c78 100644
--- a/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.16.0.ebuild
+++ b/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.16.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86"
-IUSE="+ocamlopt"
+IUSE="+ocamlopt cpu_flags_x86_sse4_2"
RESTRICT="test"
DEPEND="
@@ -23,8 +23,19 @@ DEPEND="
RDEPEND="${DEPEND}"
src_prepare() {
- if use riscv || use ppc; then
+ local supported_arch=false
+
+ if use amd64 || use x86; then
+ # On x86/amd64, we MUST have sse4_2 support for these stubs
+ use cpu_flags_x86_sse4_2 && supported_arch=true
+ elif use arm || use arm64; then
+ supported_arch=true
+ fi
+
+ # If not a supported configuration, strip the stubs from the build
+ if ! ${supported_arch}; then
sed -i -e 's: crc_stubs::' src/dune || die
fi
+
default
}
diff --git a/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.17.0.ebuild b/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.17.0.ebuild
deleted file mode 100644
index ec2ccd00e1fb..000000000000
--- a/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.17.0.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Invoke amd64 instructions (such as clz, popcnt, rdtsc, rdpmc)"
-HOMEPAGE="https://github.com/janestreet/ocaml_intrinsics/"
-SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
-IUSE="+ocamlopt"
-
-DEPEND="
- dev-ml/dune-configurator:=[ocamlopt?]
- dev-ml/ocaml_intrinsics_kernel:${SLOT}[ocamlopt?]
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- >=dev-lang/ocaml-5
- >=dev-ml/dune-3.11
-"