commit:     6a504cf16cfa01ec53625d70b44014a411e686b3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  2 15:25:36 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec  2 15:25:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a504cf1

dev-ml/llvm-ocaml: Remove 15.0.3

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

 dev-ml/llvm-ocaml/Manifest                 |   2 -
 dev-ml/llvm-ocaml/llvm-ocaml-15.0.3.ebuild | 115 -----------------------------
 2 files changed, 117 deletions(-)

diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
index c7036963f43c..fb2e92110496 100644
--- a/dev-ml/llvm-ocaml/Manifest
+++ b/dev-ml/llvm-ocaml/Manifest
@@ -1,7 +1,5 @@
 DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99
 SHA512 
6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
-DIST llvm-project-15.0.3.src.tar.xz 112069972 BLAKE2B 
3d29bab890467ba87fedcc4e76522f444e63e3dfbe546793f8e67821bcd403bad460ea176254c9e0b72d60ea56b8480e498a7f610477c1108732d178804c26cd
 SHA512 
d378d417f01c56534f301cfe6cb4958d811c04ae22acaacc917e7e5f0380859d40ce19dffb265d046b70fff95dbc2e759f492e4d5af0ade52f21ebaa8da65856
-DIST llvm-project-15.0.3.src.tar.xz.sig 438 BLAKE2B 
e7e0614e144eb878f694c12e97cf42ff8476e47cb55e8f259eb2ec52e303463ad753771271512e89baf0137c1382b11cfa028c85324174ebcd054a124000f537
 SHA512 
41229bebdb0c2df9a5e3a4d6f02d39fac7dc91f21895a659523beab4fa3ef99ff06eff5e4386221369b6e2b6f8fe974d67b7d8496d5911ce484d09ae0db8b916
 DIST llvm-project-15.0.5.src.tar.xz 110931004 BLAKE2B 
d751e3627ee26e60a1a037a4a6cc574a31c4abe038331b86206348ac3ce93a243add2be3a0bbfc2ec5ec3f3562a5b5efea745cb1943c9c9153bc7b0fcf4de22e
 SHA512 
cf2a89ebb6bc9d7e3f1fd09531c84ac9927cdbe5ee13a6fcb8ce4d08e5a9d6d480ad982f62126b9c757beafa283b34f2ba1fbc56223c641e70da2be4627f59a6
 DIST llvm-project-15.0.5.src.tar.xz.sig 566 BLAKE2B 
a6e7204abc912045346a36f2b349e0829a4d5b9efcb230fb0c97caa38d5159ca17ffb47ce0485cbab276a4938ff3a5c05ef9f8b0b75f4c2028d870ee33023431
 SHA512 
312bc09b54408a9265f8102241089b0f674be0832dd5cb1998ff13dbccbe19324d7060ba2680457118dee96a1ff390b16282677ad825d7230008014ecebe47d5
 DIST llvm-project-15.0.6.src.tar.xz 112074576 BLAKE2B 
74b1aa967c95191fa492f06b3a21930842da0ccbd9995dd33b4c2cf07852bbedcae97041fd5966209b16c63b90c87cc02fb2e858eda13dd9cc0641edcede0f75
 SHA512 
3311d85f4e02610af52f06e83c8c6d2b93950d24324b831b7afc47c39a20a546d39683a14e1a315da87d226379042de900a3f36a0351053547482af9035ab949

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.3.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-15.0.3.ebuild
deleted file mode 100644
index c426fd5ff1b3..000000000000
--- a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.3.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake llvm llvm.org python-any-r1
-
-DESCRIPTION="OCaml bindings for LLVM"
-HOMEPAGE="https://llvm.org/";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~x86"
-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
-       >=dev-util/cmake-3.16
-"
-
-LLVM_COMPONENTS=( llvm cmake third-party )
-LLVM_USE_TARGETS=llvm
-llvm.org_set_globals
-
-pkg_setup() {
-       LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-       python-any-r1_pkg_setup
-}
-
-src_configure() {
-       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}"
-
-               # disable go bindings
-               -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
-
-               # 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