Date: Saturday, February 18, 2023 @ 13:59:09
  Author: tpkessler
Revision: 1402927

upgpkg: blender 17:3.4.1-14: Add HIP support

Modified:
  blender/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-18 11:56:06 UTC (rev 1402926)
+++ PKGBUILD    2023-02-18 13:59:09 UTC (rev 1402927)
@@ -8,7 +8,7 @@
 
 pkgname=blender
 pkgver=3.4.1
-pkgrel=13
+pkgrel=14
 epoch=17
 pkgdesc="A fully integrated 3D graphics creation suite"
 arch=('x86_64')
@@ -20,9 +20,10 @@
          'openimageio' 'libsndfile' 'jack' 'opencolorio' 'openshadinglanguage' 
'openimagedenoise'
          'jemalloc' 'libspnav' 'ptex' 'opensubdiv' 'openvdb' 'log4cplus' 
'sdl2' 'embree' 'libharu'
          'draco' 'openpgl')
-makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm' 'cuda' 'ninja' 
'wayland-protocols' 'libxkbcommon'
-             'libdecor')
+makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm' 'cuda' 'hip-runtime-amd' 
'ninja' 'wayland-protocols'
+             'libxkbcommon' 'libdecor')
 optdepends=('cuda: cycles renderer cuda support'
+            'hip-runtime-amd: cycles renderer HIP support'
             'libdecor: wayland support')
 source=("git+https://git.blender.org/blender.git#tag=v$pkgver";
         "git+https://git.blender.org/blender-addons.git";
@@ -77,6 +78,7 @@
   echo 'set(CYCLES_CUDA_BINARIES_ARCH sm_52 sm_53 sm_60 sm_61 sm_62 sm_70 
sm_72 sm_75 sm_80 sm_86 sm_87 sm_89 compute_89 CACHE STRING "CUDA architectures 
to build binaries for" FORCE)' > precache
   echo 'mark_as_advanced(CYCLES_CUDA_BINARIES_ARCH)' >> precache
 
+  HIP_ROOT_DIR=/opt/rocm \
   cmake \
     -Bbuild \
     -GNinja \

Reply via email to