diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/shaderc/files/0003-cmake-de-vendor-libs-and-disable-git-versioning.patch | 19 | ||||
-rw-r--r-- | meta/recipes-graphics/shaderc/shaderc_2020.4.bb (renamed from meta/recipes-graphics/shaderc/shaderc_2020.3.bb) | 2 |
2 files changed, 8 insertions, 13 deletions
diff --git a/meta/recipes-graphics/shaderc/files/0003-cmake-de-vendor-libs-and-disable-git-versioning.patch b/meta/recipes-graphics/shaderc/files/0003-cmake-de-vendor-libs-and-disable-git-versioning.patch index 0d58925adc..e4e3f0be1e 100644 --- a/meta/recipes-graphics/shaderc/files/0003-cmake-de-vendor-libs-and-disable-git-versioning.patch +++ b/meta/recipes-graphics/shaderc/files/0003-cmake-de-vendor-libs-and-disable-git-versioning.patch | |||
@@ -1,11 +1,12 @@ | |||
1 | From e092619a9ef7910ad56acfb8728c66f0125d176a Mon Sep 17 00:00:00 2001 | 1 | From 180250f098e0ab899eff0db3708d9693f3486ff4 Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sat, 17 Oct 2020 12:51:50 +0100 | 3 | Date: Sat, 17 Oct 2020 12:51:50 +0100 |
4 | Subject: [PATCH 3/3] cmake: de-vendor libs and disable git versioning | 4 | Subject: [PATCH] cmake: de-vendor libs and disable git versioning |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [configuration] | 6 | Upstream-Status: Inappropriate [configuration] |
7 | 7 | ||
8 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | 8 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> |
9 | |||
9 | --- | 10 | --- |
10 | CMakeLists.txt | 2 -- | 11 | CMakeLists.txt | 2 -- |
11 | glslc/CMakeLists.txt | 1 - | 12 | glslc/CMakeLists.txt | 1 - |
@@ -14,18 +15,15 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
14 | create mode 100644 glslc/src/build-version.inc | 15 | create mode 100644 glslc/src/build-version.inc |
15 | 16 | ||
16 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 17 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
17 | index a4e779b..cfa7bd8 100644 | 18 | index 5c74cd8..9451fbc 100644 |
18 | --- a/CMakeLists.txt | 19 | --- a/CMakeLists.txt |
19 | +++ b/CMakeLists.txt | 20 | +++ b/CMakeLists.txt |
20 | @@ -70,7 +70,6 @@ endif(MSVC) | 21 | @@ -102,12 +102,10 @@ endif(MSVC) |
21 | 22 | ||
22 | # Configure subdirectories. | 23 | # Configure subdirectories. |
23 | # We depend on these for later projects, so they should come first. | 24 | # We depend on these for later projects, so they should come first. |
24 | -add_subdirectory(third_party) | 25 | -add_subdirectory(third_party) |
25 | 26 | ||
26 | if(SHADERC_ENABLE_SPVC) | ||
27 | add_subdirectory(libshaderc_spvc) | ||
28 | @@ -79,7 +78,6 @@ endif() | ||
29 | add_subdirectory(libshaderc_util) | 27 | add_subdirectory(libshaderc_util) |
30 | add_subdirectory(libshaderc) | 28 | add_subdirectory(libshaderc) |
31 | add_subdirectory(glslc) | 29 | add_subdirectory(glslc) |
@@ -34,10 +32,10 @@ index a4e779b..cfa7bd8 100644 | |||
34 | add_custom_target(build-version | 32 | add_custom_target(build-version |
35 | ${PYTHON_EXECUTABLE} | 33 | ${PYTHON_EXECUTABLE} |
36 | diff --git a/glslc/CMakeLists.txt b/glslc/CMakeLists.txt | 34 | diff --git a/glslc/CMakeLists.txt b/glslc/CMakeLists.txt |
37 | index 0f5d888..08686e0 100644 | 35 | index 35b3f19..52006b8 100644 |
38 | --- a/glslc/CMakeLists.txt | 36 | --- a/glslc/CMakeLists.txt |
39 | +++ b/glslc/CMakeLists.txt | 37 | +++ b/glslc/CMakeLists.txt |
40 | @@ -26,7 +26,6 @@ shaderc_default_compile_options(glslc_exe) | 38 | @@ -53,7 +53,6 @@ shaderc_default_compile_options(glslc_exe) |
41 | target_include_directories(glslc_exe PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/.. ${spirv-tools_SOURCE_DIR}/include) | 39 | target_include_directories(glslc_exe PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/.. ${spirv-tools_SOURCE_DIR}/include) |
42 | set_target_properties(glslc_exe PROPERTIES OUTPUT_NAME glslc) | 40 | set_target_properties(glslc_exe PROPERTIES OUTPUT_NAME glslc) |
43 | target_link_libraries(glslc_exe PRIVATE glslc shaderc_util shaderc) | 41 | target_link_libraries(glslc_exe PRIVATE glslc shaderc_util shaderc) |
@@ -48,6 +46,3 @@ index 0f5d888..08686e0 100644 | |||
48 | diff --git a/glslc/src/build-version.inc b/glslc/src/build-version.inc | 46 | diff --git a/glslc/src/build-version.inc b/glslc/src/build-version.inc |
49 | new file mode 100644 | 47 | new file mode 100644 |
50 | index 0000000..e69de29 | 48 | index 0000000..e69de29 |
51 | -- | ||
52 | 2.28.0 | ||
53 | |||
diff --git a/meta/recipes-graphics/shaderc/shaderc_2020.3.bb b/meta/recipes-graphics/shaderc/shaderc_2020.4.bb index f5edf53caf..ee9b118371 100644 --- a/meta/recipes-graphics/shaderc/shaderc_2020.3.bb +++ b/meta/recipes-graphics/shaderc/shaderc_2020.4.bb | |||
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/google/shaderc" | |||
6 | LICENSE = "Apache-2.0" | 6 | LICENSE = "Apache-2.0" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
8 | 8 | ||
9 | SRCREV = "1fce59794079f90ceb091190adbbb5499acd4e95" | 9 | SRCREV = "0dbd899941a43ffd55df527d65128b3b66e75c9c" |
10 | SRC_URI = "git://github.com/google/shaderc.git;protocol=https;branch=main \ | 10 | SRC_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-Fix-the-link-order-of-libglslang-and-libHLSL.patch \ |
12 | file://0003-cmake-de-vendor-libs-and-disable-git-versioning.patch \ | 12 | file://0003-cmake-de-vendor-libs-and-disable-git-versioning.patch \ |