Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/
Date: Sat, 11 Sep 2021 07:26:02
Message-Id: 1631345112.90fd23b0dc3f72d7f363681dae3a05636e9ef16a.mgorny@gentoo
1 commit: 90fd23b0dc3f72d7f363681dae3a05636e9ef16a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 11 07:25:12 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 11 07:25:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90fd23b0
7
8 sys-libs/libomp: Remove 13.0.0_rc1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-libs/libomp/Manifest | 1 -
13 sys-libs/libomp/libomp-13.0.0_rc1.ebuild | 106 -------------------------------
14 2 files changed, 107 deletions(-)
15
16 diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
17 index 86f3baa62d1..7b56b5c1c16 100644
18 --- a/sys-libs/libomp/Manifest
19 +++ b/sys-libs/libomp/Manifest
20 @@ -3,5 +3,4 @@ DIST llvm-gentoo-patchset-13.0.0-rc2.tar.xz 5556 BLAKE2B e6c7ecfe8f842edc4d4f30a
21 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
22 DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81
23 DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
24 -DIST llvmorg-13.0.0-rc1.tar.gz 147235597 BLAKE2B 089fed119dee8a16f278cebb13808bd5a95629cc87ebee3050225cc041b78fee51acacc5bcc913d4a99e830bfe5774b19a04a845293c5087dd2a8c9d94d2fde9 SHA512 6e307e2c2dcb7ff41d11ee29d69f41c0ef55f200999847a3a924a2e773fc9c2160015746789af8b723c628bd232f97fce63370209bd0065491d80b0cc0017e85
25 DIST llvmorg-13.0.0-rc2.tar.gz 147267736 BLAKE2B 153bf7320f2aa911112d366ffc79f7110cb04f135c2a8b176c263f0a75eb768206d9bd462893d45504b0e58aa9e127fdcafb02300eab1666e4616aa654d457dd SHA512 a01baf3eaa02f02af42bfcf6dcf24f166351bf1c09601495617c81e41def23210573bad40a344270f40c5deb881d06863536abac2a6481930766a6a56335fb44
26
27 diff --git a/sys-libs/libomp/libomp-13.0.0_rc1.ebuild b/sys-libs/libomp/libomp-13.0.0_rc1.ebuild
28 deleted file mode 100644
29 index 5adaa0dfbca..00000000000
30 --- a/sys-libs/libomp/libomp-13.0.0_rc1.ebuild
31 +++ /dev/null
32 @@ -1,106 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -CMAKE_ECLASS=cmake
39 -PYTHON_COMPAT=( python3_{8..10} )
40 -inherit cmake-multilib linux-info llvm.org python-any-r1
41 -
42 -DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
43 -HOMEPAGE="https://openmp.llvm.org"
44 -
45 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
46 -SLOT="0"
47 -KEYWORDS=""
48 -IUSE="cuda hwloc kernel_linux offload ompt test"
49 -# CUDA works only with the x86_64 ABI
50 -REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
51 -RESTRICT="!test? ( test )"
52 -
53 -RDEPEND="
54 - hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
55 - offload? (
56 - virtual/libelf:=[${MULTILIB_USEDEP}]
57 - dev-libs/libffi:=[${MULTILIB_USEDEP}]
58 - cuda? ( dev-util/nvidia-cuda-toolkit:= )
59 - )"
60 -# tests:
61 -# - dev-python/lit provides the test runner
62 -# - sys-devel/llvm provide test utils (e.g. FileCheck)
63 -# - sys-devel/clang provides the compiler to run tests
64 -DEPEND="${RDEPEND}"
65 -BDEPEND="dev-lang/perl
66 - offload? ( virtual/pkgconfig )
67 - test? (
68 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
69 - >=sys-devel/clang-6
70 - )"
71 -
72 -LLVM_COMPONENTS=( openmp llvm/include )
73 -llvm.org_set_globals
74 -
75 -python_check_deps() {
76 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
77 -}
78 -
79 -kernel_pds_check() {
80 - if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
81 - local CONFIG_CHECK="~!SCHED_PDS"
82 - local ERROR_SCHED_PDS="\
83 -PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
84 -< 4.14-pf9) do not implement sched_yield() call which may result in horrible
85 -performance problems with libomp. If you are using one of the specified
86 -kernel versions, you may want to disable the PDS scheduler."
87 -
88 - check_extra_config
89 - fi
90 -}
91 -
92 -pkg_pretend() {
93 - kernel_pds_check
94 -}
95 -
96 -pkg_setup() {
97 - use test && python-any-r1_pkg_setup
98 -}
99 -
100 -multilib_src_configure() {
101 - local libdir="$(get_libdir)"
102 - local mycmakeargs=(
103 - -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
104 -
105 - -DLIBOMP_USE_HWLOC=$(usex hwloc)
106 - -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
107 -
108 - -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
109 -
110 - # do not install libgomp.so & libiomp5.so aliases
111 - -DLIBOMP_INSTALL_ALIASES=OFF
112 - # disable unnecessary hack copying stuff back to srcdir
113 - -DLIBOMP_COPY_EXPORTS=OFF
114 - )
115 - use offload && mycmakeargs+=(
116 - # this is non-fatal and libomp checks for CUDA conditionally
117 - # to ABI, so we can just ignore passing the wrong value
118 - # on non-amd64 ABIs
119 - -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda)
120 - )
121 - use test && mycmakeargs+=(
122 - # this project does not use standard LLVM cmake macros
123 - -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
124 - -DOPENMP_LIT_ARGS="$(get_lit_flags)"
125 -
126 - -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
127 - -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
128 - )
129 - addpredict /dev/nvidiactl
130 - cmake_src_configure
131 -}
132 -
133 -multilib_src_test() {
134 - # respect TMPDIR!
135 - local -x LIT_PRESERVES_TMP=1
136 -
137 - cmake_build check-libomp
138 -}