@MarsSeed the missing backslash is definitely a syntax error, I don't know why I haven't got any errors from it, it was working fine here. But it's fixed now, thanks!
I think the errors you got are from CUDA related code, that's the code that
hasn't been touched for a while, I can't test it and only test builds with
DISABLE_CUDA=1 makepkg
. Patches for that are more then welcome tho.
The only error I've got with DISABLE_CUDA=1 makepkg
is that the gold
linker isn't supporting the pack-relative-relocs
option from
/etc/makepkg.conf
(Arch default, see
https://gitlab.archlinux.org/heftig/rfcs/-/commit/36bb0b8d5a6dd8b582ea1b992f32bed0a3fa8f28).
But that should be resolved by latest update.
Pinned Comments
bartus commented on 2022-03-14 10:30 (UTC)
Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post
bartus commented on 2019-07-17 07:07 (UTC) (edited on 2019-08-25 12:20 (UTC) by bartus)
Please report
issues
andpatches
to blender-2.7/github.com<img alt="Build Status" src="https://travis-ci.org/bartoszek/AUR-blender-2.7.svg?branch=master" />
Use env vars to control build process:
DISABLE_CUDA=1
to skip cuda kernel build (cycles+compositor)DISABLE_NINJA=1
to switch build system to make (default:ninja)Usage cases:
export DISABLE_CUDA=1
before buildDISABLE_CUDA=1 ~your-aur-helper~
makepkg DISABLE_CUDA=1
yay -S blender-2.7 --mflags "DISABLE_CUDA=1"
Note for
yay
users:Since yay relies solely on
aur-rpc
to solve dependencies instead of callingmakepkg --sync
it can't follow dependencies logic defined inPKGBUILD
. That's why it's up to the user to provide dependencies to enable features.tl;dr; If you want to prebuild cycles kernels, you have to install CUDA beforehand. If you don't have CUDA installed,
PKGBUILD
will silently skip cycles kernel build.