SHARE
TWEET

sdk_dir_fix.patch

a guest Aug 13th, 2018 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index ab97f77..0f6216f 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -5,7 +5,7 @@
  6.  
  7.  pkgname=intel-opencl-sdk
  8.  pkgver=2017_7.0.0.2568
  9. -pkgrel=1
  10. +pkgrel=2
  11.  pkgdesc="Intel SDK for OpenCL Applications"
  12.  arch=('x86_64')
  13.  url="https://software.intel.com/en-us/intel-opencl/download"
  14. @@ -37,7 +37,7 @@ package() {
  15.    rm -rf "${pkgdir}"/opt/intel/opencl-sdk/uninstall*
  16.  
  17.    # Fix runtime_lib_dir and sdk_dir
  18. -  sed -i -e 's|/etc/alternatives/opencl-intel-tools|/opt/intel/opencl-sdk|g' \
  19. +  sed -i -e 's|/etc/alternatives/opencl-intel-tools|/opt/intel/opencl-sdk/SDK|g' \
  20.         -e 's|$(dirname $(readlink /etc/alternatives/opencl-libOpenCL.so))|/opt/intel/opencl-runtime/lib64|g' \
  21.         "${pkgdir}"/opt/intel/opencl-sdk/SDK/bin/{KBServer64,ioc64}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top