extra/blender to 4.0.1-7

This commit is contained in:
Kevin Mihelich 2023-11-29 13:49:55 +00:00
parent 7a19be72fd
commit d1bc319532
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -18,7 +18,7 @@ buildarch=8
pkgname=blender
pkgver=4.0.1
pkgrel=6
pkgrel=7
epoch=17
pkgdesc="A fully integrated 3D graphics creation suite"
arch=('x86_64')
@ -85,7 +85,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 \
@ -102,6 +103,8 @@ build() {
-DSYCL_OFFLINE_COMPILER_PARALLEL_JOBS=8 \
-DWITH_CYCLES_EMBREE=OFF
cmake --build build
# For debug:
# -DSYCL_CPP_FLAGS=--verbose
}
package() {