diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-30 03:04:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-30 03:04:35 +0000 |
commit | fb57e01054259b1160d01c3c7ed9efab7902ed7d (patch) | |
tree | 42985349c49b2294954c1923df85be8bfa0c0957 /dev-ml | |
parent | bd35a61d88b111f25f4b10126e0d4755545fc7a5 (diff) |
gentoo auto-resync : 30:10:2024 - 03:04:35
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/Manifest.gz | bin | 39972 -> 39957 bytes | |||
-rw-r--r-- | dev-ml/core_unix/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/core_unix/core_unix-0.15.0.ebuild | 25 | ||||
-rw-r--r-- | dev-ml/llvm-ocaml/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20241029.ebuild | 107 |
5 files changed, 109 insertions, 27 deletions
diff --git a/dev-ml/Manifest.gz b/dev-ml/Manifest.gz Binary files differindex e1603d1d606d..da5ddcb2a694 100644 --- a/dev-ml/Manifest.gz +++ b/dev-ml/Manifest.gz diff --git a/dev-ml/core_unix/Manifest b/dev-ml/core_unix/Manifest index d1fd388a08c9..0d24b1d1c54d 100644 --- a/dev-ml/core_unix/Manifest +++ b/dev-ml/core_unix/Manifest @@ -1,11 +1,9 @@ AUX core_unix-0.15.2-musl.patch 1043 BLAKE2B a1adab0960e9fedf4b6408d65138f34167110eedb36db28c155eedc326805939b987fa7cdbbe0998198a58c08d3f924af84d54952de04cd9c3606baad02a1d43 SHA512 bd74fb453cc3da7bf554d01bd3a3af1be323b352aee3b5625fd867cd078bd90f1e26ba9924aaac16f4d7f013044b1ef7c7f848c74ed90f04aee2bd700d43dd1e AUX core_unix-0.16.0-musl.patch 1039 BLAKE2B 8e169a4effc405f04c4f0e66992cf45d1146a07372e6446dcd221ce617c3f89c28de4820abcf87a581859c522b26721d27a178afc6057c25e12855519a053173 SHA512 8aa25f42f232e3b95a0ea94ee75f21377c73fa9e2d41fd1519789a60f3798a266b57e7fae8f26183683d6a832eca1f152aef257a2445db1662ca0bb8e2c26e82 AUX core_unix-0.17.0-musl.patch 510 BLAKE2B f134f1ce3520862b1421cdb424f06546eae4fbf2d2556a04185c7bcb42e169874db03cb5a860d817a41e83f713d2b135d89ec19c3ea7bb19a7f558913eb7befa SHA512 23d74c953e35725f489ebd0780510385cba9caccf0a31c7fe74cf1189ad86a5ea63420fe67ac5b8cc4ded743859282a82eb3f6becca8bb37956755d792fb8606 -DIST core_unix-0.15.0.tar.gz 377928 BLAKE2B 49b58471a28c356bdf39f15e22bd21ec4363182cf744c0455847ffc15015fdad2928a428986c2a9edff647ebef9f2ad2059b184b393e979119c8f007f67ec140 SHA512 eeb53bd0c06a7d1facfb133f0a45a232d57941eff644d4ed6c2d5002acd4e6b323376ec9c05838f760ebd9da3fbc39332989ed50b3921191c175811c947fcbfe DIST core_unix-0.15.2.tar.gz 377836 BLAKE2B 56551ab1509bfecc59ae4b45aaaa4d336415cffe9339932239c884bc86207bdb4066aace35144618509b78b461164bdfaaaa04030ecb1b3619de6f8fe5c3a7b9 SHA512 6d59c52111235f952f3052fb86af1d7380ff3d8d89b5c8d59a66d530a14d462fa4b06cdf29f2ee2b4356a574dbefef33b82f60f9fba512942bc0e6aad07f2b6f DIST core_unix-0.16.0.tar.gz 391719 BLAKE2B 29105ee1b8342241dbea136207d221af04d9412a74412fb4fd532f08b22b842125a72e69a47d36129a99c04cd3a83e605bc42b970d79a52420b3e273bd9915d5 SHA512 e38a126af832360f0e0079919b930f3fa99b02935c35372b1ed8c7e174af335de2f4dcb8da90be8f9f524542752dd5c62ec6192eb327d7cc6313b7402b0f7f65 DIST core_unix-0.17.0.tar.gz 403348 BLAKE2B 9afc07343427e84dc71df23b2d3a4e02780dcb75b4969d06a7d06d47b7dfe17e464223258733673265491cecfbea07f92f429167b81ead226319c452e4b895db SHA512 15472af90b0dda207eec57701f7e4f796b3aa35ae81491ffaff5611e3e5ff0532c80464c92528d970b5d651774d4a89fd3ab619b53f4871cf1ffd7741625f6e3 -EBUILD core_unix-0.15.0.ebuild 577 BLAKE2B 1fd5f1ae602502ef50267d88f5788a66388153082066863e191115b58154059d577e079dca5818982133812070909249a548ca205912ba38c184278c8a5498dc SHA512 318fb4a1c646219119c85d42205986de3745b3755031db4d2baf3f3f8bf59cfe57991a167fd14fe88e8b62b5d91f02e62ba47ecd2aaf4d0ea81439ea855f1f9f EBUILD core_unix-0.15.2-r1.ebuild 816 BLAKE2B 375a2b52b415d107c97ea6cae04594747ecaf6eea7c08e94de8ca8debc33bb7d9f91ed723bdbc57c8c09b13a2c6315ece82af9690aaf4a64872d8a26324734c6 SHA512 6499e9c897b923200a23ca9eb642b618d69b4236f41c128bf63abc4e768364c7d121e502daed2282b470be32c2b4bbd8d9e3a6358a8179a60eb76f74efb2aa27 EBUILD core_unix-0.16.0-r1.ebuild 824 BLAKE2B da50bad2977df7c075e6e8e7a7e44cc871d7cac0910c79bddfb0a3d5837639ffbc2b277c8d920a07c7783271a5680dc9fa130cf01695a949402ed2880f32470a SHA512 f38fa760a0e0311cbf5e76c0c489cb540ef50493088223a95090753bb557e96b4a022815abe98297fef898d3f3d06bc95e448ed4b878907d13f174828584aa08 EBUILD core_unix-0.17.0.ebuild 1087 BLAKE2B 75febe3b039f0f707c279598de0e8bc9a2053ac7ddfafab0837ea4822051a1b5bcd265729fbe78f31436060e5702ec488ab69ae11fc3d71f4de329ffb0303c34 SHA512 960ecfd7462b190f3d056e29c75d18a9eaf2c091b41353bf2eac63d7a3e7cd9e5c2a9cb5495afde31222f65e9264857ce1112256e18222eee228848cb1894bbc diff --git a/dev-ml/core_unix/core_unix-0.15.0.ebuild b/dev-ml/core_unix/core_unix-0.15.0.ebuild deleted file mode 100644 index 8ab4e487041f..000000000000 --- a/dev-ml/core_unix/core_unix-0.15.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit dune - -DESCRIPTION="Unix-specific portions of Core" -HOMEPAGE="https://github.com/janestreet/core_unix" -SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="+ocamlopt" - -DEPEND=" - dev-ml/core_kernel:${SLOT} - dev-ml/expect_test_helpers_core:${SLOT} - dev-ml/ocaml_intrinsics:${SLOT} - dev-ml/timezone:${SLOT} - dev-ml/spawn:${SLOT} -" -RDEPEND="${DEPEND}" -BDEPEND="" diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest index 9c1d1d6eb0e1..ff906ff81e7f 100644 --- a/dev-ml/llvm-ocaml/Manifest +++ b/dev-ml/llvm-ocaml/Manifest @@ -9,6 +9,7 @@ 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.2.src.tar.xz 141241032 BLAKE2B 38a3f528ddae7cd738236a317551fdb94acd8fb736a57def15b75e1ed2f6572e1370fb3f1e4ff261d3cfb87df7d50d4db8fa9e70dc5e3dde617af09eb059fdd3 SHA512 e98ee405f5c30004b39f0de0470400dd2965adf4cda4b47a1d3792ae362ed43eb45e96a9b1689f31e1064e0b39252379270bd95bf8081cf9b92ecb9b371bf43b DIST llvm-project-19.1.2.src.tar.xz.sig 438 BLAKE2B f5bc0cc43bc10ee2438289d62aa8169cbb9e0ea598381b4c744e6a09daf710650fbec0656a9ac7c0e6f84a0ff3541fe223fa9efc61fb3d4c496cad9df7b9edd4 SHA512 307cd88116e68f901229fc2f6db72bad5f964bacee178e2efad3419cec277b5a7e23fb347386fb4e83e1886551bbc78d187259518193cac7654573ee17e3cb63 +DIST llvm-project-3f4468faaa9525ad615118675c3c68938f4a8d5f.tar.gz 221860252 BLAKE2B 6c531df34163dc0879c79b029a13215d1bef2cd95bbaf4a6d5e10b81a8352236283d40f14b62e23a57cc1cf8edce138fb6e2720ced2397d6469c5863564c626d SHA512 4aa485f4547e210cf8f6f8147c4adab3e75afe77f1e4e1bc4718fe681b64bdcf8937f843964542f8ead90ceef52cc0fd4bd8275824d1a4c6961eddafc7d35115 DIST llvm-project-9aef0fd52a0b2bf31cf3bae8a0693d6df8db6e04.tar.gz 219987707 BLAKE2B a3f0acd0fd3b66c3a826ac6760653fa6ea893ffba7587cf4a14f472026a9d9d8bf6b63c26d8bc39e83936afe6b735496bd88ce6c00d16abe1d0ccd1f9a644302 SHA512 5104669d78930363afeba045dc27a4c36ca8bb7537d432c765e023cbd91155b248c3a60d4768e1f8690c88e82d4ff95a44fb73f26d25d6646dddc857992485ba EBUILD llvm-ocaml-15.0.7.ebuild 2576 BLAKE2B 19ad7bcc099299b50cee2551d0998ef748cf46081605459355a9d11b5882a3a26559892321f47d67f927a422ed1dc34332f9d9bee82da3e151dc9edec58f458a SHA512 3366ae720bb79421c253c28946c5281152d3573416fb9c7967327bd2d2b418f01887d63e00ccc1d5f5008d1f05280f270fe15be3e8d2b812c782d881778e8417 EBUILD llvm-ocaml-16.0.6.ebuild 2510 BLAKE2B 129a25c76d02640a151bd2ba8b1542e34bc4b0adb5aac797f96f7f888b8939ae33dcda9eb1f2ec31eae81575ac3e32995b9e99de3540f3fdc8e085b0185200ec SHA512 250285a57be6d7cfbddd4a9ff4ab8bc25e2813441da263bfef1a7a4d11658b6ed9a3d280ada7b1e45c5cb472e6647eff260926672089e7e445a12be6a5344bdb @@ -18,4 +19,5 @@ EBUILD llvm-ocaml-19.1.2.ebuild 2466 BLAKE2B 7480f9140cbdd2ec337cd08924013f1f975 EBUILD llvm-ocaml-20.0.0.9999.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b EBUILD llvm-ocaml-20.0.0_pre20241015.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b EBUILD llvm-ocaml-20.0.0_pre20241023.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b +EBUILD llvm-ocaml-20.0.0_pre20241029.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20241029.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20241029.ebuild new file mode 100644 index 000000000000..36b3716c0372 --- /dev/null +++ b/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20241029.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 +} |