1 |
commit: 03afefc3b9e049b1333aa54a7c6cc98eadeccd0f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 1 12:37:17 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 1 13:27:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03afefc3 |
7 |
|
8 |
sys-libs/libomp: Remove 13.0.0 RCs |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-libs/libomp/Manifest | 6 -- |
13 |
sys-libs/libomp/libomp-13.0.0_rc2.ebuild | 107 ------------------------------- |
14 |
sys-libs/libomp/libomp-13.0.0_rc3.ebuild | 107 ------------------------------- |
15 |
sys-libs/libomp/libomp-13.0.0_rc4.ebuild | 107 ------------------------------- |
16 |
4 files changed, 327 deletions(-) |
17 |
|
18 |
diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest |
19 |
index 3fc77cdb290..adc99c46987 100644 |
20 |
--- a/sys-libs/libomp/Manifest |
21 |
+++ b/sys-libs/libomp/Manifest |
22 |
@@ -1,12 +1,6 @@ |
23 |
DIST llvm-gentoo-patchset-12.0.1.tar.xz 5280 BLAKE2B 963d005bc7b636570be90eb841ac5bcaeb927538cc7de27683167111a17d6496677c7517de2ecfaf14b5d8ac22bad357be490b8a2ed9aba502fd5f447ecc99e9 SHA512 fc7c38e671555751650299c3a8bee44d5c7f26e11b68d5538c507fb7fe9ff2d349bdcd43bce90a448a747f082d523b3849d6bcda5e3ae2e998edcb926d6aa249 |
24 |
-DIST llvm-gentoo-patchset-13.0.0-rc2.tar.xz 5556 BLAKE2B e6c7ecfe8f842edc4d4f30a20c66973519182ecb46e21fb20b6c5fcb6d54cdef830fcb120a405b77f1332e3557acbbbbfa99170b20d17f137e0a63b2d0dc1258 SHA512 ddeaf1d07f0ba893ce93e5fe1eff1c0716769a7879fc503c397f4db7becb363f94747f59b6d53c204df73a93954fb0ca5aae6ad544ce55c964c4bf441a410cd2 |
25 |
-DIST llvm-gentoo-patchset-13.0.0-rc3.tar.xz 5012 BLAKE2B 5399feeffe73e8fbd099c8058f1cc41e2fcb2feb446acc1394589c0397167786895d328d45ff481fb30605f215774b9e51e332124c0b071e969a2f01c5943c04 SHA512 d4fb2b08e253d9fa89070045282b4309ca9938011bf7f9b5364cc69c5030ff9353abb1624895b4bfeef2cd8e2f8c9b9f93fc8196f98dc0970457bca7787270c9 |
26 |
-DIST llvm-gentoo-patchset-13.0.0-rc4.tar.xz 5016 BLAKE2B 021ba4e67904e4cf4dfdf1ecfc1cd1cc860c2f43db97e04c40ca7d95567f6235a27a2a919083c58b89b269eefa2d751cb9c324bda6518c22e9fc01007936a520 SHA512 dce61179dffafc5992fb0e18314bba2d5fbf2f0470a491bc1ffc036274b65d0a1de741b23e2de32e873250c856a53707e06f8c560bd29f8a54a6ae0c74267f43 |
27 |
DIST llvm-gentoo-patchset-13.0.0.tar.xz 5012 BLAKE2B 6760c78c086aaf6629143fd920b0a2c68cad9278628fbea8164dfeb59db95984a5b5d6b3505b510c697e8c95bf8d2be782c6b73c01622d52f2da9b07ecff39e0 SHA512 7764d49343b795b6bebae64f646ba27e3e6cc2a20b8a1aee645ce0d8474633c34acfbb73c08546fee415755dd4ea5a98c1d84db5e394cf5f4fc802eb61148ab6 |
28 |
DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151 |
29 |
DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81 |
30 |
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1 |
31 |
-DIST llvmorg-13.0.0-rc2.tar.gz 147267736 BLAKE2B 153bf7320f2aa911112d366ffc79f7110cb04f135c2a8b176c263f0a75eb768206d9bd462893d45504b0e58aa9e127fdcafb02300eab1666e4616aa654d457dd SHA512 a01baf3eaa02f02af42bfcf6dcf24f166351bf1c09601495617c81e41def23210573bad40a344270f40c5deb881d06863536abac2a6481930766a6a56335fb44 |
32 |
-DIST llvmorg-13.0.0-rc3.tar.gz 147281901 BLAKE2B 640065a2f32dc48edf084d776cb6b950fae86c2a204999e2eec67f93b57615df40adec19785099b0ef2fe11837c3304794ec3585289a5b5051a557618c63c749 SHA512 1401d5a4d6bb5c930d74b9cfbc8e792872f721aab7d7f0c819e2ba5cf47fb818d160c1f71784fba69827f3c9b7414aa91a585d2b813c1851b4799f9d62cebc46 |
33 |
-DIST llvmorg-13.0.0-rc4.tar.gz 147286367 BLAKE2B a43c54b8bb379b0374f99ae07066d7ba4ae2a83dfdb61390101c736f91dc44aa07a88778551aaaf903033562b2a0a863ea6b27392b700c9cddc74e2c7899cad1 SHA512 8ccaaea21ec4fe3c4b4446d3a7cae36a47ed196f407d341da45824bcefefffd3c412c0c5c27670ceaba1458bc53107273f9d3aec2de261b6b82c6d209b45b14d |
34 |
DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2 |
35 |
|
36 |
diff --git a/sys-libs/libomp/libomp-13.0.0_rc2.ebuild b/sys-libs/libomp/libomp-13.0.0_rc2.ebuild |
37 |
deleted file mode 100644 |
38 |
index 1ef78ad4ddc..00000000000 |
39 |
--- a/sys-libs/libomp/libomp-13.0.0_rc2.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,107 +0,0 @@ |
42 |
-# Copyright 1999-2021 Gentoo Authors |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=7 |
46 |
- |
47 |
-CMAKE_ECLASS=cmake |
48 |
-PYTHON_COMPAT=( python3_{8..10} ) |
49 |
-inherit cmake-multilib linux-info llvm.org python-any-r1 |
50 |
- |
51 |
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" |
52 |
-HOMEPAGE="https://openmp.llvm.org" |
53 |
- |
54 |
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="" |
57 |
-IUSE="cuda hwloc kernel_linux offload ompt test" |
58 |
-# CUDA works only with the x86_64 ABI |
59 |
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )" |
60 |
-RESTRICT="!test? ( test )" |
61 |
- |
62 |
-RDEPEND=" |
63 |
- hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] ) |
64 |
- offload? ( |
65 |
- virtual/libelf:=[${MULTILIB_USEDEP}] |
66 |
- dev-libs/libffi:=[${MULTILIB_USEDEP}] |
67 |
- cuda? ( dev-util/nvidia-cuda-toolkit:= ) |
68 |
- )" |
69 |
-# tests: |
70 |
-# - dev-python/lit provides the test runner |
71 |
-# - sys-devel/llvm provide test utils (e.g. FileCheck) |
72 |
-# - sys-devel/clang provides the compiler to run tests |
73 |
-DEPEND="${RDEPEND}" |
74 |
-BDEPEND="dev-lang/perl |
75 |
- offload? ( virtual/pkgconfig ) |
76 |
- test? ( |
77 |
- $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') |
78 |
- >=sys-devel/clang-6 |
79 |
- )" |
80 |
- |
81 |
-LLVM_COMPONENTS=( openmp llvm/include ) |
82 |
-LLVM_PATCHSET=13.0.0-rc2 |
83 |
-llvm.org_set_globals |
84 |
- |
85 |
-python_check_deps() { |
86 |
- has_version "dev-python/lit[${PYTHON_USEDEP}]" |
87 |
-} |
88 |
- |
89 |
-kernel_pds_check() { |
90 |
- if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then |
91 |
- local CONFIG_CHECK="~!SCHED_PDS" |
92 |
- local ERROR_SCHED_PDS="\ |
93 |
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11 |
94 |
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible |
95 |
-performance problems with libomp. If you are using one of the specified |
96 |
-kernel versions, you may want to disable the PDS scheduler." |
97 |
- |
98 |
- check_extra_config |
99 |
- fi |
100 |
-} |
101 |
- |
102 |
-pkg_pretend() { |
103 |
- kernel_pds_check |
104 |
-} |
105 |
- |
106 |
-pkg_setup() { |
107 |
- use test && python-any-r1_pkg_setup |
108 |
-} |
109 |
- |
110 |
-multilib_src_configure() { |
111 |
- local libdir="$(get_libdir)" |
112 |
- local mycmakeargs=( |
113 |
- -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}" |
114 |
- |
115 |
- -DLIBOMP_USE_HWLOC=$(usex hwloc) |
116 |
- -DLIBOMP_OMPT_SUPPORT=$(usex ompt) |
117 |
- |
118 |
- -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload) |
119 |
- |
120 |
- # do not install libgomp.so & libiomp5.so aliases |
121 |
- -DLIBOMP_INSTALL_ALIASES=OFF |
122 |
- # disable unnecessary hack copying stuff back to srcdir |
123 |
- -DLIBOMP_COPY_EXPORTS=OFF |
124 |
- ) |
125 |
- use offload && mycmakeargs+=( |
126 |
- # this is non-fatal and libomp checks for CUDA conditionally |
127 |
- # to ABI, so we can just ignore passing the wrong value |
128 |
- # on non-amd64 ABIs |
129 |
- -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda) |
130 |
- ) |
131 |
- use test && mycmakeargs+=( |
132 |
- # this project does not use standard LLVM cmake macros |
133 |
- -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit" |
134 |
- -DOPENMP_LIT_ARGS="$(get_lit_flags)" |
135 |
- |
136 |
- -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")" |
137 |
- -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")" |
138 |
- ) |
139 |
- addpredict /dev/nvidiactl |
140 |
- cmake_src_configure |
141 |
-} |
142 |
- |
143 |
-multilib_src_test() { |
144 |
- # respect TMPDIR! |
145 |
- local -x LIT_PRESERVES_TMP=1 |
146 |
- |
147 |
- cmake_build check-libomp |
148 |
-} |
149 |
|
150 |
diff --git a/sys-libs/libomp/libomp-13.0.0_rc3.ebuild b/sys-libs/libomp/libomp-13.0.0_rc3.ebuild |
151 |
deleted file mode 100644 |
152 |
index f7e3b8e6a10..00000000000 |
153 |
--- a/sys-libs/libomp/libomp-13.0.0_rc3.ebuild |
154 |
+++ /dev/null |
155 |
@@ -1,107 +0,0 @@ |
156 |
-# Copyright 1999-2021 Gentoo Authors |
157 |
-# Distributed under the terms of the GNU General Public License v2 |
158 |
- |
159 |
-EAPI=7 |
160 |
- |
161 |
-CMAKE_ECLASS=cmake |
162 |
-PYTHON_COMPAT=( python3_{8..10} ) |
163 |
-inherit cmake-multilib linux-info llvm.org python-any-r1 |
164 |
- |
165 |
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" |
166 |
-HOMEPAGE="https://openmp.llvm.org" |
167 |
- |
168 |
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
169 |
-SLOT="0" |
170 |
-KEYWORDS="" |
171 |
-IUSE="cuda hwloc kernel_linux offload ompt test" |
172 |
-# CUDA works only with the x86_64 ABI |
173 |
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )" |
174 |
-RESTRICT="!test? ( test )" |
175 |
- |
176 |
-RDEPEND=" |
177 |
- hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] ) |
178 |
- offload? ( |
179 |
- virtual/libelf:=[${MULTILIB_USEDEP}] |
180 |
- dev-libs/libffi:=[${MULTILIB_USEDEP}] |
181 |
- cuda? ( dev-util/nvidia-cuda-toolkit:= ) |
182 |
- )" |
183 |
-# tests: |
184 |
-# - dev-python/lit provides the test runner |
185 |
-# - sys-devel/llvm provide test utils (e.g. FileCheck) |
186 |
-# - sys-devel/clang provides the compiler to run tests |
187 |
-DEPEND="${RDEPEND}" |
188 |
-BDEPEND="dev-lang/perl |
189 |
- offload? ( virtual/pkgconfig ) |
190 |
- test? ( |
191 |
- $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') |
192 |
- >=sys-devel/clang-6 |
193 |
- )" |
194 |
- |
195 |
-LLVM_COMPONENTS=( openmp llvm/include ) |
196 |
-LLVM_PATCHSET=13.0.0-rc3 |
197 |
-llvm.org_set_globals |
198 |
- |
199 |
-python_check_deps() { |
200 |
- has_version "dev-python/lit[${PYTHON_USEDEP}]" |
201 |
-} |
202 |
- |
203 |
-kernel_pds_check() { |
204 |
- if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then |
205 |
- local CONFIG_CHECK="~!SCHED_PDS" |
206 |
- local ERROR_SCHED_PDS="\ |
207 |
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11 |
208 |
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible |
209 |
-performance problems with libomp. If you are using one of the specified |
210 |
-kernel versions, you may want to disable the PDS scheduler." |
211 |
- |
212 |
- check_extra_config |
213 |
- fi |
214 |
-} |
215 |
- |
216 |
-pkg_pretend() { |
217 |
- kernel_pds_check |
218 |
-} |
219 |
- |
220 |
-pkg_setup() { |
221 |
- use test && python-any-r1_pkg_setup |
222 |
-} |
223 |
- |
224 |
-multilib_src_configure() { |
225 |
- local libdir="$(get_libdir)" |
226 |
- local mycmakeargs=( |
227 |
- -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}" |
228 |
- |
229 |
- -DLIBOMP_USE_HWLOC=$(usex hwloc) |
230 |
- -DLIBOMP_OMPT_SUPPORT=$(usex ompt) |
231 |
- |
232 |
- -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload) |
233 |
- |
234 |
- # do not install libgomp.so & libiomp5.so aliases |
235 |
- -DLIBOMP_INSTALL_ALIASES=OFF |
236 |
- # disable unnecessary hack copying stuff back to srcdir |
237 |
- -DLIBOMP_COPY_EXPORTS=OFF |
238 |
- ) |
239 |
- use offload && mycmakeargs+=( |
240 |
- # this is non-fatal and libomp checks for CUDA conditionally |
241 |
- # to ABI, so we can just ignore passing the wrong value |
242 |
- # on non-amd64 ABIs |
243 |
- -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda) |
244 |
- ) |
245 |
- use test && mycmakeargs+=( |
246 |
- # this project does not use standard LLVM cmake macros |
247 |
- -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit" |
248 |
- -DOPENMP_LIT_ARGS="$(get_lit_flags)" |
249 |
- |
250 |
- -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")" |
251 |
- -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")" |
252 |
- ) |
253 |
- addpredict /dev/nvidiactl |
254 |
- cmake_src_configure |
255 |
-} |
256 |
- |
257 |
-multilib_src_test() { |
258 |
- # respect TMPDIR! |
259 |
- local -x LIT_PRESERVES_TMP=1 |
260 |
- |
261 |
- cmake_build check-libomp |
262 |
-} |
263 |
|
264 |
diff --git a/sys-libs/libomp/libomp-13.0.0_rc4.ebuild b/sys-libs/libomp/libomp-13.0.0_rc4.ebuild |
265 |
deleted file mode 100644 |
266 |
index 6ced29613f8..00000000000 |
267 |
--- a/sys-libs/libomp/libomp-13.0.0_rc4.ebuild |
268 |
+++ /dev/null |
269 |
@@ -1,107 +0,0 @@ |
270 |
-# Copyright 1999-2021 Gentoo Authors |
271 |
-# Distributed under the terms of the GNU General Public License v2 |
272 |
- |
273 |
-EAPI=7 |
274 |
- |
275 |
-CMAKE_ECLASS=cmake |
276 |
-PYTHON_COMPAT=( python3_{8..10} ) |
277 |
-inherit cmake-multilib linux-info llvm.org python-any-r1 |
278 |
- |
279 |
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" |
280 |
-HOMEPAGE="https://openmp.llvm.org" |
281 |
- |
282 |
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
283 |
-SLOT="0" |
284 |
-KEYWORDS="" |
285 |
-IUSE="cuda hwloc kernel_linux offload ompt test" |
286 |
-# CUDA works only with the x86_64 ABI |
287 |
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )" |
288 |
-RESTRICT="!test? ( test )" |
289 |
- |
290 |
-RDEPEND=" |
291 |
- hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] ) |
292 |
- offload? ( |
293 |
- virtual/libelf:=[${MULTILIB_USEDEP}] |
294 |
- dev-libs/libffi:=[${MULTILIB_USEDEP}] |
295 |
- cuda? ( dev-util/nvidia-cuda-toolkit:= ) |
296 |
- )" |
297 |
-# tests: |
298 |
-# - dev-python/lit provides the test runner |
299 |
-# - sys-devel/llvm provide test utils (e.g. FileCheck) |
300 |
-# - sys-devel/clang provides the compiler to run tests |
301 |
-DEPEND="${RDEPEND}" |
302 |
-BDEPEND="dev-lang/perl |
303 |
- offload? ( virtual/pkgconfig ) |
304 |
- test? ( |
305 |
- $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') |
306 |
- >=sys-devel/clang-6 |
307 |
- )" |
308 |
- |
309 |
-LLVM_COMPONENTS=( openmp llvm/include ) |
310 |
-LLVM_PATCHSET=${PV/_/-} |
311 |
-llvm.org_set_globals |
312 |
- |
313 |
-python_check_deps() { |
314 |
- has_version "dev-python/lit[${PYTHON_USEDEP}]" |
315 |
-} |
316 |
- |
317 |
-kernel_pds_check() { |
318 |
- if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then |
319 |
- local CONFIG_CHECK="~!SCHED_PDS" |
320 |
- local ERROR_SCHED_PDS="\ |
321 |
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11 |
322 |
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible |
323 |
-performance problems with libomp. If you are using one of the specified |
324 |
-kernel versions, you may want to disable the PDS scheduler." |
325 |
- |
326 |
- check_extra_config |
327 |
- fi |
328 |
-} |
329 |
- |
330 |
-pkg_pretend() { |
331 |
- kernel_pds_check |
332 |
-} |
333 |
- |
334 |
-pkg_setup() { |
335 |
- use test && python-any-r1_pkg_setup |
336 |
-} |
337 |
- |
338 |
-multilib_src_configure() { |
339 |
- local libdir="$(get_libdir)" |
340 |
- local mycmakeargs=( |
341 |
- -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}" |
342 |
- |
343 |
- -DLIBOMP_USE_HWLOC=$(usex hwloc) |
344 |
- -DLIBOMP_OMPT_SUPPORT=$(usex ompt) |
345 |
- |
346 |
- -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload) |
347 |
- |
348 |
- # do not install libgomp.so & libiomp5.so aliases |
349 |
- -DLIBOMP_INSTALL_ALIASES=OFF |
350 |
- # disable unnecessary hack copying stuff back to srcdir |
351 |
- -DLIBOMP_COPY_EXPORTS=OFF |
352 |
- ) |
353 |
- use offload && mycmakeargs+=( |
354 |
- # this is non-fatal and libomp checks for CUDA conditionally |
355 |
- # to ABI, so we can just ignore passing the wrong value |
356 |
- # on non-amd64 ABIs |
357 |
- -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda) |
358 |
- ) |
359 |
- use test && mycmakeargs+=( |
360 |
- # this project does not use standard LLVM cmake macros |
361 |
- -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit" |
362 |
- -DOPENMP_LIT_ARGS="$(get_lit_flags)" |
363 |
- |
364 |
- -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")" |
365 |
- -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")" |
366 |
- ) |
367 |
- addpredict /dev/nvidiactl |
368 |
- cmake_src_configure |
369 |
-} |
370 |
- |
371 |
-multilib_src_test() { |
372 |
- # respect TMPDIR! |
373 |
- local -x LIT_PRESERVES_TMP=1 |
374 |
- |
375 |
- cmake_build check-libomp |
376 |
-} |