Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : intel-graphics-compiler | name : intel-graphics-compiler | ||||
| version : 1.0.7423 | version : 1.0.7862 | ||||
| release : 4 | release : 5 | ||||
| source : | source : | ||||
| - https://github.com/intel/intel-graphics-compiler/archive/refs/tags/igc-1.0.7423.tar.gz : 4213710fcb5a299a1fc4c7429375312f7875b9efab2323e6e180ba908ba4cb00 | - https://github.com/intel/intel-graphics-compiler/archive/refs/tags/igc-1.0.7862.tar.gz : 47c6e5e344f3dccb0ebc40664c3b76f15fdd4b43a90ed38ead00695cbf154ef4 | ||||
| license : MIT | license : MIT | ||||
| component : programming.tools | component : programming.tools | ||||
| homepage : https://github.com/intel/intel-graphics-compiler/ | homepage : https://github.com/intel/intel-graphics-compiler/ | ||||
| summary : An LLVM-based compiler for OpenCL on Intel Gen graphics | summary : An LLVM-based compiler for OpenCL on Intel Gen graphics | ||||
| description: | | description: | | ||||
| The Intel® Graphics Compiler for OpenCL™ is an LLVM based compiler for OpenCL™ targeting Intel Gen graphics hardware architecture. | The Intel® Graphics Compiler for OpenCL™ is an LLVM based compiler for OpenCL™ targeting Intel Gen graphics hardware architecture. | ||||
| clang : yes | clang : yes | ||||
| builddeps : | builddeps : | ||||
| - opencl-clang-devel | - opencl-clang-devel | ||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/llvm12.patch | %patch -p1 < $pkgfiles/0003-Port-to-LLVM-12.patch | ||||
| %patch -p1 < $pkgfiles/more-build-fixes-for-LLVM-12.patch | %patch -p1 < $pkgfiles/0004-link-pthread.patch | ||||
| # disable warnings as errors | # disable warnings as errors | ||||
| sed -i 's|-Werror||g' IGC/CMakeLists.txt | sed -i 's|-Werror||g' IGC/CMakeLists.txt | ||||
| %cmake \ | %cmake \ | ||||
| -DVC_INTRINSICS_SRC="$sources/vc-intrinsics.git" \ | -DVC_INTRINSICS_SRC="$sources/vc-intrinsics.git" \ | ||||
| -DINSTALL_SPIRVDLL=OFF \ | -DINSTALL_SPIRVDLL=OFF \ | ||||
| -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \ | -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \ | ||||
| -DIGC_OPTION__LLVM_PREFERRED_VERSION="12.0.1" \ | -DIGC_OPTION__LLVM_PREFERRED_VERSION="12.0.1" \ | ||||
| -DIGC_OPTION__LLVM_FROM_SYSTEM=TRUE \ | -DIGC_OPTION__LLVM_FROM_SYSTEM=TRUE \ | ||||
| -DINSTALL_GENX_IR=ON \ | -DINSTALL_GENX_IR=ON \ | ||||
| -DIGC_BUILD__VC_ENABLED=OFF \ | -DIGC_BUILD__VC_ENABLED=OFF \ | ||||
| -Wno-dev | -Wno-dev | ||||
| build : | | build : | | ||||
| %make | %make | ||||
| install : | | install : | | ||||
| %make_install | %make_install | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.