commit:     3573930422de75a37020b7211027d0a0c4c1196c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 28 10:48:33 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 28 10:48:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35739304

dev-ml/llvm: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-ml/llvm/Manifest                       |   2 -
 dev-ml/llvm/llvm-21.0.0_pre20250510.ebuild | 107 -----------------------------
 dev-ml/llvm/llvm-21.0.0_pre20250517.ebuild | 107 -----------------------------
 3 files changed, 216 deletions(-)

diff --git a/dev-ml/llvm/Manifest b/dev-ml/llvm/Manifest
index 2fc5f4eff653..99a255186b5b 100644
--- a/dev-ml/llvm/Manifest
+++ b/dev-ml/llvm/Manifest
@@ -11,5 +11,3 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf
 DIST llvm-project-20.1.5.src.tar.xz 147239812 BLAKE2B 
992ebec16a11f32f234ba8b9f228f27939cdaeaaba474a08da2564ba3075bb10ab92a44be704666bdd77f8294321d43da40bb9245c411a86cd53cff88223a91f
 SHA512 
3b7e657714fa9b943c75ec9eeb903018ab4713b1c3370746ba68893220729f178dabb971515741519f24e7ad0fa1dbce1345572bcf1d1fc1e5de97e4d2900a6b
 DIST llvm-project-20.1.5.src.tar.xz.sig 566 BLAKE2B 
c8be202b475726817893e1fe5fe2d3ab02ea1d3130ccfdf4c2c29b46e6aef79091de78e8a9aef59416ac1120bb3af6fdf47464db9b27b8fb4cb4194b0444e571
 SHA512 
c1bd30af5f7bfa6cac73994e9068d2791d9d27e86375fb15ad426422ad00cb43ade226c1b91ecc7daa950efae62c86300e4290d59649310f4e8fab5bdcb264fe
 DIST llvm-project-7dc7c155251c0008d5d59b84f0c9056365740f11.tar.gz 235921149 
BLAKE2B 
2867e313cd25fee6975da9bf65365fa51ed8780f3f8fc95983fb6e8f5b2c38c6d7f75a386b0ec2d74bafad74472973f4e4e603a5a0754465ac2b75942b8e90c6
 SHA512 
f8bc383ff2a1af836357150efa5728c7df3cd862f56ffaf12b5fc56ef631f1048276ff00b89fcf4d224576fa1eda9811d971886aae0855a4d29178060eb89a49
-DIST llvm-project-aaaae99663dbb220c6c27fa9cacf93fcb8f20e7c.tar.gz 235477577 
BLAKE2B 
46a3b7863cdfde75045dfcab95f8c9eee21f8ce80cee700284bc174adbb4038f23bba3b15635c88c2723ed0d20e6fddcf43c92b9e540c885af48e81bfa8c82aa
 SHA512 
bf8e7f28622f91da57698220fca592105d109c38801b5e0312f5e290bca1ae32ef393179cfe912c194dbf85ece9bd6ee63b587157b0fcd6007bbaff3324e77ed
-DIST llvm-project-fcb4bda9dcfcdb64d8b069e8416c75d7a1a62e52.tar.gz 233149231 
BLAKE2B 
95a7a012a1e747afcf83ace3785c8ef6a3e10f6075e59eb1c5b077cc9edae244b648f341bc0ac6a45b2afc8f7ffe130a90a741a04465523f30f8322566386703
 SHA512 
b46f0c90a1c56750cada24183ca382b267a2d2faa0db7d77a8bdd4e94e6303e57d565cf85447b3c0e0efdd3750efef1e10e8ce6f1fe8f1ae10ee31d25ddf3fb7

diff --git a/dev-ml/llvm/llvm-21.0.0_pre20250510.ebuild 
b/dev-ml/llvm/llvm-21.0.0_pre20250510.ebuild
deleted file mode 100644
index bacc5c89fa79..000000000000
--- a/dev-ml/llvm/llvm-21.0.0_pre20250510.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2025 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:=
-       ~llvm-core/llvm-${PV}:=[debug?]
-       !llvm-core/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
-}

diff --git a/dev-ml/llvm/llvm-21.0.0_pre20250517.ebuild 
b/dev-ml/llvm/llvm-21.0.0_pre20250517.ebuild
deleted file mode 100644
index bacc5c89fa79..000000000000
--- a/dev-ml/llvm/llvm-21.0.0_pre20250517.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2025 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:=
-       ~llvm-core/llvm-${PV}:=[debug?]
-       !llvm-core/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
-}

Reply via email to