Package Details: blender-develop-git 4.4.r142086.g866f7d7ff0e-1

Git Clone URL: https://aur.archlinux.org/blender-develop-git.git (read-only, click to copy)
Package Base: blender-develop-git
Description: Development version of Blender (non-conflicting version)
Upstream URL: https://blender.org/
Licenses: GPL
Conflicts: blender
Provides: blender
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 12
Popularity: 0.000000
First Submitted: 2020-05-04 01:47 (UTC)
Last Updated: 2024-10-09 16:07 (UTC)

Required by (63)

Sources (11)

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 2024-03-01 09:41 (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.
Use env vars to control the build process:
  • DISABLE_CUDA=1 to skip cuda kernel build (cycles+compositor+optix,requires:cuda)
  • DISABLE_HIP=1 to skip amdgpu kernel build (requires:hip-runtime-amd)
  • ENABLE_PYTHON_INSTALL include bundled python (default:off)
  • DISABLE_NINJA=1 to switch the build system to make (default:ninja)
  • DISABLE_OPTIX=1 to skip Optix device build.
  • DISABLE_DRACO=1 to skip gltf exporter draco mesh compression extension.
  • 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)
  • MAKEFLAGS="xxx:yyy" to override default make flags (colon-separated list)
Usage cases:
  • export DISABLE_CUDA=1 before build
  • DISABLE_CUDA=1 ~your-aur-helper~
  • makepkg DISABLE_CUDA=1
  • yay -S blender-develop-git --mflags "DISABLE_CUDA=1 DISABLE_HIP=1"
Yay users warning:

Since yay relies solely on aur-rpc to solve dependencies instead of calling makepkg --sync it can't follow dependencies logic defined in PKGBUILD. 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, PKGBUILD will 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.

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9

polarathene commented on 2017-08-12 09:36 (UTC)

Build failed, here is the last of the output: [100%] Built target blender Scanning dependencies of target buildinfoobj [100%] Building C object source/creator/CMakeFiles/buildinfoobj.dir/buildinfo.c.o [100%] Built target buildinfoobj Scanning dependencies of target blenkernel_blc [100%] Building C object source/blenderplayer/bad_level_call_stubs/CMakeFiles/blenkernel_blc.dir/stubs.c.o /tmp/pamac-build-pola/blender-2.8-git/src/blender/source/blenderplayer/bad_level_call_stubs/stubs.c:613:6: error: conflicting types for ‘ED_transform_snap_object_project_ray_ex’ bool ED_transform_snap_object_project_ray_ex( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pamac-build-pola/blender-2.8-git/src/blender/source/blenderplayer/bad_level_call_stubs/stubs.c:180:0: /tmp/pamac-build-pola/blender-2.8-git/src/blender/source/blenderplayer/../blender/editors/include/ED_transform_snap_object_context.h:87:6: note: previous declaration of ‘ED_transform_snap_object_project_ray_ex’ was here bool ED_transform_snap_object_project_ray_ex( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [source/blenderplayer/bad_level_call_stubs/CMakeFiles/blenkernel_blc.dir/build.make:63: source/blenderplayer/bad_level_call_stubs/CMakeFiles/blenkernel_blc.dir/stubs.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:8862: source/blenderplayer/bad_level_call_stubs/CMakeFiles/blenkernel_blc.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

bartus commented on 2017-07-17 23:09 (UTC)

@novemverist fixed now. happy blending!

novemberist commented on 2017-07-16 21:25 (UTC) (edited on 2017-07-16 21:26 (UTC) by novemberist)

Nice ;) But there is something wrong with the "blender-2.8.desktop" that gets packaged, because it's basically just a copy of the normal blender.desktop file and does not contain a reference to the "blender-2.8" executable. I had to manually change some entries after package installation.

bartus commented on 2017-07-14 12:54 (UTC) (edited on 2017-07-15 10:12 (UTC) by bartus)

Come on, come all - test new sweet features of upcoming blender 2.8 release ;) {package non conflicting with blender, nor blender-git}