Advertisement
Guest User

0001-install-ocl-runtime-from-15.9.patch

a guest
Feb 18th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.02 KB | None | 0 0
  1. From 3d50557136df8c654afcfe17650cb7f388d244f5 Mon Sep 17 00:00:00 2001
  2. From: Norbert Pfeiler <norbert.pfeiler+git@gmail.com>
  3. Date: Sat, 10 Feb 2018 21:19:24 +0100
  4. Subject: [PATCH] install ocl runtime from 15.9
  5.  
  6. ---
  7. PKGBUILD | 4 ++++
  8.  1 file changed, 4 insertions(+)
  9.  
  10. diff --git a/PKGBUILD b/PKGBUILD
  11. index 28cc638..5fecf9f 100644
  12. --- a/PKGBUILD
  13. +++ b/PKGBUILD
  14. @@ -76,6 +76,7 @@ source=(
  15.  #     http://www2.ati.com/drivers/linux/amd-catalyst-omega-14.12-linux-run-installers.zip
  16.  #     http://www2.ati.com/drivers/linux/amd-driver-installer-${_amdver}-x86.x86_64.zip
  17.      http://www2.ati.com/drivers/linux/radeon-crimson-15.12-15.302-151217a-297685e.zip
  18. +    http://www2.ati.com/drivers/linux/amd-catalyst-15.9-linux-installer-15.201.1151-x86.x86_64.zip
  19.      lib32-catalyst.sh
  20.      catalyst.sh
  21.      atieventsd.sh
  22. @@ -112,6 +113,7 @@ source=(
  23.      4.14-npfeiler-task_struct-mm_segment_t.patch)
  24.  
  25.  md5sums=('39808c8a9bcc9041f1305e3531b60622'
  26. +         'd2de2df6946b452c266a3c892e6e46ff'
  27.           'af7fb8ee4fc96fd54c5b483e33dc71c4'
  28.           'bdafe749e046bfddee2d1c5e90eabd83'
  29.           '9d9ea496eadf7e883d56723d65e96edf'
  30. @@ -151,6 +153,7 @@ md5sums=('39808c8a9bcc9041f1305e3531b60622'
  31.  prepare() {
  32.  ## Unpack archive
  33.    /bin/sh ./fglrx-${_amdver}/amd-driver-installer-${_amdver}-x86.x86_64.run --extract archive_files
  34. +  /bin/sh ./AMD-Catalyst-15.9-Linux-installer-15.201.1151-x86.x86_64.run --extract archive_files_2
  35.  
  36.    cd ${srcdir}/archive_files/common
  37.    patch -Np2 -i ${srcdir}/arch-fglrx-authatieventsd_new.patch
  38. @@ -248,6 +251,7 @@ package() {
  39.        install -m644 X11R6/${_lib}/*.cap ${pkgdir}/usr/lib
  40.        install -m755 X11R6/${_lib}/modules/dri/*.so ${pkgdir}/usr/lib/xorg/modules/dri
  41.        install -m755 ${_lib}/*.so* ${pkgdir}/usr/lib
  42. +      install -m755  ${srcdir}/archive_files_2/arch/x86_64/usr/${_lib}/libamdocl* ${pkgdir}/usr/lib
  43.        rm ${pkgdir}/usr/lib/libOpenCL.so.1       #opencl-icd-loader provides this
  44.  #       install -m755 ${_lib}/hsa/* ${pkgdir}/usr/lib/hsa      #removed in 14.1
  45.  
  46. --
  47. 2.16.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement