Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]OpenCL on Intel will not install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
FrancisGreaves
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2014
Posts: 75
Location: Ireland

PostPosted: Tue Apr 15, 2025 7:52 am    Post subject: [SOLVED]OpenCL on Intel will not install Reply with quote

I am running Gentoo on a Dell Intel (Skylake) Laptop.
I have had to remove dev-libs/intel-compute-runtime and hence Clang:15 to be able to upgrade Python to version 3.13
Clang:15 will not install on a System defaulting to Python 3.13 I have Clang:19 installed
I would like to have OpenCL available for the Photo Editing software Ansel (Fork of Darktable), but it is not essential.
When I try and install the latest version like this:
Code:
emerge -avqt =dev-libs/intel-compute-runtime-25.09.32961.8-r1

I get this:
Code:
!!! The ebuild selected to satisfy "llvm-core/clang:15=[static-analyzer]" has unmet requirements.
- llvm-core/clang-15.0.7-r3::gentoo USE="extra (pie) static-analyzer xml -debug (-doc) (-ieee-long-double) -test -verify-sig" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-DirectX) (-LoongArch) (-M68k) (-SPIRV)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11 -python3_12"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 )

  The above constraints are a subset of the following complete expression:
    exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 ) any-of ( llvm_targets_AArch64 llvm_targets_AMDGPU llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_Mips llvm_targets_MSP430 llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_VE llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore llvm_targets_ARC llvm_targets_CSKY llvm_targets_DirectX llvm_targets_LoongArch llvm_targets_M68k llvm_targets_SPIRV )

(dependency required by "dev-libs/opencl-clang-15.0.1::gentoo[llvm_slot_15]" [ebuild])
(dependency required by "dev-util/intel-graphics-compiler-2.10.4::gentoo" [ebuild])
(dependency required by "dev-libs/intel-compute-runtime-25.09.32961.8-r1::gentoo" [ebuild])
(dependency required by "=dev-libs/intel-compute-runtime-25.09.32961.8-r1" [argument])

Having upgraded to Python 3.13 as recommended, I do not want to go backwards.
Is there any way round this?
_________________
Perfect in every way, Modest and Misunderstood!


Last edited by FrancisGreaves on Tue Apr 15, 2025 8:22 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31591
Location: here

PostPosted: Tue Apr 15, 2025 8:18 am    Post subject: Reply with quote

Unfortunately dev-util/intel-graphics-compiler requires dev-libs/opencl-clang:15 which is a version without support for python3_13.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
FrancisGreaves
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2014
Posts: 75
Location: Ireland

PostPosted: Tue Apr 15, 2025 8:21 am    Post subject: Reply with quote

Many thanks for the swift reply, @fedeliallalinea
I had a feeling this was the case, but just wanted to be sure I was not missing something.
_________________
Perfect in every way, Modest and Misunderstood!
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4739
Location: Germany

PostPosted: Tue Apr 15, 2025 8:50 am    Post subject: Reply with quote

Add
/etc/portage/package.use/python:
=dev-libs/intel-compute-runtime-25.09.32961.8-r1 PYTHON_SINGLE_TARGET: -* python3_12
llvm-core/clang:15 PYTHON_SINGLE_TARGET: -* python3_12
should work.
Back to top
View user's profile Send private message
FrancisGreaves
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2014
Posts: 75
Location: Ireland

PostPosted: Tue Apr 15, 2025 4:27 pm    Post subject: Reply with quote

Thanks, @Josef.95
Great! that built fine, much obliged
_________________
Perfect in every way, Modest and Misunderstood!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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