Package Details: blender-develop-git 4.4.r144211.g59266547561-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-12-09 15:16 (UTC)

Required by (62)

Sources (6)

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

1 2 3 4 5 6 .. 9 Next › Last »

fbrennan commented on 2024-06-27 16:08 (UTC)

Having strange problem building:

==> Starting prepare()...                                                             
make: Entering directory '/Z/A/fred@oo.tanuki.agency.bak/.cache/yay/blender-develop-git/src/blender'
git lfs install --skip-repo                                                           
Git LFS initialized.                                                                  

Configuring Precompiled Libraries
=================================

Detected platform     : linux
Detected architecture : x64

Skipping Linux libraries configuration

Updating Libraries
==================

* Skipping lib/linux_x64
* Skipping lib/macos_arm64
* Skipping lib/macos_x64
* Skipping lib/windows_x64
* Skipping lib/windows_arm64
* Updating release/datafiles/assets ...
GIT_LFS_SKIP_SMUDGE=1 git submodule update --init --progress release/datafiles/assets
git -C release/datafiles/assets lfs pull
* Skipping tests/data

Update finished with the following messages 
=========================================== 

Blender repository skipped: no remote branch to pull from
make: Leaving directory '/Z/A/fred@oo.tanuki.agency.bak/.cache/yay/blender-develop-git/src/blender'
Checking patch CMakeLists.txt...
Hunk #1 succeeded at 1197 (offset 299 lines).
Applied patch CMakeLists.txt cleanly.
fatal: cannot change to '/Z/A/fred@oo.tanuki.agency.bak/.cache/yay/blender-develop-git/src/blender/scripts/addons': No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

mysticfall commented on 2022-01-11 00:24 (UTC)

Hi, I'm the maintainer of upbge-git which is basically a blatant copy of your package, slightly modified for UPBGE.

I just found that recent builds giving me intermittent CUDA errors like "Misaligned address" and it looks like your package shows the same symptom.

In comparison, the experimental build from the Blender homepage doesn't seem to be affected.

It happens in a few of my scenes with large textures but not in others.

I tried to download CUDA but it didn't make any difference.

If you have an idea what might be causing this issue, or what I can do to track down the cause, please let me know. Thanks!

LinuxUserGD commented on 2020-05-01 17:50 (UTC) (edited on 2020-05-01 18:57 (UTC) by LinuxUserGD)

@Canseco For me it's still there, even openjpeg-git

Edit: Seems like blender-2.8-gitcan still be compiled with former openjpeg package but it's not in the repos anymore. Using openjpeg-git instead of openjpeg2 or openjpeg2-git should work too.

Edit2: Basically on all those the dependency needs to be fixed:

blender:2.79-legacy blender:2.80-maintnance blender:2.81-maintnance bledner:2.82 bledner:2.83-alpha blender:openvdb-branch blender:fracture-branch blender:functions-branch