commit:     a32e1b3b02b5eb2cd25b1c25788f015b02fb224e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 10:05:09 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 10:05:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32e1b3b

llvm-core/clang-runtime: Resync 19.1.7

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

 .../clang-runtime/clang-runtime-19.1.7.ebuild      | 25 +++++++---------------
 1 file changed, 8 insertions(+), 17 deletions(-)

diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild 
b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild
index d4206dc08c77..da17e274d8da 100644
--- a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild
+++ b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit multilib-build toolchain-funcs
+inherit multilib-build
 
 DESCRIPTION="Meta-ebuild for clang runtime libraries"
 HOMEPAGE="https://clang.llvm.org/";
@@ -11,7 +11,7 @@ HOMEPAGE="https://clang.llvm.org/";
 LICENSE="metapackage"
 SLOT="${PV%%.*}"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos"
-IUSE="+compiler-rt libcxx openmp +sanitize"
+IUSE="+compiler-rt libcxx offload openmp +sanitize"
 REQUIRED_USE="sanitize? ( compiler-rt )"
 
 RDEPEND="
@@ -22,19 +22,10 @@ RDEPEND="
                )
        )
        libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )
-       openmp? ( >=llvm-runtimes/openmp-${PV}[${MULTILIB_USEDEP}] )
+       openmp? (
+               >=llvm-runtimes/openmp-${PV}[${MULTILIB_USEDEP}]
+               offload? (
+                       >=llvm-runtimes/offload-${PV}
+               )
+       )
 "
-
-pkg_pretend() {
-       if tc-is-clang; then
-               ewarn "You seem to be using clang as a system compiler.  As of 
clang-16,"
-               ewarn "upstream has turned a few warnings that commonly occur 
during"
-               ewarn "configure script runs into errors by default.  This 
causes some"
-               ewarn "configure tests to start failing, sometimes resulting in 
silent"
-               ewarn "breakage, missing functionality or runtime misbehavior.  
It is"
-               ewarn "not yet clear whether the change will remain or be 
reverted."
-               ewarn
-               ewarn "For more information, please see:"
-               ewarn 
"https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213";
-       fi
-}

Reply via email to