LICENSE = "NCSA" LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d" BRANCH = "llvm_release_180" 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 = "18.1.0+git" SRCREV = "16b2900747a3cc7993eeb39d4a8442b432a3fda0" SRCREV_headers = "1c6bb2743599e6eb6f37b2969acc0aef812e32e3" 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"