summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-09-28 23:14:55 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-09-29 11:52:30 +0200
commit8c7dc3245cbbf2b552174948f4c4a6eeb0d1596c (patch)
treeff68f4451994b2a05cec6d2b3d6c602c6113741e /dev-util/spirv-llvm-translator
parentapp-shells/atuin: drop 18.2.0 (diff)
downloadgentoo-8c7dc3245cbbf2b552174948f4c4a6eeb0d1596c.tar.gz
gentoo-8c7dc3245cbbf2b552174948f4c4a6eeb0d1596c.tar.bz2
gentoo-8c7dc3245cbbf2b552174948f4c4a6eeb0d1596c.zip
dev-util/spirv-llvm-translator: migrate to llvm-r1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/38807 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util/spirv-llvm-translator')
-rw-r--r--dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.4-r1.ebuild (renamed from dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.4.ebuild)6
-rw-r--r--dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.4-r1.ebuild (renamed from dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.4.ebuild)6
-rw-r--r--dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.4-r1.ebuild (renamed from dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.4.ebuild)6
3 files changed, 9 insertions, 9 deletions
diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.4.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.4-r1.ebuild
index f7eb7d04ee67..113b055e96ac 100644
--- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.4.ebuild
+++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.4-r1.ebuild
@@ -3,11 +3,11 @@
EAPI=8
-LLVM_MAX_SLOT="15"
+LLVM_COMPAT=( 15 )
MY_PN="SPIRV-LLVM-Translator"
MY_P="${MY_PN}-${PV}"
-inherit cmake flag-o-matic llvm
+inherit cmake flag-o-matic llvm-r1
DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR"
HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
@@ -46,7 +46,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DCCACHE_ALLOWED="OFF"
- -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
+ -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)"
-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv"
-DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF")
-Wno-dev
diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.4.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.4-r1.ebuild
index 915d4235fe88..1d22979a7c3c 100644
--- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.4.ebuild
+++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.4-r1.ebuild
@@ -3,11 +3,11 @@
EAPI=8
-LLVM_MAX_SLOT="16"
+LLVM_COMPAT=( 16 )
MY_PN="SPIRV-LLVM-Translator"
MY_P="${MY_PN}-${PV}"
-inherit cmake flag-o-matic llvm multiprocessing
+inherit cmake flag-o-matic llvm-r1 multiprocessing
DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR"
HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
@@ -50,7 +50,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DCCACHE_ALLOWED="OFF"
- -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
+ -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)"
-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv"
-DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF")
-Wno-dev
diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.4.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.4-r1.ebuild
index 096ab829dfbd..8438df3423b8 100644
--- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.4.ebuild
+++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.4-r1.ebuild
@@ -3,11 +3,11 @@
EAPI=8
-LLVM_MAX_SLOT="17"
+LLVM_COMPAT=( 17 )
MY_PN="SPIRV-LLVM-Translator"
MY_P="${MY_PN}-${PV}"
-inherit cmake flag-o-matic llvm multiprocessing
+inherit cmake flag-o-matic llvm-r1 multiprocessing
DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR"
HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
@@ -46,7 +46,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DCCACHE_ALLOWED="OFF"
- -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
+ -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)"
-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv"
-DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF")
-Wno-dev