Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-gfx/blender[osl] with many sys-devel/llvm installed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Tue Apr 09, 2024 3:21 pm    Post subject: media-gfx/blender[osl] with many sys-devel/llvm installed Reply with quote

While migrating to 23.0 profile,
media-gfx/blender USE=osl failed to rebuild:
Code:
-- Found OpenImageDenoise: /usr/lib64/libOpenImageDenoise.so 
-- Could NOT find LLVM (missing: LLVM_LIBRARY)
-- Could NOT find Clang (missing: _CLANG_LIBRARIES)
-- LLVM not found
-- Found OpenSubdiv: /usr/lib64/libosdGPU.so;/usr/lib64/libosdCPU.so 
-- Found TBB: /usr/lib64/libtbb.so 
-- Found GMP: /usr/lib64/libgmp.so 
-- Found Threads: TRUE 
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.13.2")
-- Found LZO: /usr/lib64/liblzo2.so 
-- Found Eigen3: /usr/include/eigen3 
-- Found Jack: /usr/lib64/libjack.so 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Performing Test ATOMIC_OPS_WITHOUT_LIBATOMIC
-- Performing Test ATOMIC_OPS_WITHOUT_LIBATOMIC - Success
CMake Error at CMakeLists.txt:1099 (message):
  Cycles OSL requires WITH_LLVM, the library may not have been found.
  Configure LLVM or disable WITH_CYCLES_OSL
Code:
Installed versions:  3.6.5(3.6)^t(01:17:37 16/02/2024)(X alembic bullet collada color-management cycles dds embree ffmpeg fftw fluid gmp jack jemalloc jpeg2k nanovdb oidn openexr openmp opensubdiv openvdb osl pugixml sndfile tbb tiff wayland -cuda -cycles-bin-kernels -debug -doc -man -ndof -nls -openal -openpgl -optix -pdf -potrace -pulseaudio -sdl -test -valgrind PYTHON_SINGLE_TARGET="python3_11 -python3_10")
as showned above ir succeeded to build 2 months ago.
Can't remember if I had to fiddle to have it works.

This issue now pops up whatever media-gfx/blender slot is requested...

Any clue how to fix keeping USE=osl?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Tue Apr 09, 2024 4:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Tue Apr 09, 2024 3:59 pm    Post subject: Re: media-gfx/blender[osl] Reply with quote

CaptainBlood wrote:
Can't remember if I had to fiddle to have it works.
...
ny clue how to fix keeping USE=osl?

Kinda back to LFS mode in gentoo:
Temporary
Code:
quickpkg --include-config y llvm:16 llvm:17 llvm:18
emerge -C llvm:16 llvm:17 llvm:18
echo Now only llvm:15 installed, the one in use for stable media-libs/osl-1.12.7.0
emerge blender
emerge -1 -K llvm:16 llvm:17 llvm:18


Plz post how to avoid such a mess, if possible? (GLOBAL VARIABLE, ebuild patching ...)

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum