summaryrefslogtreecommitdiff
path: root/dev-libs/rocm-device-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-10 12:30:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-10 12:30:41 +0100
commitadd278b9601ff9e4af091c91c851ee46a185be8f (patch)
tree4b654beae0eec584ae1d1f3227a57607d591a0ea /dev-libs/rocm-device-libs
parentd8a7472fc6314625f7d16e0427004eb448412908 (diff)
gentoo auto-resync : 10:09:2024 - 12:30:41
Diffstat (limited to 'dev-libs/rocm-device-libs')
-rw-r--r--dev-libs/rocm-device-libs/Manifest4
-rw-r--r--dev-libs/rocm-device-libs/rocm-device-libs-6.1.1.ebuild13
-rw-r--r--dev-libs/rocm-device-libs/rocm-device-libs-6.1.2.ebuild13
3 files changed, 20 insertions, 10 deletions
diff --git a/dev-libs/rocm-device-libs/Manifest b/dev-libs/rocm-device-libs/Manifest
index c72b5c47799d..14bc6bdc081a 100644
--- a/dev-libs/rocm-device-libs/Manifest
+++ b/dev-libs/rocm-device-libs/Manifest
@@ -20,6 +20,6 @@ EBUILD rocm-device-libs-5.3.3.ebuild 1184 BLAKE2B bef07c38844eb218c333cf2fb00148
EBUILD rocm-device-libs-5.4.3.ebuild 1250 BLAKE2B 6013dd693a8120b5eeac654c9bad195428c34059eaef1bd40eaaf856f2edf331d8a3726fa46c077fe0aa62919f3ba68f518cfd9441d23020a06c293cd45f1042 SHA512 df101563920183c6a255f1461e718e28a01b4db355e3807c5a3e7b948627337950105deb7f77a857d489d9591c959909ad1e1957e4f21e3dffba08ee14514469
EBUILD rocm-device-libs-5.5.1.ebuild 1206 BLAKE2B 4e40b4f468a1f3f2bba04aff69de95796f4df079c737b17812a979531a70d62da394655e00d1956d2dd55248141b255a293c1e19fd189e0df3e168f2da9d4d1c SHA512 98a5d239e61f5690bed1af56f8d38f9e188d2f9a3e5c0409dab1afeda7b825b114037e5319daf650ba75916a15c16fef8bb3e61c63ef60255bfea95b4d34d44d
EBUILD rocm-device-libs-5.7.1.ebuild 1455 BLAKE2B 3185873cbed4c601d4d3b6b9142376a0af8c3d89718bf8e7a06215cfd9c25cefd956607f557cf721a3f9b68289b91212889d23888bffda7daf8d0c29b596c258 SHA512 f7db2da2818b9eaa4930dfac02e660e98a2b7dc5e326e1fde78acc98d5723a436052a628cf20254e5295a334980c9d350047503cb262ee4c9820d5ef889d170c
-EBUILD rocm-device-libs-6.1.1.ebuild 2249 BLAKE2B 0e118c5e35b8788affc6b20cbe2fd8473eeb8e1593c4e8b8a986cfcfe373cfdea367c267b0e4339dcb72759dadf75e742ddd696296576c7c61169c41f16440d0 SHA512 8a6a155224f845936279a0c33548d13253c66c9bc0c0b99399a82c69b611cebb76e2eea131dbcf74b6e6792e42c103f4e6f32582a2af25ccbd0567ec94ce6bea
-EBUILD rocm-device-libs-6.1.2.ebuild 2292 BLAKE2B 52ba4d9b7935c5d4a6a4499429c59740dd95a169dabab27a9e530a73cd46b2b8091dccb2033ee1ecbf9e02ed82b65f9f0f8c04b5ca0942a6caba572a225debbf SHA512 43d758a86ac9c64fd3d63a9fbbbe379c6c71fe395fd7b3a6060cfe48bbcdc179a612663a063950e0a30e9a081ee65537d8654697bebd34ecec00339e075109df
+EBUILD rocm-device-libs-6.1.1.ebuild 2378 BLAKE2B 1ec008b5d27effdde270dc25d431f5e936f0bed0864c53849fa63cb4e93539add93dfd54c80b1e9b86bc7ded956fcd098d5f2d917a475a639d6fb553f64be3b8 SHA512 e1d62c5f81476a8d45ca0a76a3b50a8ac6a7168f76cd6b7f88bb1bada1a80bcf0fdc6394709d7008a8c0700bae49e50a22e0490a705d15e7a88ab518600470b9
+EBUILD rocm-device-libs-6.1.2.ebuild 2421 BLAKE2B 595ff2f925a699804bf5f5e84ed11e9ea0536f34c274809627f3b66fc78a69071ba92c0984618bfad3744260e6ac5a2da7f28a6692a11a48c6ba1750aee5d59e SHA512 0cbdfb787bd5705b69f802af3bda7a12cbd3d546126542528e22113612d1064360de74eedb2d0096afc0034dc116e43978d8ce5e69c82427807d4a57f31cfc4c
MISC metadata.xml 486 BLAKE2B 39c4a21b96ad471942a38d1c46b2600e3544729a87cd01c79606d495c595f271d5c04621ec581d2322686aca56de5d7c4b2b0d6125fc8db15b1236b2c093c8c9 SHA512 1a7d6570a687bb55877c6a5d9cbd7dc30a72ec0613b84e33be0982ff46b8d80d89e502e50364afdcc1022d7620fc10317a411b27c255caeafa2b45a85a43fd8c
diff --git a/dev-libs/rocm-device-libs/rocm-device-libs-6.1.1.ebuild b/dev-libs/rocm-device-libs/rocm-device-libs-6.1.1.ebuild
index 04fd989b95cb..bd28fb96d253 100644
--- a/dev-libs/rocm-device-libs/rocm-device-libs-6.1.1.ebuild
+++ b/dev-libs/rocm-device-libs/rocm-device-libs-6.1.1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
LLVM_COMPAT=( 18 )
-inherit cmake llvm-r1
+inherit cmake flag-o-matic llvm-r1
MY_P=llvm-project-rocm-${PV}
components=( "amd/device-libs" )
@@ -66,12 +66,17 @@ src_prepare() {
}
src_configure() {
+ # Do not trust CMake with autoselecting Clang, as it autoselects the latest one
+ # producing too modern LLVM bitcode and causing linker errors in other packages.
+ # Clean up unsupported flags for the switched compiler, see #936099
+ local -x CC="$(get_llvm_prefix)/bin/clang"
+ local -x CXX="$(get_llvm_prefix)/bin/clang++"
+ strip-unsupported-flags
+
local mycmakeargs=(
-DLLVM_DIR="$(get_llvm_prefix)"
)
- # do not trust CMake with autoselecting Clang, as it autoselects the latest one
- # producing too modern LLVM bitcode and causing linker errors in other packages
- CC="$(get_llvm_prefix)/bin/clang" CXX="$(get_llvm_prefix)/bin/clang++" cmake_src_configure
+ cmake_src_configure
}
src_install() {
diff --git a/dev-libs/rocm-device-libs/rocm-device-libs-6.1.2.ebuild b/dev-libs/rocm-device-libs/rocm-device-libs-6.1.2.ebuild
index a6d5dd67438b..a19a93f076ef 100644
--- a/dev-libs/rocm-device-libs/rocm-device-libs-6.1.2.ebuild
+++ b/dev-libs/rocm-device-libs/rocm-device-libs-6.1.2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
LLVM_COMPAT=( 18 )
-inherit cmake llvm-r1
+inherit cmake flag-o-matic llvm-r1
MY_P=llvm-project-rocm-${PV}
components=( "amd/device-libs" )
@@ -67,12 +67,17 @@ src_prepare() {
}
src_configure() {
+ # Do not trust CMake with autoselecting Clang, as it autoselects the latest one
+ # producing too modern LLVM bitcode and causing linker errors in other packages.
+ # Clean up unsupported flags for the switched compiler, see #936099
+ local -x CC="$(get_llvm_prefix)/bin/clang"
+ local -x CXX="$(get_llvm_prefix)/bin/clang++"
+ strip-unsupported-flags
+
local mycmakeargs=(
-DLLVM_DIR="$(get_llvm_prefix)"
)
- # do not trust CMake with autoselecting Clang, as it autoselects the latest one
- # producing too modern LLVM bitcode and causing linker errors in other packages
- CC="$(get_llvm_prefix)/bin/clang" CXX="$(get_llvm_prefix)/bin/clang++" cmake_src_configure
+ cmake_src_configure
}
src_install() {