diff options
-rw-r--r-- | meta/recipes-graphics/spir/spirv-llvm-translator_21.1.0.bb (renamed from meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb b/meta/recipes-graphics/spir/spirv-llvm-translator_21.1.0.bb index 64a73ce55a..63fae47377 100644 --- a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb +++ b/meta/recipes-graphics/spir/spirv-llvm-translator_21.1.0.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d" | |||
6 | 6 | ||
7 | # pattern: llvm_branch_200, currently there are no minor releases, so, no llvm_branch_201 | 7 | # pattern: llvm_branch_200, currently there are no minor releases, so, no llvm_branch_201 |
8 | SPIRV_BRANCH = "llvm_release_${@oe.utils.trim_version('${PV}', 1).replace('.', '')}0" | 8 | SPIRV_BRANCH = "llvm_release_${@oe.utils.trim_version('${PV}', 1).replace('.', '')}0" |
9 | SRCREV = "74843f2186bb63b6802758222084da17fcbe603c" | 9 | SRCREV = "acb023b63a4bafd53d0ba6a1a452b1f0e5671458" |
10 | SRC_URI = " \ | 10 | SRC_URI = " \ |
11 | git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;tag=v${PV};branch=${SPIRV_BRANCH} \ | 11 | git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;tag=v${PV};branch=${SPIRV_BRANCH} \ |
12 | " | 12 | " |
@@ -20,6 +20,7 @@ inherit cmake pkgconfig python3native | |||
20 | # Specify any options you want to pass to cmake using EXTRA_OECMAKE: | 20 | # Specify any options you want to pass to cmake using EXTRA_OECMAKE: |
21 | # for CMAKE_SHARED_LIBS=OFF see https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1868 | 21 | # for CMAKE_SHARED_LIBS=OFF see https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1868 |
22 | EXTRA_OECMAKE = "\ | 22 | EXTRA_OECMAKE = "\ |
23 | -DBASE_LLVM_VERSION='${@oe.utils.trim_version('${PV}', 3)}' \ | ||
23 | -DBUILD_SHARED_LIBS=ON \ | 24 | -DBUILD_SHARED_LIBS=ON \ |
24 | -DCMAKE_BUILD_TYPE=Release \ | 25 | -DCMAKE_BUILD_TYPE=Release \ |
25 | -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ | 26 | -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ |