summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2021-02-13 00:59:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-13 17:01:13 +0000
commitf36e16564ece8c23bbf77f167353ef5d5098a01e (patch)
treedf63566567601368a8befa3514331135e689ef93
parentacf109c1a1a30907f7401f6225fcbfb5f2e39a58 (diff)
downloadpoky-f36e16564ece8c23bbf77f167353ef5d5098a01e.tar.gz
spirv-tools: build all libaries as shared
(From OE-Core rev: 817197e69a6b3945ffa5ba52ba5577b45e497fb3) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/spir/spirv-tools_2020.6.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-graphics/spir/spirv-tools_2020.6.bb b/meta/recipes-graphics/spir/spirv-tools_2020.6.bb
index a2cbaf426f..4f45c68bbe 100644
--- a/meta/recipes-graphics/spir/spirv-tools_2020.6.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_2020.6.bb
@@ -17,6 +17,8 @@ DEPENDS = "spirv-headers"
17 17
18EXTRA_OECMAKE += "\ 18EXTRA_OECMAKE += "\
19 -DSPIRV-Headers_SOURCE_DIR=${STAGING_EXECPREFIXDIR} \ 19 -DSPIRV-Headers_SOURCE_DIR=${STAGING_EXECPREFIXDIR} \
20 -DSPIRV_TOOLS_BUILD_STATIC=OFF \
21 -DBUILD_SHARED_LIBS=ON \
20 -DSPIRV_SKIP_TESTS=ON \ 22 -DSPIRV_SKIP_TESTS=ON \
21" 23"
22 24
@@ -26,8 +28,9 @@ do_install_append_class-target() {
26 -e 's:${STAGING_DIR_HOST}::g' 28 -e 's:${STAGING_DIR_HOST}::g'
27} 29}
28 30
31# all the libraries are unversioned, so don't pack it on PN-dev
32SOLIBS = ".so"
29FILES_SOLIBSDEV = "" 33FILES_SOLIBSDEV = ""
30FILES_${PN} += "${libdir}/*.so"
31 34
32PACKAGES =+ "${PN}-lesspipe" 35PACKAGES =+ "${PN}-lesspipe"
33FILES_${PN}-lesspipe = "${base_bindir}/spirv-lesspipe.sh" 36FILES_${PN}-lesspipe = "${base_bindir}/spirv-lesspipe.sh"