summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/vk-gl-cts/files
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2020-07-16 01:05:56 +0300
committerKhem Raj <raj.khem@gmail.com>2020-07-16 07:14:00 -0700
commita5449a234a08d09ceb2dcd3c3773b1aca6bf5549 (patch)
tree2763555b79463afab1bf65112e83e863bf8d342a /meta-oe/recipes-graphics/vk-gl-cts/files
parent3063ae3b14d2220fd54042c9a3869a2d44c48f84 (diff)
downloadmeta-openembedded-a5449a234a08d09ceb2dcd3c3773b1aca6bf5549.tar.gz
recipes-graphics: add Khronos OpenGL ES and Vulkan CTS recipes
Add recipes packaging OpenGL ES and Vulkan conformance test suite recipes. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/vk-gl-cts/files')
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch15
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch24
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch
new file mode 100644
index 0000000000..b4573b38b5
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch
@@ -0,0 +1,15 @@
1Index: git/external/glslang/src/glslang/Include/PoolAlloc.h
2===================================================================
3--- git.orig/external/glslang/src/glslang/Include/PoolAlloc.h
4+++ git/external/glslang/src/glslang/Include/PoolAlloc.h
5@@ -240,8 +240,9 @@ protected:
6
7 int numCalls; // just an interesting statistic
8 size_t totalBytes; // just an interesting statistic
9-private:
10+public:
11 TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator
12+private:
13 TPoolAllocator(const TPoolAllocator&); // don't allow default copy constructor
14 };
15
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch
new file mode 100644
index 0000000000..4116ae7d14
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch
@@ -0,0 +1,24 @@
1Index: git/framework/delibs/dethread/CMakeLists.txt
2===================================================================
3--- git.orig/framework/delibs/dethread/CMakeLists.txt
4+++ git/framework/delibs/dethread/CMakeLists.txt
5@@ -39,6 +39,7 @@ include_directories(
6
7 if (DE_OS_IS_UNIX)
8 add_definitions(-D_GNU_SOURCE)
9+ add_definitions(-D_XOPEN_SOURCE=600)
10 set(DETHREAD_LIBS ${DETHREAD_LIBS} pthread)
11 endif ()
12
13Index: git/framework/qphelper/CMakeLists.txt
14===================================================================
15--- git.orig/framework/qphelper/CMakeLists.txt
16+++ git/framework/qphelper/CMakeLists.txt
17@@ -28,6 +28,7 @@ set(QPHELPER_LIBS
18 if (DE_OS_IS_UNIX OR DE_OS_IS_QNX)
19 # For vsnprintf()
20 add_definitions(-D_XOPEN_SOURCE=600)
21+ set(QPHELPER_LIBS ${QPHELPER_LIBS} execinfo)
22 endif ()
23
24 if (DE_OS_IS_WIN32 AND DE_COMPILER_IS_MSC)