diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2021-02-13 00:59:19 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-13 17:01:13 +0000 |
commit | f36e16564ece8c23bbf77f167353ef5d5098a01e (patch) | |
tree | df63566567601368a8befa3514331135e689ef93 | |
parent | acf109c1a1a30907f7401f6225fcbfb5f2e39a58 (diff) | |
download | poky-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.bb | 5 |
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 | ||
18 | EXTRA_OECMAKE += "\ | 18 | EXTRA_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 | ||
32 | SOLIBS = ".so" | ||
29 | FILES_SOLIBSDEV = "" | 33 | FILES_SOLIBSDEV = "" |
30 | FILES_${PN} += "${libdir}/*.so" | ||
31 | 34 | ||
32 | PACKAGES =+ "${PN}-lesspipe" | 35 | PACKAGES =+ "${PN}-lesspipe" |
33 | FILES_${PN}-lesspipe = "${base_bindir}/spirv-lesspipe.sh" | 36 | FILES_${PN}-lesspipe = "${base_bindir}/spirv-lesspipe.sh" |