glslang: only build shared libs for dev packages
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
This patch fail at do_package_qa
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/3035/steps/11/logs/errors
So I will sent a V2 that drop this patch
Jose Quaresma via lists.openembedded.org <quaresma.jose= [email protected]> escreveu no dia domingo, 7/02/2021 à(s) 01:51:
Quoted 81 lines
Signed-off-by Jose Quaresma <[email protected]>--- ...g-default-resource-limits-lib-static.patch | 28 +++++++++++++++++++ .../glslang/glslang_11.1.0.bb | 7 ++--- 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644
meta/recipes-graphics/glslang/glslang/0001-build-the-glslang-default-resource-limits-lib-static.patchdiff --git
a/meta/recipes-graphics/glslang/glslang/0001-build-the-glslang-default-resource-limits-lib-static.patchb/meta/recipes-graphics/glslang/glslang/0001-build-the-glslang-default-resource-limits-lib-static.patchnew file mode 100644
index 0000000000..111d85b212
---/dev/null
+++b/meta/recipes-graphics/glslang/glslang/0001-build-the-glslang-default-resource-limits-lib-static.patch(quoted diff) +6
-0@@ -0,0 +1,28 @@ +From 58ebb16f1ea50dbc4096ea24292be8e174528d75 Mon Sep 17 00:00:00 2001 +From: Jose Quaresma <[email protected]> +Date: Sun, 7 Feb 2021 01:30:39 +0000 +Subject: [PATCH] build the glslang-default-resource-limits lib statically + +Taken from(quoted diff) +22
-0+ +Upstream-Status: Pending + +Signed-off-by: Jose Quaresma <[email protected]> + +--- + StandAlone/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/StandAlone/CMakeLists.txt b/StandAlone/CMakeLists.txt +index bff9ab61..c4d10ae9 100644 +--- a/StandAlone/CMakeLists.txt ++++ b/StandAlone/CMakeLists.txt +@@ -31,7 +31,7 @@ + # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + # POSSIBILITY OF SUCH DAMAGE. + +-add_library(glslang-default-resource-limits ++add_library(glslang-default-resource-limits STATIC + ${CMAKE_CURRENT_SOURCE_DIR}/ResourceLimits.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/resource_limits_c.cpp) + set_property(TARGET glslang-default-resource-limits PROPERTY FOLDERglslang)
meta/recipes-graphics/glslang/glslang_11.1.0.bb +0
-0@@ -9,7 +9,9 @@ LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0& GPL-3-with-bison-exc
LIC_FILES_CHKSUM=
"file://LICENSE.txt;md5=c5ce49c0456e9b413b98a4368c378229"SRCREV = "
c594de23cdd790d64ad5f9c8b059baae0ee2941d"meta/recipes-graphics/glslang/glslang_11.1.0.bb +3
-5-SRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https" +SRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https \ + file://0001-build-the-glslang-default-resource-limits-lib-static.patch \ + " UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" S = "${WORKDIR}/git"@@ -23,7 +25,4 @@ EXTRA_OECMAKE = " \ -DBUILD_EXTERNAL=OFF \ " -SOLIBSDEV = "glslang.so" -FILES_${PN} += "${libdir}/*.so" - BBCLASSEXTEND = "native nativesdk" --2.30.0
Signature · 2 lines
best regards, José Quaresma