Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
blender


Commits:
f4ce0bd1 by Sven-Hendrik Haase at 2023-11-29T07:38:38+01:00
upgpkg: 17:4.0.1-7: Disable OSL support for the time being (See #2)

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = blender
        pkgdesc = A fully integrated 3D graphics creation suite
        pkgver = 4.0.1
-       pkgrel = 6
+       pkgrel = 7
        epoch = 17
        url = https://www.blender.org
        arch = x86_64


=====================================
PKGBUILD
=====================================
@@ -9,7 +9,7 @@
 
 pkgname=blender
 pkgver=4.0.1
-pkgrel=6
+pkgrel=7
 epoch=17
 pkgdesc="A fully integrated 3D graphics creation suite"
 arch=('x86_64')
@@ -80,7 +80,8 @@ build() {
   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
 
-  # Disable manpage for the time being
+  # Disable OSL until it's built with LLVM 16 otherwise we get stuff like
+  # 
https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/2
   cmake \
     -Bbuild \
     -GNinja \
@@ -92,6 +93,7 @@ build() {
     -DHIP_ROOT_DIR=/opt/rocm \
     -DOPTIX_ROOT_DIR="$srcdir" \
     -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_CYCLES_OSL=OFF \
     -DCMAKE_BUILD_TYPE=Release \
     -DWITH_INSTALL_PORTABLE=OFF \
     -DWITH_PYTHON_INSTALL=OFF \
@@ -100,7 +102,7 @@ build() {
     -DSYCL_OFFLINE_COMPILER_PARALLEL_JOBS=8
   cmake --build build
     # For debug:
-    # -DSYCL_CPP_FLAGS=--verbose \
+    # -DSYCL_CPP_FLAGS=--verbose
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/commit/f4ce0bd120a923685990ee714154e9cffe2a6524

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/commit/f4ce0bd120a923685990ee714154e9cffe2a6524
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to