[packages/intel-graphics-compiler] up to 1.0.7423
atler
atler at pld-linux.org
Tue May 25 13:18:17 CEST 2021
commit fda78cb70457927e2e7424a1979c07f4a88db662
Author: Jan Palus <atler at pld-linux.org>
Date: Tue May 25 13:17:52 2021 +0200
up to 1.0.7423
cxx_flags.patch | 2 +-
intel-graphics-compiler.spec | 8 ++++----
pkgconfig.patch | 3 ++-
3 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/intel-graphics-compiler.spec b/intel-graphics-compiler.spec
index bc30937..150ce09 100644
--- a/intel-graphics-compiler.spec
+++ b/intel-graphics-compiler.spec
@@ -6,12 +6,12 @@
Summary: The Intel Graphics Compiler for OpenCL
Name: intel-graphics-compiler
-Version: 1.0.5353
-Release: 3
+Version: 1.0.7423
+Release: 1
License: MIT
Group: Libraries
Source0: https://github.com/intel/intel-graphics-compiler/archive/igc-%{version}/igc-%{version}.tar.gz
-# Source0-md5: bf101f596f63d1c9d6cddca10b9623ef
+# Source0-md5: a24f432bd43fe1f5ff04a2fa47961ad1
Patch0: pkgconfig.patch
Patch1: cxx_flags.patch
URL: https://github.com/intel/intel-graphics-compiler/
@@ -62,7 +62,7 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS:-%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG}" \
-DCCLANG_FROM_SYSTEM=ON \
- -DIGC_PREFERRED_LLVM_VERSION=%{llvm_version} \
+ -DIGC_OPTION__LLVM_PREFERRED_VERSION=%{llvm_version} \
-DIGC_BUILD__VC_ENABLED=OFF \
../
%{__make}
diff --git a/cxx_flags.patch b/cxx_flags.patch
index cf45427..9bb2a7a 100644
--- a/cxx_flags.patch
+++ b/cxx_flags.patch
@@ -33,7 +33,7 @@ diff -dur -x '*~' intel-graphics-compiler-igc-1.0.8.orig/visa/iga/BuildSetup.cma
@@ -43,7 +43,7 @@
#endforeach()
- if(UNIX_MAKEFILE_GENERATOR)
+ if(UNIX_MAKEFILE_GENERATOR AND NOT MSVC)
- set(COMMON_C_FLAGS "-fno-strict-aliasing -msse4.1 -std=gnu++0x -Wno-unused-function -fpermissive")
+ set(COMMON_C_FLAGS "-fno-strict-aliasing -std=gnu++0x -Wno-unused-function -fpermissive")
if(LINUX)
diff --git a/pkgconfig.patch b/pkgconfig.patch
index eeac84e..743a60a 100644
--- a/pkgconfig.patch
+++ b/pkgconfig.patch
@@ -1,7 +1,8 @@
diff -dur intel-graphics-compiler-igc-1.0.8.orig/IGC/AdaptorOCL/igc-opencl.pc.in intel-graphics-compiler-igc-1.0.8/IGC/AdaptorOCL/igc-opencl.pc.in
--- intel-graphics-compiler-igc-1.0.8.orig/IGC/AdaptorOCL/igc-opencl.pc.in 2019-06-08 02:25:42.000000000 +0200
+++ intel-graphics-compiler-igc-1.0.8/IGC/AdaptorOCL/igc-opencl.pc.in 2019-07-01 13:33:16.449380174 +0200
-@@ -1,7 +1,7 @@
+@@ -1,8 +1,8 @@
+
prefix=@IGC_INSTALL_TIME_ROOT_DIR@
exec_prefix=${prefix}
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/igc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/intel-graphics-compiler.git/commitdiff/fda78cb70457927e2e7424a1979c07f4a88db662
More information about the pld-cvs-commit
mailing list