diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-12 21:27:08 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-20 07:48:27 -0700 |
commit | 2d9f57f54816dee7ee143ffbd1a780ed03526268 (patch) | |
tree | a46cd5b351851f22c95262186318e6c8593539a2 /recipes-devtools | |
parent | 8daf40dcef7f4867bad01eb9c26c74125e5403b7 (diff) | |
download | meta-clang-2d9f57f54816dee7ee143ffbd1a780ed03526268.tar.gz |
spirv-llvm-translator: Update to latest 16.0.0 branch
Try to compile with clang 16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/spirv-llvm-translator/spirv-llvm-translator_git.bb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/recipes-devtools/spirv-llvm-translator/spirv-llvm-translator_git.bb b/recipes-devtools/spirv-llvm-translator/spirv-llvm-translator_git.bb index 7f214d3..4354c55 100644 --- a/recipes-devtools/spirv-llvm-translator/spirv-llvm-translator_git.bb +++ b/recipes-devtools/spirv-llvm-translator/spirv-llvm-translator_git.bb | |||
@@ -1,14 +1,14 @@ | |||
1 | LICENSE = "NCSA" | 1 | LICENSE = "NCSA" |
2 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d" | 2 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d" |
3 | 3 | ||
4 | BRANCH = "main" | 4 | BRANCH = "llvm_release_160" |
5 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;branch=${BRANCH} \ | 5 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;branch=${BRANCH} \ |
6 | git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;destsuffix=git/SPIRV-Headers;name=headers;branch=master \ | 6 | git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;destsuffix=git/SPIRV-Headers;name=headers;branch=main \ |
7 | " | 7 | " |
8 | 8 | ||
9 | PV = "15.0.0" | 9 | PV = "16.0.0+git${SRCPV}" |
10 | SRCREV = "1b8a00741caafac50de84f1f860b78e702722585" | 10 | SRCREV = "5fdc47b1a94dbf2ad19b3a807736ddde5173e3db" |
11 | SRCREV_headers = "0bcc624926a25a2a273d07877fd25a6ff5ba1cfb" | 11 | SRCREV_headers = "295cf5fb3bfe2454360e82b26bae7fc0de699abe" |
12 | 12 | ||
13 | SRCREV_FORMAT = "default_headers" | 13 | SRCREV_FORMAT = "default_headers" |
14 | 14 | ||
@@ -18,12 +18,10 @@ DEPENDS = "spirv-tools clang" | |||
18 | 18 | ||
19 | inherit cmake pkgconfig python3native | 19 | inherit cmake pkgconfig python3native |
20 | 20 | ||
21 | OECMAKE_GENERATOR = "Unix Makefiles" | ||
22 | |||
23 | # Specify any options you want to pass to cmake using EXTRA_OECMAKE: | 21 | # Specify any options you want to pass to cmake using EXTRA_OECMAKE: |
24 | EXTRA_OECMAKE = "\ | 22 | EXTRA_OECMAKE = "\ |
23 | -DBASE_LLVM_VERSION=${LLVMVERSION} \ | ||
25 | -DBUILD_SHARED_LIBS=ON \ | 24 | -DBUILD_SHARED_LIBS=ON \ |
26 | -DLLVM_SPIRV_BUILD_EXTERNAL=YES \ | ||
27 | -DCMAKE_BUILD_TYPE=Release \ | 25 | -DCMAKE_BUILD_TYPE=Release \ |
28 | -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ | 26 | -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ |
29 | -DCMAKE_SKIP_RPATH=ON \ | 27 | -DCMAKE_SKIP_RPATH=ON \ |