summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/shaderc/shaderc_2020.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/shaderc/shaderc_2020.4.bb')
-rw-r--r--meta/recipes-graphics/shaderc/shaderc_2020.4.bb10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-graphics/shaderc/shaderc_2020.4.bb b/meta/recipes-graphics/shaderc/shaderc_2020.4.bb
index e886e81d0e..18a08ee6c5 100644
--- a/meta/recipes-graphics/shaderc/shaderc_2020.4.bb
+++ b/meta/recipes-graphics/shaderc/shaderc_2020.4.bb
@@ -8,16 +8,20 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
8 8
9SRCREV = "0dbd899941a43ffd55df527d65128b3b66e75c9c" 9SRCREV = "0dbd899941a43ffd55df527d65128b3b66e75c9c"
10SRC_URI = "git://github.com/google/shaderc.git;protocol=https;branch=main \ 10SRC_URI = "git://github.com/google/shaderc.git;protocol=https;branch=main \
11 file://0001-Fix-the-link-order-of-libglslang-and-libHLSL.patch \ 11 file://0001-cmake-de-vendor-libs-and-disable-git-versioning.patch \
12 file://0003-cmake-de-vendor-libs-and-disable-git-versioning.patch \
13 " 12 "
13UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit cmake python3native 16inherit cmake python3native
17 17
18DEPENDS = "spirv-tools glslang" 18DEPENDS = "spirv-tools glslang"
19 19
20EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DSHADERC_SKIP_TESTS=ON" 20EXTRA_OECMAKE = " \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DSHADERC_SKIP_TESTS=ON \
23 -Dglslang_SOURCE_DIR=${STAGING_INCDIR}/glslang \
24"
21 25
22BBCLASSEXTEND = "native nativesdk" 26BBCLASSEXTEND = "native nativesdk"
23 27