]> git.pld-linux.org Git - packages/intel-graphics-compiler.git/blobdiff - intel-graphics-compiler.spec
bump preferred llvm version to 12.0.0
[packages/intel-graphics-compiler.git] / intel-graphics-compiler.spec
index 70d5c9b1ab221568e30e98329f941f0d3a72ba9c..bc30937b565a0713f9d142a7ba894dbfde3c7a09 100644 (file)
@@ -1,17 +1,17 @@
 
 # requires the OpenCL patches
-%define llvm_version 10.0.0
+%define llvm_version 12.0.0
 
-%define opencl_clang_version 10.0.0
+%define opencl_clang_version 12.0.0
 
 Summary:       The Intel Graphics Compiler for OpenCL
 Name:          intel-graphics-compiler
-Version:       1.0.3698
-Release:       1
+Version:       1.0.5353
+Release:       3
 License:       MIT
 Group:         Libraries
 Source0:       https://github.com/intel/intel-graphics-compiler/archive/igc-%{version}/igc-%{version}.tar.gz
-# Source0-md5: f43e51a3692bcdeae9c9715ac2802620
+# Source0-md5: bf101f596f63d1c9d6cddca10b9623ef
 Patch0:                pkgconfig.patch
 Patch1:                cxx_flags.patch
 URL:           https://github.com/intel/intel-graphics-compiler/
@@ -19,6 +19,7 @@ BuildRequires:        llvm-devel >= %{llvm_version}
 BuildRequires: opencl-clang-devel >= %{opencl_clang_version}
 BuildRequires: cmake >= 3.2.0
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.605
 Requires:      %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -52,6 +53,8 @@ Pliki nagłówkowe biblioteki %{name}.
 %patch0 -p1
 %patch1 -p1
 
+%{__sed} -i -e 's/-Werror/-Werror -Wno-error=deprecated-declarations/' IGC/CMakeLists.txt
+
 %build
 install -d build
 cd build
@@ -60,6 +63,7 @@ cd build
        -DCMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS:-%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG}" \
        -DCCLANG_FROM_SYSTEM=ON \
        -DIGC_PREFERRED_LLVM_VERSION=%{llvm_version} \
+       -DIGC_BUILD__VC_ENABLED=OFF \
        ../
 %{__make}
 
This page took 0.107883 seconds and 4 git commands to generate.