X-Git-Url: http://git.pld-linux.org/?p=packages%2Fintel-graphics-compiler.git;a=blobdiff_plain;f=intel-graphics-compiler.spec;fp=intel-graphics-compiler.spec;h=e39bf2cf0abfea00640f75ce839f59820576b03d;hp=07beb1df8904f9bcb1004bd62fb533a769282498;hb=d70e1e15bb7cbcbe235d58d8d3b14fc43bd4b1a8;hpb=6a191e06c3c44300cc062eabb46b53f2eff349f8 diff --git a/intel-graphics-compiler.spec b/intel-graphics-compiler.spec index 07beb1d..e39bf2c 100644 --- a/intel-graphics-compiler.spec +++ b/intel-graphics-compiler.spec @@ -1,22 +1,24 @@ # requires the OpenCL patches -%define llvm_version 12.0.0 +%define llvm_version 13.0.0 -%define opencl_clang_version 12.0.0 +%define opencl_clang_version 13.0.0 Summary: The Intel Graphics Compiler for OpenCL Name: intel-graphics-compiler -Version: 1.0.7423 +Version: 1.0.8744 Release: 1 License: MIT Group: Libraries Source0: https://github.com/intel/intel-graphics-compiler/archive/igc-%{version}/igc-%{version}.tar.gz -# Source0-md5: a24f432bd43fe1f5ff04a2fa47961ad1 +# Source0-md5: 924a22c69af76c9679a6fa799d555bd2 +Source1: https://github.com/llvm/llvm-project/raw/llvmorg-%{llvm_version}/libunwind/include/mach-o/compact_unwind_encoding.h +# Source1-md5: de130d4e72f9e1c750ce09deee4aad4e Patch0: pkgconfig.patch Patch1: cxx_flags.patch Patch2: missing-header.patch -Patch3: llvm12.patch URL: https://github.com/intel/intel-graphics-compiler/ +BuildRequires: lld-devel >= %{llvm_version} BuildRequires: llvm-devel >= %{llvm_version} BuildRequires: opencl-clang-devel >= %{opencl_clang_version} BuildRequires: cmake >= 3.2.0 @@ -55,9 +57,10 @@ Pliki nagłówkowe biblioteki %{name}. %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 -%{__sed} -i -e 's/-Werror/-Werror -Wno-error=deprecated-declarations/' IGC/CMakeLists.txt +install -D %{SOURCE1} build/IGC/llvm-deps/src/libunwind/include/mach-o/compact_unwind_encoding.h + +%{__sed} -i -e 's/-Werror/-Werror -Wno-error=deprecated-declarations -Wno-error=nonnull/' IGC/CMakeLists.txt %build install -d build