commit:     dcb075068f82977efe01a8dfbfaae6030e5ca543
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 01:36:10 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 01:36:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb07506

sys-libs/libomp: Remove old

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

 sys-libs/libomp/Manifest                         |   4 -
 sys-libs/libomp/libomp-18.1.7.ebuild             | 161 -----------------------
 sys-libs/libomp/libomp-19.0.0_pre20240608.ebuild |  88 -------------
 sys-libs/libomp/libomp-19.0.0_pre20240615.ebuild |  88 -------------
 4 files changed, 341 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 02d609eed103..805c0763a513 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -5,10 +5,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B 
b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02
 SHA512 
0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8
-DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 
9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3
 SHA512 
7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
25eeee9984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
 DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 
BLAKE2B 
12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2
 SHA512 
951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645
-DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 
BLAKE2B 
78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26
 SHA512 
104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841
-DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 
BLAKE2B 
5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee
 SHA512 
69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9

diff --git a/sys-libs/libomp/libomp-18.1.7.ebuild 
b/sys-libs/libomp/libomp-18.1.7.ebuild
deleted file mode 100644
index b3b6281fa7d0..000000000000
--- a/sys-libs/libomp/libomp-18.1.7.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit flag-o-matic cmake-multilib linux-info llvm.org llvm-utils
-inherit python-single-r1 toolchain-funcs
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0/${LLVM_SOABI}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos"
-IUSE="
-       debug gdb-plugin hwloc offload ompt test
-       llvm_targets_AMDGPU llvm_targets_NVPTX
-"
-REQUIRED_USE="
-       gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       gdb-plugin? ( ${PYTHON_DEPS} )
-       hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
-       offload? (
-               dev-libs/libffi:=[${MULTILIB_USEDEP}]
-               ~sys-devel/llvm-${PV}[${MULTILIB_USEDEP}]
-               llvm_targets_AMDGPU? ( dev-libs/rocr-runtime:= )
-       )
-"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="
-       ${RDEPEND}
-"
-BDEPEND="
-       dev-lang/perl
-       offload? (
-               llvm_targets_AMDGPU? ( sys-devel/clang )
-               llvm_targets_NVPTX? ( sys-devel/clang )
-               virtual/pkgconfig
-       )
-       test? (
-               ${PYTHON_DEPS}
-               $(python_gen_cond_dep '
-                       dev-python/lit[${PYTHON_USEDEP}]
-               ')
-               sys-devel/clang
-       )
-"
-
-LLVM_COMPONENTS=( openmp cmake llvm/include )
-llvm.org_set_globals
-
-kernel_pds_check() {
-       if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-               local CONFIG_CHECK="~!SCHED_PDS"
-               local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-               check_extra_config
-       fi
-}
-
-pkg_pretend() {
-       kernel_pds_check
-}
-
-pkg_setup() {
-       if use gdb-plugin || use test; then
-               python-single-r1_pkg_setup
-       fi
-}
-
-multilib_src_configure() {
-       use offload && llvm_prepend_path "${LLVM_MAJOR}"
-
-       # LTO causes issues in other packages building, #870127
-       filter-lto
-
-       # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-       use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-       local build_omptarget=OFF
-       # upstream disallows building libomptarget when sizeof(void*) != 8
-       if use offload &&
-               "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null \
-               <<-EOF &>/dev/null
-                       int test[sizeof(void *) == 8 ? 1 : -1];
-               EOF
-       then
-               build_omptarget=ON
-       fi
-
-       local libdir="$(get_libdir)"
-       local mycmakeargs=(
-               -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-               -DLIBOMP_USE_HWLOC=$(usex hwloc)
-               -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
-               -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-               -DOPENMP_ENABLE_LIBOMPTARGET=${build_omptarget}
-
-               # do not install libgomp.so & libiomp5.so aliases
-               -DLIBOMP_INSTALL_ALIASES=OFF
-               # disable unnecessary hack copying stuff back to srcdir
-               -DLIBOMP_COPY_EXPORTS=OFF
-       )
-
-       if [[ ${build_omptarget} == ON ]]; then
-               local ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)
-               local ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi)
-               mycmakeargs+=(
-                       -DFFI_INCLUDE_DIR="${ffi_cflags#-I}"
-                       -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}"
-               )
-
-               if has "${CHOST%%-*}" aarch64 powerpc64le x86_64; then
-                       mycmakeargs+=(
-                               -DLIBOMPTARGET_BUILD_AMDGPU_PLUGIN=$(usex 
llvm_targets_AMDGPU)
-                               -DLIBOMPTARGET_BUILD_CUDA_PLUGIN=$(usex 
llvm_targets_NVPTX)
-
-                               # prevent trying to access the GPU
-                               
-DLIBOMPTARGET_AMDGPU_ARCH=LIBOMPTARGET_AMDGPU_ARCH-NOTFOUND
-                               
-DLIBOMPTARGET_NVPTX_ARCH=LIBOMPTARGET_NVPTX_ARCH-NOTFOUND
-                       )
-               else
-                       mycmakeargs+=(
-                               -DLIBOMPTARGET_BUILD_AMDGPU_PLUGIN=OFF
-                               -DLIBOMPTARGET_BUILD_CUDA_PLUGIN=OFF
-                       )
-               fi
-       fi
-
-       use test && mycmakeargs+=(
-               # this project does not use standard LLVM cmake macros
-               -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
-               -DOPENMP_LIT_ARGS="$(get_lit_flags)"
-
-               -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-               -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
-       )
-       addpredict /dev/nvidiactl
-       cmake_src_configure
-}
-
-multilib_src_test() {
-       # respect TMPDIR!
-       local -x LIT_PRESERVES_TMP=1
-
-       cmake_build check-libomp
-}

diff --git a/sys-libs/libomp/libomp-19.0.0_pre20240608.ebuild 
b/sys-libs/libomp/libomp-19.0.0_pre20240608.ebuild
deleted file mode 100644
index 32b91b3699c4..000000000000
--- a/sys-libs/libomp/libomp-19.0.0_pre20240608.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0/${LLVM_SOABI}"
-IUSE="+debug gdb-plugin hwloc ompt test"
-REQUIRED_USE="
-       gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       gdb-plugin? ( ${PYTHON_DEPS} )
-       hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
-"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="
-       ${RDEPEND}
-"
-BDEPEND="
-       dev-lang/perl
-       test? (
-               ${PYTHON_DEPS}
-               $(python_gen_cond_dep '
-                       dev-python/lit[${PYTHON_USEDEP}]
-               ')
-               sys-devel/clang
-       )
-"
-
-LLVM_COMPONENTS=( openmp cmake llvm/include )
-llvm.org_set_globals
-
-pkg_setup() {
-       if use gdb-plugin || use test; then
-               python-single-r1_pkg_setup
-       fi
-}
-
-multilib_src_configure() {
-       # LTO causes issues in other packages building, #870127
-       filter-lto
-
-       # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-       use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-       local libdir="$(get_libdir)"
-       local mycmakeargs=(
-               -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-               -DLIBOMP_USE_HWLOC=$(usex hwloc)
-               -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
-               -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-               # do not install libgomp.so & libiomp5.so aliases
-               -DLIBOMP_INSTALL_ALIASES=OFF
-               # disable unnecessary hack copying stuff back to srcdir
-               -DLIBOMP_COPY_EXPORTS=OFF
-       )
-
-       use test && mycmakeargs+=(
-               # this project does not use standard LLVM cmake macros
-               -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
-               -DOPENMP_LIT_ARGS="$(get_lit_flags)"
-
-               -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-               -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
-       )
-       cmake_src_configure
-}
-
-multilib_src_test() {
-       # respect TMPDIR!
-       local -x LIT_PRESERVES_TMP=1
-
-       cmake_build check-libomp
-}

diff --git a/sys-libs/libomp/libomp-19.0.0_pre20240615.ebuild 
b/sys-libs/libomp/libomp-19.0.0_pre20240615.ebuild
deleted file mode 100644
index 32b91b3699c4..000000000000
--- a/sys-libs/libomp/libomp-19.0.0_pre20240615.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0/${LLVM_SOABI}"
-IUSE="+debug gdb-plugin hwloc ompt test"
-REQUIRED_USE="
-       gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       gdb-plugin? ( ${PYTHON_DEPS} )
-       hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
-"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="
-       ${RDEPEND}
-"
-BDEPEND="
-       dev-lang/perl
-       test? (
-               ${PYTHON_DEPS}
-               $(python_gen_cond_dep '
-                       dev-python/lit[${PYTHON_USEDEP}]
-               ')
-               sys-devel/clang
-       )
-"
-
-LLVM_COMPONENTS=( openmp cmake llvm/include )
-llvm.org_set_globals
-
-pkg_setup() {
-       if use gdb-plugin || use test; then
-               python-single-r1_pkg_setup
-       fi
-}
-
-multilib_src_configure() {
-       # LTO causes issues in other packages building, #870127
-       filter-lto
-
-       # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-       use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-       local libdir="$(get_libdir)"
-       local mycmakeargs=(
-               -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-               -DLIBOMP_USE_HWLOC=$(usex hwloc)
-               -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
-               -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-               # do not install libgomp.so & libiomp5.so aliases
-               -DLIBOMP_INSTALL_ALIASES=OFF
-               # disable unnecessary hack copying stuff back to srcdir
-               -DLIBOMP_COPY_EXPORTS=OFF
-       )
-
-       use test && mycmakeargs+=(
-               # this project does not use standard LLVM cmake macros
-               -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
-               -DOPENMP_LIT_ARGS="$(get_lit_flags)"
-
-               -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-               -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
-       )
-       cmake_src_configure
-}
-
-multilib_src_test() {
-       # respect TMPDIR!
-       local -x LIT_PRESERVES_TMP=1
-
-       cmake_build check-libomp
-}

Reply via email to