%global igc_commit 6934fa8d2714031192e8d67cf54d89b68b1ff74e %global patch_version 4312 Name: intel-igc Version: 1.0.4312 Release: 1%{?dist} Summary: Intel(R) Graphics Compiler for OpenCL(TM) License: MIT URL: https://github.com/intel/intel-graphics-compiler Source0: %{url}/archive/%{igc_commit}/igc-%{version}.tar.gz Patch0: %{url}/commit/f4efb15429bdaca0122640ae63042a8950b491df.patch BuildRequires: cmake gcc-c++ make flex bison python3 llvm-devel clang-devel BuildRequires: intel-opencl-clang-devel >= 10.0.14 %description Intel(R) Graphics Compiler for OpenCL(TM). %package core Summary: Intel(R) Graphics Compiler Core %description core %package opencl Summary: Intel(R) Graphics Compiler Frontend Requires: %{name}-core = %{version}-%{release} Requires: intel-opencl-clang >= 10.0.14 %description opencl %package opencl-devel Summary: Intel(R) Graphics Compiler development package Requires: %{name}-opencl = %{version}-%{release} %description opencl-devel %prep %autosetup -p1 -n intel-graphics-compiler-%{igc_commit} %build mkdir build pushd build cmake .. -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \ -DIGC_PREFERRED_LLVM_VERSION=10.0.0 -DIGC_PACKAGE_RELEASE=%{patch_version} %make_build popd %install %make_install -C build rm -fv %{buildroot}/usr/bin/GenX_IR %files core %{_libdir}/libiga64.so.1 %{_libdir}/libiga64.so.%{version} %{_libdir}/libigc.so.1 %{_libdir}/libigc.so.%{version} %{_bindir}/iga64 %{_libdir}/igc/NOTICES.txt %files opencl %{_libdir}/libigdfcl.so.1 %{_libdir}/libigdfcl.so.%{version} %files opencl-devel %{_includedir}/igc/* %{_includedir}/iga/* %{_includedir}/visa/* %{_libdir}/libiga64.so %{_libdir}/libigc.so %{_libdir}/libigdfcl.so %{_libdir}/pkgconfig/* %doc %changelog * Fri Jul 10 2020 Jacek Danecki - 1.0.4312-1 - Update to 1.0.4312 * Mon Jun 29 2020 Jacek Danecki - 1.0.4241-1 - Update to 1.0.4241 * Tue Jun 09 2020 Jacek Danecki - 1.0.4154-1 - Update to 1.0.4154 * Fri Jun 05 2020 Jacek Danecki - 1.0.4116-1 - Update to 1.0.4116 * Tue May 26 2020 Jacek Danecki - 1.0.4062-1 - Update to 1.0.4062 * Thu May 21 2020 Jacek Danecki - 1.0.4036-2 - Add workaround from https://github.com/intel/intel-graphics-compiler/pull/135 * Wed May 20 2020 Jacek Danecki - 1.0.4036-1 - Update to 1.0.4036 * Tue May 12 2020 Jacek Danecki - 1.0.3977-1 - Update to 1.0.3977 * Thu May 07 2020 Jacek Danecki - 1.0.3951-1 - Update to 1.0.3951 * Wed Apr 29 2020 Jacek Danecki - 1.0.3899-1 - Update to 1.0.3899 * Tue Apr 21 2020 Jacek Danecki - 1.0.3826-1 - Update to 1.0.3826 * Wed Apr 15 2020 Jacek Danecki - 1.0.3800-1 - Update to 1.0.3800 * Wed Apr 08 2020 Jacek Danecki - 1.0.3752-1 - Update to 1.0.3752 * Wed Mar 25 2020 Jacek Danecki - 1.0.3627-1 - Update to 1.0.3627 * Tue Mar 17 2020 Jacek Danecki - 1.0.3572-1 - Update to 1.0.3572 * Tue Mar 10 2020 Jacek Danecki - 1.0.3529-2 - Rebuild with opencl-clang 10.0.4 * Mon Mar 09 2020 Jacek Danecki - 1.0.3529-1 - Update to 1.0.3529 * Mon Feb 24 2020 Jacek Danecki - 1.0.3445-1 - Update to 1.0.3445 * Wed Feb 12 2020 Jacek Danecki - 1.0.3342-1 - Update to 1.0.3342 - Build with llvm/clang 10 * Tue Feb 04 2020 Jacek Danecki - 1.0.3289-1 - Update to 1.0.3289 * Wed Jan 15 2020 Jacek Danecki - 1.0.3151-1 - Update to 1.0.3151 * Thu Dec 19 2019 Jacek Danecki - 1.0.3041-2 - Fix IGC commit * Tue Dec 10 2019 Jacek Danecki - 1.0.3041-1 - Update to 1.0.3041 * Mon Dec 02 2019 Jacek Danecki - 1.0.2990-1 - Update to 1.0.2990 * Tue Nov 26 2019 Jacek Danecki - 1.0.2972-1 - Update to 1.0.2972 * Tue Nov 26 2019 Jacek Danecki - 1.0.2934-1 - Update to 1.0.2934 * Thu Nov 21 2019 Jacek Danecki - 1.0.2916-1 - Update to 1.0.2916 * Wed Nov 20 2019 Jacek Danecki - 1.0.2878-1 - Update to 1.0.2878 * Thu Nov 14 2019 Jacek Danecki - 1.0.2805-1 - Update to 1.0.2805 * Wed Oct 30 2019 Jacek Danecki - 1.0.2714.1-1 - Update to 1.0.2714.1