LICENSE = "NCSA" LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d" BRANCH = "llvm_release_190" SRC_URI = "git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;branch=${BRANCH} \ git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;destsuffix=git/SPIRV-Headers;name=headers;branch=main \ " PV = "19.1.0+git" SRCREV = "d65c25a166531b2efb744358ad1dc5283e1cc72f" SRCREV_headers = "efb6b4099ddb8fa60f62956dee592c4b94ec6a49" SRCREV_FORMAT = "default_headers" S = "${WORKDIR}/git" DEPENDS = "spirv-tools clang" inherit cmake pkgconfig python3native # Specify any options you want to pass to cmake using EXTRA_OECMAKE: # for CMAKE_SHARED_LIBS=OFF see https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1868 EXTRA_OECMAKE = "\ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ -DCMAKE_SKIP_RPATH=ON \ -DLLVM_EXTERNAL_LIT=lit \ -DLLVM_INCLUDE_TESTS=ON \ -Wno-dev \ -DCCACHE_ALLOWED=FALSE \ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=${S}/SPIRV-Headers \ " BBCLASSEXTEND = "native nativesdk"