public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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, 08 Feb 2025 13:36:22 +0000 (UTC)	[thread overview]
Message-ID: <1739021779.c42f128304e7aed01879945de1cdefcd0c4bd8a7.mgorny@gentoo> (raw)

commit:     c42f128304e7aed01879945de1cdefcd0c4bd8a7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 13:34:17 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 13:36:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42f1283

llvm-runtimes/offload: Support building 21.x with GCC

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

 llvm-runtimes/offload/offload-21.0.0.9999.ebuild        | 11 +----------
 llvm-runtimes/offload/offload-21.0.0_pre20250208.ebuild | 11 +----------
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/llvm-runtimes/offload/offload-21.0.0.9999.ebuild b/llvm-runtimes/offload/offload-21.0.0.9999.ebuild
index 77e2f9dc1763..449f09fef8cf 100644
--- a/llvm-runtimes/offload/offload-21.0.0.9999.ebuild
+++ b/llvm-runtimes/offload/offload-21.0.0.9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
-inherit cmake flag-o-matic llvm.org python-any-r1 toolchain-funcs
+inherit cmake llvm.org python-any-r1 toolchain-funcs
 
 DESCRIPTION="OpenMP offloading support"
 HOMEPAGE="https://openmp.llvm.org"
@@ -39,10 +39,6 @@ BDEPEND="
 		llvm-core/clang
 	)
 "
-# TODO: can it be fixed to compile with gcc?
-BDEPEND+="
-	llvm-core/clang
-"
 
 LLVM_COMPONENTS=( offload cmake runtimes/cmake libc/shared )
 LLVM_TEST_COMPONENTS=( openmp/cmake )
@@ -67,11 +63,6 @@ pkg_setup() {
 }
 
 src_configure() {
-	# TODO
-	local -x CC=${CHOST}-clang
-	local -x CXX=${CHOST}-clang++
-	strip-unsupported-flags
-
 	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
 	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
 

diff --git a/llvm-runtimes/offload/offload-21.0.0_pre20250208.ebuild b/llvm-runtimes/offload/offload-21.0.0_pre20250208.ebuild
index 77e2f9dc1763..449f09fef8cf 100644
--- a/llvm-runtimes/offload/offload-21.0.0_pre20250208.ebuild
+++ b/llvm-runtimes/offload/offload-21.0.0_pre20250208.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
-inherit cmake flag-o-matic llvm.org python-any-r1 toolchain-funcs
+inherit cmake llvm.org python-any-r1 toolchain-funcs
 
 DESCRIPTION="OpenMP offloading support"
 HOMEPAGE="https://openmp.llvm.org"
@@ -39,10 +39,6 @@ BDEPEND="
 		llvm-core/clang
 	)
 "
-# TODO: can it be fixed to compile with gcc?
-BDEPEND+="
-	llvm-core/clang
-"
 
 LLVM_COMPONENTS=( offload cmake runtimes/cmake libc/shared )
 LLVM_TEST_COMPONENTS=( openmp/cmake )
@@ -67,11 +63,6 @@ pkg_setup() {
 }
 
 src_configure() {
-	# TODO
-	local -x CC=${CHOST}-clang
-	local -x CXX=${CHOST}-clang++
-	strip-unsupported-flags
-
 	# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
 	use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
 


             reply	other threads:[~2025-02-08 13:36 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-08 13:36 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 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-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=1739021779.c42f128304e7aed01879945de1cdefcd0c4bd8a7.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