commit 9b211843920d3ff1ffc092052badd693439572e9 Author: Jacek Konieczny <j.koniec...@eggsoft.pl> Date: Wed Jul 3 10:27:53 2019 +0200
use sane CXXFLAGS intel-graphics-compiler, like the rest of compute-runtime is designed for newer Intel processors, so it uses all the newest features by default, but we need to be able to use it on our builders too, to build the intel-compute-runtime package. intel-graphics-compiler.spec | 4 ++++ 1 file changed, 4 insertions(+) --- diff --git a/intel-graphics-compiler.spec b/intel-graphics-compiler.spec index 96873c5..6d9377e 100644 --- a/intel-graphics-compiler.spec +++ b/intel-graphics-compiler.spec @@ -13,6 +13,7 @@ Group: Libraries Source0: https://github.com/intel/intel-graphics-compiler/archive/igc-%{version}/igc-%{version}.tar.gz # Source0-md5: 9999fd7b6947b2ed0a11f7b07b1e7acc Patch0: pkgconfig.patch +Patch1: cxx_flags.patch URL: https://github.com/intel/intel-graphics-compiler/ BuildRequires: llvm-devel >= %{llvm_version} BuildRequires: opencl-clang-devel >= %{opencl_clang_version} @@ -49,11 +50,14 @@ Pliki nagłówkowe biblioteki %{name}. %setup -qn %{name}-igc-%{version} %patch0 -p1 +%patch1 -p1 %build install -d build cd build %cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS:-%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG}" \ -DCCLANG_FROM_SYSTEM=ON \ ../ %{__make} ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/intel-graphics-compiler.git/commitdiff/9b211843920d3ff1ffc092052badd693439572e9 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit