From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/offload/
Date: Sat, 25 Jan 2025 13:33:13 +0000 (UTC) [thread overview]
Message-ID: <1737811972.bc4a564693944aedcf2a3d1328f130e5e5ba0da8.mgorny@gentoo> (raw)
commit: bc4a564693944aedcf2a3d1328f130e5e5ba0da8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 25 13:04:08 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 25 13:32:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc4a5646
llvm-runtimes/offload: DeviceRTL is now built for all GPUs
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
llvm-runtimes/offload/offload-20.0.0.9999.ebuild | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/llvm-runtimes/offload/offload-20.0.0.9999.ebuild b/llvm-runtimes/offload/offload-20.0.0.9999.ebuild
index e215172e31f1..916fbb1fd4b2 100644
--- a/llvm-runtimes/offload/offload-20.0.0.9999.ebuild
+++ b/llvm-runtimes/offload/offload-20.0.0.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -79,21 +79,17 @@ src_configure() {
local ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)
local ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi)
local plugins="host"
- local gpus=
local build_devicertl=FALSE
if has "${CHOST%%-*}" aarch64 powerpc64le x86_64; then
if use llvm_targets_AMDGPU; then
plugins+=";amdgpu"
build_devicertl=TRUE
- gpus+="amdgpu"
fi
if use llvm_targets_NVPTX; then
plugins+=";cuda"
build_devicertl=TRUE
- gpus+="nvptx"
fi
- [[ ${gpus} == amdgpunvptx ]] && gpus=all
fi
local mycmakeargs=(
@@ -116,9 +112,6 @@ src_configure() {
-DLIBOMPTARGET_AMDGPU_ARCH=LIBOMPTARGET_AMDGPU_ARCH-NOTFOUND
-DLIBOMPTARGET_NVPTX_ARCH=LIBOMPTARGET_NVPTX_ARCH-NOTFOUND
)
- [[ -n ${gpus} ]] && mycmakeargs+=(
- -DLIBOMPTARGET_DEVICE_ARCHITECTURES="${gpus}"
- )
use test && mycmakeargs+=(
# this project does not use standard LLVM cmake macros
-DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
@@ -132,7 +125,7 @@ src_configure() {
cmake_src_configure
- if [[ -z ${gpus} ]]; then
+ if [[ ${build_devicertl} == FALSE ]]; then
# clang requires libomptarget.devicertl.a, but it can be empty
> "${BUILD_DIR}"/libomptarget.devicertl.a || die
fi
next reply other threads:[~2025-01-25 13:33 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-25 13:33 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-11 14:56 [gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/offload/ Michał Górny
2025-03-05 10:13 Michał Górny
2025-03-05 6:25 Michał Górny
2025-03-01 12:58 Michał Górny
2025-03-01 8:34 Michał Górny
2025-02-26 18:55 Michał Górny
2025-02-25 14:03 Michał Górny
2025-02-22 15:19 Michał Górny
2025-02-15 11:30 Michał Górny
2025-02-15 7:19 Michał Górny
2025-02-13 7:53 Michał Górny
2025-02-11 11:29 Michał Górny
2025-02-08 13:36 Michał Górny
2025-02-08 11:51 Michał Górny
2025-02-07 20:08 Arthur Zamarin
2025-02-07 20:08 Arthur Zamarin
2025-02-02 18:25 Michał Górny
2025-02-01 13:15 Michał Górny
2025-02-01 8:06 Michał Górny
2025-01-31 21:51 Michał Górny
2025-01-25 13:33 Michał Górny
2025-01-25 13:33 Michał Górny
2025-01-22 19:15 Michał Górny
2025-01-18 15:09 Michał Górny
2025-01-18 8:21 Michał Górny
2025-01-15 4:24 Michał Górny
2025-01-11 18:12 Michał Górny
2025-01-04 15:28 Michał Górny
2024-12-28 19:35 Michał Górny
2024-12-27 21:25 Michał Górny
2024-12-24 12:35 Michał Górny
2024-12-24 12:35 Michał Górny
2024-12-21 10:28 Michał Górny
2024-12-18 19:57 Sam James
2024-12-18 18:46 Michał Górny
2024-12-18 9:48 Michał Górny
2024-12-17 21:37 Michał Górny
2024-12-17 21:37 Michał Górny
2024-12-16 5:57 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1737811972.bc4a564693944aedcf2a3d1328f130e5e5ba0da8.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox