devel/intel-graphics-compiler: unbundle vc-intrinsics after 3386640541
This commit is contained in:
parent
8f56cf06ae
commit
0b8840600b
@ -18,13 +18,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
ONLY_FOR_ARCHS_REASON= Only Intel GPUs on x86 are supported
|
||||
|
||||
BUILD_DEPENDS= vc-intrinsics-llvm11>=s20210730:devel/vc-intrinsics@llvm11
|
||||
LIB_DEPENDS= libopencl-clang.so.11:devel/opencl-clang@llvm11
|
||||
|
||||
USES= bison cmake compiler:c++17-lang python:build
|
||||
USE_GITHUB= yes
|
||||
USE_LDCONFIG= yes
|
||||
GH_ACCOUNT= intel
|
||||
GH_TUPLE= intel:vc-intrinsics:05d3f3d:vcintrin/../vc-intrinsics
|
||||
CMAKE_OFF= INSTALL_SPIRVDLL
|
||||
CMAKE_ARGS= -DCMAKE_PREFIX_PATH:PATH="${LOCALBASE}/${LIB_DEPENDS:M*@llvm*:C/.*@//}" \
|
||||
-DIGC_OPTION__LLVM_PREFERRED_VERSION:STRING="${LIB_DEPENDS:M*@llvm*:C/.*so\.//:C/:.*//}"
|
||||
|
@ -1,8 +1,6 @@
|
||||
TIMESTAMP = 1626602428
|
||||
SHA256 (intel-intel-graphics-compiler-igc-1.0.8173_GH0.tar.gz) = 20794f1451b971c82ed824dd65723a6c562158e8061644e596b53417e9daa045
|
||||
SIZE (intel-intel-graphics-compiler-igc-1.0.8173_GH0.tar.gz) = 7471884
|
||||
SHA256 (intel-vc-intrinsics-05d3f3d_GH0.tar.gz) = 7d3df322a91ea9d95ef606b9d5a2580d6deb426f779ba921ae3a799a5e642c4f
|
||||
SIZE (intel-vc-intrinsics-05d3f3d_GH0.tar.gz) = 126560
|
||||
SHA256 (b7f29ee948b9.patch) = f47c5d7b37d4ae264eef37646afbcbaadd370ad91035895630bd52da7cf82452
|
||||
SIZE (b7f29ee948b9.patch) = 1199
|
||||
SHA256 (a69ee09275fe.patch) = e3f293844338d50e6c6d8f0213377637dc1eefc79bfd07c92e889ed8a8d8dd1f
|
||||
|
@ -0,0 +1,21 @@
|
||||
https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/dynamic-layers/clang-layer/recipes-opencl/igc/files/link-to-LLVMGenXIntrinsics.patch
|
||||
|
||||
--- IGC/VectorCompiler/CMakeLists.txt.orig 2021-07-18 10:00:28 UTC
|
||||
+++ IGC/VectorCompiler/CMakeLists.txt
|
||||
@@ -44,6 +44,8 @@ endif()
|
||||
|
||||
# --- VC Intrinsics ---
|
||||
|
||||
+find_package(LLVMGenXIntrinsics)
|
||||
+if(NOT LLVMGenXIntrinsics_FOUND)
|
||||
if(DEFINED VC_INTRINSICS_SRC)
|
||||
set(INTRSRC "${VC_INTRINSICS_SRC}/GenXIntrinsics")
|
||||
endif()
|
||||
@@ -58,6 +61,7 @@ set(BUILD_EXTERNAL YES)
|
||||
# We are using prebuilt SPIRV and building intrinsics.
|
||||
set(INTRBUILD "${CMAKE_CURRENT_BINARY_DIR}/intrbuild")
|
||||
add_subdirectory(${INTRSRC} ${INTRBUILD} EXCLUDE_FROM_ALL)
|
||||
+endif(NOT LLVMGenXIntrinsics_FOUND)
|
||||
|
||||
include(cmake/spirv.cmake)
|
||||
|
Loading…
Reference in New Issue
Block a user