Package Details: blender-git 4.2.r133162.g447bb9a4b9c-1

Git Clone URL: https://aur.archlinux.org/blender-git.git (read-only, click to copy)
Package Base: blender-git
Description: A fully integrated 3D graphics creation suite (development)
Upstream URL: https://blender.org/
Licenses: GPL
Conflicts: blender, blender-4.1-bin
Provides: blender
Submitter: stativ
Maintainer: fbrennan (bartus)
Last Packager: bartus
Votes: 76
Popularity: 0.005866
First Submitted: 2013-12-05 10:11 (UTC)
Last Updated: 2024-02-20 14:49 (UTC)

Required by (61)

Sources (8)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 38 Next › Last »

danielkrajnik commented on 2023-05-27 13:49 (UTC) (edited on 2023-05-27 16:00 (UTC) by danielkrajnik)

I've tried to build another large git+aur package (aur/IfcOpenShell-git) and it skipped all the pre-compiled objects, which leads me to believe that something is not right with the way blender-git package handles updates (please see the comment below regarding long build times). If anyone had any suggestions that would be really helpful.

UPDATE: interestingly enough I found that running paru -S blender-git updates timestamps of ALL files in src/blender, which may be the reason why make triggers recompile on all files - trying to find out why, because normally i believe git operations don't modify unchanged files (and thus preserve their timestamp).

danielkrajnik commented on 2023-05-27 11:55 (UTC) (edited on 2023-05-27 13:49 (UTC) by danielkrajnik)

@microcoder thanks, mine was set to -j2 by default, but because it's a laptop that setting may make sense. I'm still not sure why it wouldn't be possible for paru to keep compiled objects and recompile only changed files like a typical MakeFile-based build (which take only a minute)? ccache mentioned before does help a bit, but build times are still over half an hour (because it checks every .c file). I'm wondering if it's caused by the way packages have to be built on arch or was it something specific to blender-git package that requires it to be rebuild from scratch each time?

microcoder commented on 2023-05-27 08:25 (UTC) (edited on 2023-05-27 08:25 (UTC) by microcoder)

@danielkrajnik My CPU Intel 4701 (Haswell) compiling code in

real 43m7,340s user 79m32,402s sys 3m27,176s

I tune the make to 8 threads for my CPU for acceleration:

MAKE_CMD="make ${MAKEFLAGS:--j8}"

danielkrajnik commented on 2023-05-26 13:01 (UTC) (edited on 2023-05-26 13:03 (UTC) by danielkrajnik)

@sausix How about ccache? I've just tried this package and it cached blender-git's compilation, so on the next run it took no time at all to update. You can then stay on the "bleeding edge" and keep the upgrade times reasonable? Or is this excessive or will result in some undesirable side effects later on?

sausix commented on 2023-05-26 12:21 (UTC)

@danielkrajnik

2 Hours??? :-O My "old" Ryzen 3700 takes under 20 minutes. But I'm restricting to exactly my needed cuda kernel. Saves some time and a lot of RAM.

I'm using yay and I skip blender-git most of the times. I mostly recompile only if some dependencies are to new and blender does not start. So I compile Blender seperately only if I need it.

danielkrajnik commented on 2023-05-26 11:59 (UTC)

@sausix thanks for the prompt reply. That's a bummer, do you know any aur helpers that have this feature? I'm currenly on paru, perhaps aura? Right now building this package takes over 2 hours each time...

sausix commented on 2023-05-26 11:24 (UTC)

@danielkrajnik That works on manual compilation.

AUR helpers clone the code and do a checkout. So every prebuilt object gets deleted. May be theres a way to check out and keep the new files... Git should have such an option. But the AUR helper needs that switch too.

danielkrajnik commented on 2023-05-26 11:00 (UTC) (edited on 2023-05-26 11:00 (UTC) by danielkrajnik)

Sorry if it's a very basic question, but is it normal that this package recompiles itself completely from scratch on each update? I thought that if you compile it once it will only recompile parts that changed? I didn't expect blender project to change literally every file on a daily basis ;)

microcoder commented on 2023-05-16 04:19 (UTC) (edited on 2023-05-16 04:20 (UTC) by microcoder)

-- The C compiler identification is Clang 15.0.7
-- The CXX compiler identification is Clang 15.0.7
...
-- Could NOT find Clang (missing: _CLANG_LIBRARIES) 
-- Clang not found, disabling WITH_CLANG

microcoder commented on 2023-05-12 06:42 (UTC)

@fbrennan Thank you! I no longer get the error