We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
The compilation of the v2.1.12 fails on Alpinelinux 1 with the following error
ninja: job failed: /usr/bin/g++ -DBIF_LINK_BC -DCL_KHR_FP64_EXT -DGHAL3D=USC -DICBE_LINUX -DIGA_DISABLE_ENCODER_EXCEPTIONS -DIGC_CMAKE -DIGC_EXPORTS=1 -DIGC_SPIRV_ENABLED -DIGC_SPIRV_TOOLS_ENABLED -DIGC_VC_ENABLED -DINSIDE_PLUGIN -DISTDLIB_UMD -DLINUX -DLLVM_VERSION_MAJOR=14 -DNDEBUG -DNOMINMAX -DSTD_CALL -DUSC_EXPORTS=1 -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_SSSE3 -DVER_ORIGINALNAME=\"libigc.so.2.1.0\" -D_AMD64_ -D_COMPILER_DLL_ -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_IGC_ -D_SCL_SECURE_NO_WARNINGS -D__IGC_OPAQUE_POINTERS_API_ENABLED=false -D__IGC_OPAQUE_POINTERS_DEFAULT_ARG_CLANG=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Digc_dll_EXPORTS -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/llvm-deps-14.0.5/src/lld/ELF/../include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/WrapperLLVM/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/autogen -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/common -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/.. -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/../Common -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/../3d/common -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/../inc -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/../inc/common -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/../inc/common/Compiler -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/../inc/common/Compiler/API -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/../visa/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/Release -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/ocl_igc_shared/executable_format -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/AdaptorOCL/ocl_igc_interface/impl -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/Options -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/Options/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/Options/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/../inc/common/Compiler/common -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/cif/cif/.. -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/ZEBinWriter/zebin/source -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/ZEBinWriter/zebin/source/autogen -I/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/VectorCompiler/igcdeps/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/VectorCompiler/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/VectorCompiler/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/VectorCompiler/include/vc/InternalIntrinsics -I/builds/alpine/aports/testing/intel-graphics-compiler/src/vc-intrinsics/GenXIntrinsics/include -I/builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/VectorCompiler/intrbuild/lib/GenXIntrinsics/../../include -isystem /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/llvm-deps-14.0.5/src/llvm/include -isystem /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/build/IGC/llvm-deps-14.0.5/build/src/include -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -I/builds/alpine/aports/testing/intel-graphics-compiler/src/llvm-project/llvm/projects/llvm-spirv/include -fexceptions -fdata-sections -ffunction-sections -O2 -pipe -fmessage-length=0 -march=corei7 -mstackrealign -fms-extensions -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wwrite-strings -Wno-long-long -Wswitch -Wno-sign-compare -Wno-unused-result -Wno-enum-compare -Wno-type-limits -Wno-ignored-qualifiers -Wno-shadow -Wformat-security -Wno-extra -Wno-write-strings -finline -fno-strict-aliasing -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -Wno-unknown-pragmas -fPIC -Bsymbolic -fstack-protector -D_FORTIFY_SOURCE=2 -finline-functions -funswitch-loops -Wno-maybe-uninitialized -lrt -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -g -std=gnu++17 -fPIC -MD -MT IGC/CMakeFiles/igc_dll.dir/AdaptorOCL/dllInterfaceCompute.cpp.o -MF IGC/CMakeFiles/igc_dll.dir/AdaptorOCL/dllInterfaceCompute.cpp.o.d -o IGC/CMakeFiles/igc_dll.dir/AdaptorOCL/dllInterfaceCompute.cpp.o -c /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/dllInterfaceCompute.cpp /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/dllInterfaceCompute.cpp: In function 'bool TC::CheckForImageUsage(const std::string&)': /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/dllInterfaceCompute.cpp:438:19: error: 'SPIRV' was not declared in this scope; did you mean 'SPIRVCK'? 438 | std::optional<SPIRV::SPIRVModuleReport> report = IGCLLVM::makeOptional(SPIRV::getSpirvReport(repIS)); | ^~~~~ | SPIRVCK /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/dllInterfaceCompute.cpp:438:43: error: template argument 1 is invalid 438 | std::optional<SPIRV::SPIRVModuleReport> report = IGCLLVM::makeOptional(SPIRV::getSpirvReport(repIS)); | ^ /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/dllInterfaceCompute.cpp:438:76: error: 'SPIRV' is not a class, namespace, or enumeration 438 | std::optional<SPIRV::SPIRVModuleReport> report = IGCLLVM::makeOptional(SPIRV::getSpirvReport(repIS)); | ^~~~~ /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/dllInterfaceCompute.cpp:440:17: error: request for member 'has_value' in 'report', which is of non-class type 'int' 440 | if (!report.has_value()) | ^~~~~~~~~ /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/dllInterfaceCompute.cpp:443:5: error: 'SPIRV' is not a class, namespace, or enumeration 443 | SPIRV::SPIRVModuleTextReport textReport = SPIRV::formatSpirvReport(report.value()); | ^~~~~ /builds/alpine/aports/testing/intel-graphics-compiler/src/intel-graphics-compiler-2.1.12/IGC/AdaptorOCL/dllInterfaceCompute.cpp:445:25: error: 'textReport' was not declared in this scope 445 | auto it = std::find(textReport.Capabilities.begin(), textReport.Capabilities.end(), "ImageBasic"); | ^~~~~~~~~~
Both SPIRV-Headers and SPIRV-Tools are taken from the system
SPIRV-Headers
SPIRV-Tools
cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DIGC_METRICS=OFF \ -DIGC_OPTION__ARCHITECTURE_TARGET=Linux64 \ -DIGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds \ -DIGC_OPTION__USE_PREINSTALLED_SPIRV_HEADERS=ON \ -DIGC_OPTION__CLANG_MODE=Source \ -DIGC_OPTION__LLD_MODE=Source \ -DIGC_OPTION__LLVM_PREFERRED_VERSION="${_llvmver}" \ -DIGC_OPTION__LLVM_MODE=Source \ -DIGC_OPTION__LINK_KHRONOS_SPIRV_TRANSLATOR=OFF \ -DIGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC=OFF \ -DIGC_OPTION__VC_INTRINSICS_MODE=Source \ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include/spirv . -Wno-dev
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
The compilation of the v2.1.12 fails on Alpinelinux 1 with the following error
Both
SPIRV-Headers
andSPIRV-Tools
are taken from the systemThe text was updated successfully, but these errors were encountered: