Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/3] spirv-llvm-translator: small recipe cleanup
@ 2025-08-20 13:29 Ross Burton
  2025-08-20 13:29 ` [PATCH 2/3] spirv-tools: improve packaging Ross Burton
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Ross Burton @ 2025-08-20 13:29 UTC (permalink / raw)
  To: openembedded-core

- There is no need for python3native, as this recipe doesn't depend on
  other python modules.

- Inherit lib_package so the llvm-spirv binary is in a separate package
  to the libLLVMSPIRVLib.so library.

- Remove obsolete CMake options that no longer appear to be required.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../spir/spirv-llvm-translator_20.1.4.bb               | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb b/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
index 64a73ce55aa..3a090b7b5cb 100644
--- a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
+++ b/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
@@ -15,18 +15,10 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 DEPENDS = "llvm spirv-tools spirv-headers"
 
-inherit cmake pkgconfig python3native
+inherit cmake pkgconfig lib_package
 
-# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
-# for CMAKE_SHARED_LIBS=OFF see https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1868
 EXTRA_OECMAKE = "\
     -DBUILD_SHARED_LIBS=ON \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-    -DCMAKE_SKIP_RPATH=ON \
-    -DLLVM_EXTERNAL_LIT=lit \
-    -DLLVM_INCLUDE_TESTS=ON \
-    -Wno-dev \
     -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=${STAGING_INCDIR}/.. \
 "
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH 1/3] spirv-llvm-translator: small recipe cleanup
@ 2025-09-05 11:08 Ross Burton
  2025-09-05 17:29 ` [OE-core] " Khem Raj
  2025-09-08 12:28 ` Mathieu Dubois-Briand
  0 siblings, 2 replies; 10+ messages in thread
From: Ross Burton @ 2025-09-05 11:08 UTC (permalink / raw)
  To: openembedded-core

- There is no need for python3native, as this recipe doesn't depend on
  other python modules.

- Inherit lib_package so the llvm-spirv binary is in a separate package
  to the libLLVMSPIRVLib.so library.

- Remove obsolete CMake options that no longer appear to be required.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../spir/spirv-llvm-translator_20.1.4.bb               | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb b/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
index 64a73ce55aa..3a090b7b5cb 100644
--- a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
+++ b/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
@@ -15,18 +15,10 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 DEPENDS = "llvm spirv-tools spirv-headers"
 
-inherit cmake pkgconfig python3native
+inherit cmake pkgconfig lib_package
 
-# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
-# for CMAKE_SHARED_LIBS=OFF see https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1868
 EXTRA_OECMAKE = "\
     -DBUILD_SHARED_LIBS=ON \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-    -DCMAKE_SKIP_RPATH=ON \
-    -DLLVM_EXTERNAL_LIT=lit \
-    -DLLVM_INCLUDE_TESTS=ON \
-    -Wno-dev \
     -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=${STAGING_INCDIR}/.. \
 "
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-09-08 12:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20 13:29 [PATCH 1/3] spirv-llvm-translator: small recipe cleanup Ross Burton
2025-08-20 13:29 ` [PATCH 2/3] spirv-tools: improve packaging Ross Burton
2025-08-20 13:29 ` [PATCH 3/3] mesa: clean up libopencl-mesa dependencies Ross Burton
2025-08-20 17:17 ` [OE-core] [PATCH 1/3] spirv-llvm-translator: small recipe cleanup Khem Raj
2025-08-20 19:50   ` Ross Burton
2025-08-20 20:49     ` Khem Raj
2025-08-21  8:59 ` Mathieu Dubois-Briand
2025-08-21 13:34   ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2025-09-05 11:08 Ross Burton
2025-09-05 17:29 ` [OE-core] " Khem Raj
2025-09-08 12:28 ` Mathieu Dubois-Briand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox