After uninstalling, git cloning to its own folder & makepkg -si, it resulted in the same error.
Uninstalled again, cleared the pkg cache and any leftover files, reinstalled using yay, it's working now? I might have missed something during the first reinstall. Oh well. Regardless, thanks.
Pinned Comments
bartus commented on 2020-01-16 16:01 (UTC) (edited on 2021-11-01 14:05 (UTC) by bartus)
Current packages state (non-conflicting ones):
bartus commented on 2019-04-10 11:40 (UTC) (edited on 2026-04-29 21:14 (UTC) by bartus)
Note: This is a non-conflicting version of blender-git package with GPU architecture detected at build time.
This package is also hosted on GitHub.
issuesand postpatchesat the GitHub repo 👉 @bartoszek/AUR-blender-develop-gitUse env vars to control the build process:
DISABLE_CUDA=1to skip cuda kernel build (cycles+compositor+optix,requires:cuda)DISABLE_HIP=1to skip amdgpu kernel build (requires:hip-runtime-amd)DISABLE_ONEAPI=1to skip intel Arc kernel build (require:intel-compute-runtime)ENABLE_PYTHON_INSTALL=1include bundled python (default:off)DISABLE_NINJA=1to switch the build system to make (default:ninja)DISABLE_OPTIX=1to skip Optix device build.DISABLE_DRACO=1to skip gltf exporter draco mesh compression extension.DISABLE_MATERIALX=1to skip MaterialX shaders.FRAGMENT="#{commit,tag,branch}=..."for making bisect build.CUDA_ARCH="sm_xx\;sm_yy"to build for a specific Cuda arch, supports multiple values.HIP_ARCH="gfx900\;gfx1103"to build for a specific amdgpu arch, supports multiple values.MAKEFLAGS="xxx"to override default make flags (check oom-killer disclaimer below)CMAKE_FLAGS="xxx:yyy"to add extra cmake switches (colon-separated list)Usage cases:
export DISABLE_CUDA=1before buildDISABLE_CUDA=1 ~your-aur-helper~makepkg DISABLE_CUDA=1yay -S blender-develop-git --mflags "DISABLE_CUDA=1 DISABLE_HIP=1"Yayusers warning:Since yay relies solely on
aur-rpcto solve dependencies instead of callingmakepkg --syncit can't follow dependencies logic defined inPKGBUILD. That's why it's up to the user to provide dependencies to enable desired features. Optional features includes cuda/optix/usd.tl;dr; If you want to prebuild cycles kernels, you have to install CUDA beforehand. If you don't have CUDA installed,
PKGBUILDwill fail unless you disable cuda with DISABLE_CUDA=1, same for optix and usd.Out of memory killer.
You may use ninja-mem to prevent oom-killer when building on system with low memory to core ratio.
To activate use MAKEFLAGS+=" -m75" where 75 is the percentage upper threshold of memory usage when new build jobs is postponed.
Or simply lower the make jobs count in "MAKEFLAGS" variable, but this will prolong your build process.