Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
intel-compute-runtime


Commits:
7e4a942a by Sven-Hendrik Haase at 2025-02-07T00:27:18+01:00
Add memo that we soon might not need the find hack

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -30,17 +30,17 @@ build() {
   # Fix runtime error in blender
   CXXFLAGS+=' -DSANITIZER_BUILD=1'
   CFLAGS+=' -DSANITIZER_BUILD=1'
-  
+
   # fix warning: "_FORTIFY_SOURCE" redefined
   # note: upstream forces _FORTIFY_SOURCE=2
   export CFLAGS="${CFLAGS/-Wp,-D_FORTIFY_SOURCE=?/}"
   export CXXFLAGS="${CXXFLAGS/-Wp,-D_FORTIFY_SOURCE=?/}"
-  
+
   # opencl-headers supported by upstream is already in the source tree
   # 
https://github.com/intel/compute-runtime/blob/24.52.32224.5/third_party/opencl_headers/.version#L2
   local 
_opencl_headers_dir="${srcdir}/compute-runtime-${pkgver}/third_party/opencl_headers"
   export CXXFLAGS+=" -isystem${_opencl_headers_dir}"
-  
+
   # tests currently disabled because of 
https://github.com/intel/compute-runtime/issues/599
   cmake -B build -S compute-runtime-${pkgver} \
     -G 'Unix Makefiles' \
@@ -63,7 +63,8 @@ build() {
 package() {
   DESTDIR="${pkgdir}" cmake --install build
   install -Dm644 compute-runtime-${pkgver}/LICENSE.md -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
-  
+
   ln -s $(find "${pkgdir}"/usr/lib -regex '.*libze_intel_gpu.so.[0-9]*' -exec 
basename {} \;) "${pkgdir}"/usr/lib/libze_intel_gpu.so
+  # TODO Might be fixed soon 
https://github.com/intel/compute-runtime/issues/768#issuecomment-2640177770
   ln -s $(find "${pkgdir}"/usr/bin -name 'ocloc-*' -exec basename {} \;) 
"${pkgdir}"/usr/bin/ocloc
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/intel-compute-runtime/-/commit/7e4a942a43aed73286c8b6613e478e27ce714ed0

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/intel-compute-runtime/-/commit/7e4a942a43aed73286c8b6613e478e27ce714ed0
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to