mirror of
https://git.yoctoproject.org/poky
synced 2026-03-05 14:59:41 +01:00
Just as pointed out in a previous commit: """ We'll continue tagging the repos contributing with SDK releases, as that is when all the testing of the various projects is performed together. """ Now the repo has updated and the 'stable' branch is forcely overriden. We need to use the 'sdk-1.3.204' branch. (From OE-Core rev: df6d96cc5e376c15a7c3416f3aaf306db3c15f42) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
42 lines
1.3 KiB
BlitzBasic
42 lines
1.3 KiB
BlitzBasic
SUMMARY = "The SPIR-V Tools project provides an API and commands for \
|
|
processing SPIR-V modules"
|
|
DESCRIPTION = "The project includes an assembler, binary module parser, \
|
|
disassembler, validator, and optimizer for SPIR-V."
|
|
HOMEPAGE = "https://github.com/KhronosGroup/SPIRV-Tools"
|
|
SECTION = "graphics"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
|
|
|
SRCREV = "45dd184c790d6bfc78a5a74a10c37e888b1823fa"
|
|
SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=sdk-1.3.204;protocol=https"
|
|
PE = "1"
|
|
UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake python3native
|
|
|
|
DEPENDS = "spirv-headers"
|
|
|
|
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
|
|
sed -i ${D}${libdir}/cmake/SPIRV-Tools/SPIRV-ToolsTarget.cmake \
|
|
-e 's:${STAGING_DIR_HOST}::g'
|
|
}
|
|
|
|
# all the libraries are unversioned, so don't pack it on PN-dev
|
|
SOLIBS = ".so"
|
|
FILES_SOLIBSDEV = ""
|
|
|
|
PACKAGES =+ "${PN}-lesspipe"
|
|
FILES:${PN}-lesspipe = "${base_bindir}/spirv-lesspipe.sh"
|
|
RDEPENDS:${PN}-lesspipe += "${PN} bash"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|