diff options
Diffstat (limited to 'poky/meta/recipes-graphics/spir/spirv-tools_2020.6.bb')
-rw-r--r-- | poky/meta/recipes-graphics/spir/spirv-tools_2020.6.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/poky/meta/recipes-graphics/spir/spirv-tools_2020.6.bb b/poky/meta/recipes-graphics/spir/spirv-tools_2020.6.bb index b1899d3957..4f45c68bbe 100644 --- a/poky/meta/recipes-graphics/spir/spirv-tools_2020.6.bb +++ b/poky/meta/recipes-graphics/spir/spirv-tools_2020.6.bb @@ -11,11 +11,16 @@ SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git" UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" S = "${WORKDIR}/git" -inherit cmake python3native +inherit cmake DEPENDS = "spirv-headers" -EXTRA_OECMAKE += "-DSPIRV-Headers_SOURCE_DIR=${STAGING_EXECPREFIXDIR}" +EXTRA_OECMAKE += "\ + -DSPIRV-Headers_SOURCE_DIR=${STAGING_EXECPREFIXDIR} \ + -DSPIRV_TOOLS_BUILD_STATIC=OFF \ + -DBUILD_SHARED_LIBS=ON \ + -DSPIRV_SKIP_TESTS=ON \ +" do_install_append_class-target() { # reproducibility: remove build host path @@ -23,8 +28,9 @@ do_install_append_class-target() { -e 's:${STAGING_DIR_HOST}::g' } +# all the libraries are unversioned, so don't pack it on PN-dev +SOLIBS = ".so" FILES_SOLIBSDEV = "" -FILES_${PN} += "${libdir}/*.so" PACKAGES =+ "${PN}-lesspipe" FILES_${PN}-lesspipe = "${base_bindir}/spirv-lesspipe.sh" |