From 518b45bffd19d0b75715f338985f96c459f9d129 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 4 Sep 2024 12:28:34 +0100 Subject: gentoo auto-resync : 04:09:2024 - 12:28:34 --- dev-ml/Manifest.gz | Bin 40162 -> 40156 bytes dev-ml/dune-private-libs/Manifest | 8 -- .../dune-private-libs-2.8.4.ebuild | 119 --------------------- .../dune-private-libs-3.11.1-r3.ebuild | 40 ------- .../dune-private-libs-3.6.2.ebuild | 36 ------- .../dune-private-libs-3.7.1.ebuild | 36 ------- dev-ml/llvm-ocaml/Manifest | 3 + dev-ml/llvm-ocaml/llvm-ocaml-19.1.0_rc4.ebuild | 107 ++++++++++++++++++ 8 files changed, 110 insertions(+), 239 deletions(-) delete mode 100644 dev-ml/dune-private-libs/dune-private-libs-2.8.4.ebuild delete mode 100644 dev-ml/dune-private-libs/dune-private-libs-3.11.1-r3.ebuild delete mode 100644 dev-ml/dune-private-libs/dune-private-libs-3.6.2.ebuild delete mode 100644 dev-ml/dune-private-libs/dune-private-libs-3.7.1.ebuild create mode 100644 dev-ml/llvm-ocaml/llvm-ocaml-19.1.0_rc4.ebuild (limited to 'dev-ml') diff --git a/dev-ml/Manifest.gz b/dev-ml/Manifest.gz index c2602b2b3a5f..2ab57666ddab 100644 Binary files a/dev-ml/Manifest.gz and b/dev-ml/Manifest.gz differ diff --git a/dev-ml/dune-private-libs/Manifest b/dev-ml/dune-private-libs/Manifest index f82e3bd44b21..7360fdaea3b9 100644 --- a/dev-ml/dune-private-libs/Manifest +++ b/dev-ml/dune-private-libs/Manifest @@ -1,20 +1,12 @@ AUX dune-private-libs-2.9.3-test.patch 951 BLAKE2B 92a7e9838cdc0e57219956fe8d9f3fe5c8d617ff2ddccd1b331a6c7823216fb910e30ba5fc9e50790eb437f6fdd6af176dd27ad3743a00fecf0c384c9e0537b6 SHA512 bc2a204345e30bd5a40c4a41bdb40243dc6f30cf172443735115979640d1d68571d232a4fa530e981416f03df6a0abcb600cc6e531a33c4c3892cff731fd85c2 -DIST dune-2.8.4.tar.gz 1372925 BLAKE2B 5b6d6738a0dc701d852e6cc59a1998f64c006d233f43a804b0b9b677a6eadda25aa20f52799c90910d361e4bc565636a50d218ad5d0a9927239adc5be36b3889 SHA512 13b36eb6a943f9513987a23dab467b2e449cc3a4de35227f8323c3c724b27f19daac500602141ab22a04579243333c8484ce27a7f73e46a72e796d30fb1c3253 DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d SHA512 4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152 SHA512 df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230 SHA512 2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de -DIST dune-3.11.1.tar.gz 2753844 BLAKE2B de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644 SHA512 8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4 DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57 SHA512 910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e SHA512 3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23 -DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e SHA512 636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be -DIST dune-3.7.1.tar.gz 2011275 BLAKE2B dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929 SHA512 d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b -EBUILD dune-private-libs-2.8.4.ebuild 4114 BLAKE2B fade94617c408e800bcc4abbf6adf312307d620172a8dfd39215add9b487c559f83829d442d9da4763e6f33e68011518751ff6fa7222b410953e42aa5377d94a SHA512 76da3dd2a3c2d6fb9ca5f3433cf0315c9cd7664f5f0cb57daffaabf87b2f12eca779fa5feddf5483c59aa90b091c3715a1e49e3b61eb1e03297ccec655d0c0ca EBUILD dune-private-libs-2.9.1.ebuild 4114 BLAKE2B fade94617c408e800bcc4abbf6adf312307d620172a8dfd39215add9b487c559f83829d442d9da4763e6f33e68011518751ff6fa7222b410953e42aa5377d94a SHA512 76da3dd2a3c2d6fb9ca5f3433cf0315c9cd7664f5f0cb57daffaabf87b2f12eca779fa5feddf5483c59aa90b091c3715a1e49e3b61eb1e03297ccec655d0c0ca EBUILD dune-private-libs-2.9.3.ebuild 4426 BLAKE2B c890e269face1e352e76f48307a3b411b46e67cd2bb81038094d714b01c8e45e4783688fb499ecb2db10039082f69e6389c3be01391de206a486f51d746b1009 SHA512 5c1c99d797c4e48ff059051597ee1912fcc296d5c5934cdf801f976da9d34ccc3023d14c8606be44e554ee44fdd47197384ddff6075ebb05b73c9341f5ae7521 EBUILD dune-private-libs-3.10.0.ebuild 779 BLAKE2B d669557820340535398468741759b085f3caf4a597aa24f7b85cc0a07e910ec69f8dd7a205a938f45398ac6fc224be08337f1f34d7370ca9f8a817ebff2b22a5 SHA512 33e7a5f45b7e95579883efb5656ccf38b778e13484eb7b0bb2b04a41e8bcc0346eb3b18da1dff4dba7221f38bbe2b6ef5d88261a92a4126a1b1ecff09583a5aa -EBUILD dune-private-libs-3.11.1-r3.ebuild 718 BLAKE2B cc627fc71ef43bdf60b738e3947b768c50feb661e6e9e4c649816d47d2d08b47d222a72b8bca2c5c176e692dfae1cc8e2af2d980e40f80638819861ed330ea5c SHA512 9201a27cbf4fa3a3e03ac98ac8b7e313be698fc3ba2b944393bd932a12f3e5cf324edb95ce1c097b2796b38fd71dfb024f395334d20f5e1b6caa6ab9de4e0164 EBUILD dune-private-libs-3.13.1-r3.ebuild 718 BLAKE2B cc627fc71ef43bdf60b738e3947b768c50feb661e6e9e4c649816d47d2d08b47d222a72b8bca2c5c176e692dfae1cc8e2af2d980e40f80638819861ed330ea5c SHA512 9201a27cbf4fa3a3e03ac98ac8b7e313be698fc3ba2b944393bd932a12f3e5cf324edb95ce1c097b2796b38fd71dfb024f395334d20f5e1b6caa6ab9de4e0164 EBUILD dune-private-libs-3.16.0-r3.ebuild 714 BLAKE2B 89c6df39062e643f3940efeefc6f687c2127fa4ff647727c83be7ef1dd4476d4758d46661a1fa63319c26bb4df3fee50039242f103784cbbd4cc88bd0d70ecf9 SHA512 d3e28eb9ec176ca2c172d64c7fffd80f6d203d002ee595897b316eab93f829563fab9dff5c3230e71e2a054143c0a86532dd184912e7b88e7a0c8f1b6ad3414c -EBUILD dune-private-libs-3.6.2.ebuild 779 BLAKE2B 35d2f09aa31e0049b39a1045590603b13ede0eca4fb51999cea97b3f439d9c14a3db12de4483bd391f060e9f502d9f7b786e453cf04bb1b6c5dfd86d32584b54 SHA512 ee8f8da94ceb3fe5bb0d4ccc8119d9f73079f27827556dc5c1caf82545bb92771733d32217f74d6e982f969c8b87635181f1a672b34f93a397d36aa0ef472427 -EBUILD dune-private-libs-3.7.1.ebuild 783 BLAKE2B 0e5c4ad9466bffc02f904bbad79cc6ff4c5b2ada28ab60840a756d3c3daa23eb6ca42398cd27a00355d11f13c1490324f54fb078f4a3b93b43658bee62fd4462 SHA512 9b6095ac9ee29f000beb9108eed8a992e8832dc71b4c1ce5b5dc0c9d1358936728cacea8929e0f6fe691c9908eab57cd72057a8e77d74cd53733e58e79a3a5fa MISC metadata.xml 308 BLAKE2B 555692890c7fe4dee18d07e140384b70278e2a4a0230916a01ab9e5306776e0ed0d979e9a3487423fa1779a166da3038dca13273811e36593bb2b821b60cdfe0 SHA512 e50e28cb6f41fda295f12af1b94aba12dda8a7091322c0e7093d19ee60615d449bc1806354043e572d70aff1284e16b644b188911adbca60a2a5c8299fcee748 diff --git a/dev-ml/dune-private-libs/dune-private-libs-2.8.4.ebuild b/dev-ml/dune-private-libs/dune-private-libs-2.8.4.ebuild deleted file mode 100644 index 17169982c7f9..000000000000 --- a/dev-ml/dune-private-libs/dune-private-libs-2.8.4.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit dune - -DESCRIPTION="A composable build system for OCaml" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86" -IUSE="+ocamlopt test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ~dev-ml/dune-${PV} - test? ( - dev-ml/core_bench - dev-ml/menhir - dev-ml/opam - dev-ml/ppx_expect - ) -" -DEPEND=" - dev-ml/csexp:=[ocamlopt?] - dev-ml/findlib:=[ocamlopt?] - >=dev-lang/ocaml-4.09:= -" -RDEPEND="${DEPEND}" - -# TODO for test deps: -# Add cram? -# Add dev-ml/js_of_ocaml once dev-ml/ocaml-base64 is ported to Dune -# Add coq? - -src_prepare() { - default - - # Keep this list in sync with dev-ml/dune-configurator - local bad_tests=( - # List of tests calling git, mercurial, etc - test/blackbox-tests/test-cases/dune-project-meta/main.t - test/blackbox-tests/test-cases/meta-template-version-bug.t - test/blackbox-tests/test-cases/subst/project-name-restriction.t - test/blackbox-tests/test-cases/subst/with-opam-file.t - test/blackbox-tests/test-cases/subst.t - test/blackbox-tests/test-cases/subst/unicode.t - test/blackbox-tests/test-cases/subst/from-project-file.t - test/blackbox-tests/test-cases/trace-file.t - otherlibs/build-info/test/run.t - test/expect-tests/vcs_tests.ml - - # Strange failures, seemingly from newer versions of deps - test/blackbox-tests/test-cases/merlin/allow_approximate_merlin_warn.t - test/blackbox-tests/test-cases/merlin/merlin-tests.t - test/blackbox-tests/test-cases/merlin/github4125.t - test/blackbox-tests/test-cases/install-dry-run.t - test/blackbox-tests/test-cases/c-flags.t - test/blackbox-tests/test-cases/install-libdir.t - test/blackbox-tests/test-cases/dune-cache/trim.t - - # Strange failures about opam not being initialised - test/blackbox-tests/test-cases/merlin/merlin-from-subdir.t - test/blackbox-tests/test-cases/merlin/symlinks.t - test/blackbox-tests/test-cases/merlin/src-dirs-of-deps.t - test/blackbox-tests/test-cases/merlin/per-module-pp.t - test/blackbox-tests/test-cases/merlin/server.t - test/blackbox-tests/test-cases/github1946.t - test/blackbox-tests/test-cases/github759.t - - # Wants nodejs! - test/blackbox-tests/test-cases/jsoo/simple.t - test/blackbox-tests/test-cases/jsoo/inline-tests.t - test/blackbox-tests/test-cases/jsoo/github3622.t - # Wants js_of_ocaml (can't include yet b/c of ocaml-base64 porting) - test/blackbox-tests/test-cases/jsoo/explicit-js-mode-specified.t - - # Wants coq which doesn't build for me right now - test/blackbox-tests/test-cases/coq/rec-module.t - test/blackbox-tests/test-cases/coq/compose-sub-theory.t - test/blackbox-tests/test-cases/coq/native-compose.t - test/blackbox-tests/test-cases/coq/base-unsound.t - test/blackbox-tests/test-cases/coq/base.t - test/blackbox-tests/test-cases/coq/native-single.t - test/blackbox-tests/test-cases/coq/compose-simple.t - test/blackbox-tests/test-cases/coq/ml-lib.t - test/blackbox-tests/test-cases/coq/extract.t - test/blackbox-tests/test-cases/coq/compose-plugin.t - - # Unpackaged dependencies (a rabbit hole for now) - # utop -> lambda-term, zed - test/blackbox-tests/test-cases/utop/github3188.t - test/blackbox-tests/test-cases/utop/utop-simple.t - test/blackbox-tests/test-cases/utop/utop-default.t - test/blackbox-tests/test-cases/utop/utop-default-implementation.t - test/blackbox-tests/test-cases/utop/utop-ppx-rewriters.t - # ocamlformat - test/blackbox-tests/test-cases/formatting.t - # mdx - test/blackbox-tests/test-cases/mdx-stanza.t - # odoc - test/blackbox-tests/test-cases/odoc/odoc-simple.t - test/blackbox-tests/test-cases/odoc/odoc-package-mld-link.t - test/blackbox-tests/test-cases/odoc/multiple-private-libs.t - test/blackbox-tests/test-cases/odoc/odoc-unique-mlds.t - test/blackbox-tests/test-cases/odoc/github717-odoc-index.t - test/blackbox-tests/test-cases/odoc/warnings.t - ) - - rm -r ${bad_tests[@]} || die "Failed to remove broken/inappropriate tests" -} - -src_configure() { - : -} diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r3.ebuild b/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r3.ebuild deleted file mode 100644 index b8de85c41fbe..000000000000 --- a/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune - -DESCRIPTION="Private libraries of Dune" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=" - dev-ml/csexp:=[ocamlopt?] -" -RDEPEND="${DEPEND} - !dev-ml/stdune - !dev-ml/dyn - !dev-ml/ordering -" - -src_configure() { - : -} - -src_compile() { - dune-compile ordering dyn stdune ${PN} -} - -src_install() { - dune-install ordering dyn stdune ${PN} -} diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.6.2.ebuild b/dev-ml/dune-private-libs/dune-private-libs-3.6.2.ebuild deleted file mode 100644 index 771cab1c65a7..000000000000 --- a/dev-ml/dune-private-libs/dune-private-libs-3.6.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Private libraries of Dune" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=" - >=dev-ml/csexp-1.5:=[ocamlopt?] - dev-ml/pp:=[ocamlopt?] - ~dev-ml/dyn-${PV}:=[ocamlopt?] - ~dev-ml/stdune-${PV}:=[ocamlopt?] - >=dev-lang/ocaml-4.08 -" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.7.1.ebuild b/dev-ml/dune-private-libs/dune-private-libs-3.7.1.ebuild deleted file mode 100644 index d78578db0848..000000000000 --- a/dev-ml/dune-private-libs/dune-private-libs-3.7.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Private libraries of Dune" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=" - >=dev-ml/csexp-1.5:=[ocamlopt?] - dev-ml/pp:=[ocamlopt?] - ~dev-ml/dyn-${PV}:=[ocamlopt?] - ~dev-ml/stdune-${PV}:=[ocamlopt?] - >=dev-lang/ocaml-4.08 -" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest index 7b719a7447fa..4e20f44a8471 100644 --- a/dev-ml/llvm-ocaml/Manifest +++ b/dev-ml/llvm-ocaml/Manifest @@ -8,6 +8,8 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b SHA512 3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a799996dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf SHA512 ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266 +DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 +DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 BLAKE2B 40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f SHA512 a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 EBUILD llvm-ocaml-15.0.7.ebuild 2576 BLAKE2B 19ad7bcc099299b50cee2551d0998ef748cf46081605459355a9d11b5882a3a26559892321f47d67f927a422ed1dc34332f9d9bee82da3e151dc9edec58f458a SHA512 3366ae720bb79421c253c28946c5281152d3573416fb9c7967327bd2d2b418f01887d63e00ccc1d5f5008d1f05280f270fe15be3e8d2b812c782d881778e8417 @@ -15,6 +17,7 @@ EBUILD llvm-ocaml-16.0.6.ebuild 2510 BLAKE2B 129a25c76d02640a151bd2ba8b1542e34bc EBUILD llvm-ocaml-17.0.6.ebuild 2510 BLAKE2B 129a25c76d02640a151bd2ba8b1542e34bc4b0adb5aac797f96f7f888b8939ae33dcda9eb1f2ec31eae81575ac3e32995b9e99de3540f3fdc8e085b0185200ec SHA512 250285a57be6d7cfbddd4a9ff4ab8bc25e2813441da263bfef1a7a4d11658b6ed9a3d280ada7b1e45c5cb472e6647eff260926672089e7e445a12be6a5344bdb EBUILD llvm-ocaml-18.1.8.ebuild 2466 BLAKE2B 7480f9140cbdd2ec337cd08924013f1f9751bc34c3223b3f5be441e4d06d131f74aca0cb0115c71ebacb3909240e42d4608dddf98bb6f69e371d5e86e19141f5 SHA512 b7c05d3be29399eb9fb4267537a450daf00b7d8f6bd2be472e5802d4072e3a805db8d5f4fa2830ec46655170a7f2fc1119825327b2d4008af8364772fc215f65 EBUILD llvm-ocaml-19.1.0_rc3.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b +EBUILD llvm-ocaml-19.1.0_rc4.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b EBUILD llvm-ocaml-20.0.0.9999.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b EBUILD llvm-ocaml-20.0.0_pre20240822.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b EBUILD llvm-ocaml-20.0.0_pre20240830.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-19.1.0_rc4.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-19.1.0_rc4.ebuild new file mode 100644 index 000000000000..36b3716c0372 --- /dev/null +++ b/dev-ml/llvm-ocaml/llvm-ocaml-19.1.0_rc4.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org llvm-utils python-any-r1 + +DESCRIPTION="OCaml bindings for LLVM" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0/${PV}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.00.0:0= + dev-ml/ocaml-ctypes:= + ~sys-devel/llvm-${PV}:=[debug?] + !sys-devel/llvm[ocaml(-)] +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + dev-ml/findlib +" + +LLVM_COMPONENTS=( llvm cmake third-party ) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + local libdir=$(get_libdir) + local mycmakeargs=( + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + + -DBUILD_SHARED_LIBS=OFF + -DLLVM_BUILD_LLVM_DYLIB=ON + -DLLVM_LINK_LLVM_DYLIB=ON + -DLLVM_OCAML_OUT_OF_TREE=ON + + # cheap hack: LLVM combines both anyway, and the only difference + # is that the former list is explicitly verified at cmake time + -DLLVM_TARGETS_TO_BUILD="" + -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + -DLLVM_BUILD_TESTS=$(usex test) + + # disable various irrelevant deps and settings + -DLLVM_ENABLE_FFI=OFF + -DLLVM_ENABLE_TERMINFO=OFF + -DHAVE_HISTEDIT_H=NO + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + + -DLLVM_HOST_TRIPLE="${CHOST}" + + -DPython3_EXECUTABLE="${PYTHON}" + + # TODO: ocamldoc + ) + + use test && mycmakeargs+=( + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + # also: custom rules for OCaml do not work for CPPFLAGS + use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" + cmake_src_configure + + local llvm_libdir=$(llvm-config --libdir) + # an ugly hack; TODO: figure out a way to pass -L to ocaml... + cd "${BUILD_DIR}/${libdir}" || die + ln -s "${llvm_libdir}"/*.so . || die + + if use test; then + local llvm_bindir=$(llvm-config --bindir) + # Force using system-installed tools. + sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ + "${BUILD_DIR}"/test/lit.site.cfg.py || die + fi +} + +src_compile() { + cmake_build ocaml_all +} + +src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + cmake_build check-llvm-bindings-ocaml +} + +src_install() { + DESTDIR="${D}" \ + cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die + + dodoc bindings/ocaml/README.txt +} -- cgit v1.2.3