Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
two versions of llvm
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
sokrovenno
n00b
n00b


Joined: 23 Aug 2023
Posts: 65

PostPosted: Tue Feb 13, 2024 10:40 am    Post subject: Reply with quote

actually the "problem" seems to be vulkan as you can see, it is pulling dev-util/intel_clc, clang-16.0.6 and llvm-16.0.6:

Code:
~ $ USE="vulkan" emerge -p mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 5.51 s (backtrack: 0/20).

[ebuild  NS    ] sys-devel/llvm-16.0.6:16::gentoo [17.0.6:17::gentoo] USE="binutils-plugin libffi ncurses -debug -doc -exegesis -libedit -test -verify-sig -xar -xml -z3 -zstd (-debuginfod%)" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-DirectX) (-M68k) (-SPIRV) (-Xtensa)" 115,502 KiB
[ebuild  NS    ] sys-devel/llvm-toolchain-symlinks-16-r1:16::gentoo [17:17::gentoo] USE="native-symlinks -multilib-symlinks" 0 KiB
[ebuild  N     ] dev-util/spirv-llvm-translator-16.0.0-r1:16::gentoo  USE="-test" 1,506 KiB
[ebuild  NS    ] sys-libs/compiler-rt-16.0.6:16::gentoo [17.0.6:17::gentoo] USE="clang -debug -test -verify-sig" ABI_X86="(64) -32" 0 KiB
[ebuild  NS    ] sys-libs/compiler-rt-sanitizers-16.0.6:16::gentoo [17.0.6:17::gentoo] USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan orc profile safestack scudo tsan ubsan xray -debug (-shadowcallstack) -test -verify-sig" ABI_X86="(64) -32" 0 KiB
[ebuild  NS    ] sys-devel/clang-runtime-16.0.6:16::gentoo [17.0.6:17::gentoo] USE="compiler-rt openmp sanitize -libcxx" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS    ] sys-devel/clang-16.0.6:16::gentoo [17.0.6:17::gentoo] USE="extra (pie) static-analyzer -debug -doc (-ieee-long-double) -test -verify-sig -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-DirectX) (-M68k) (-SPIRV) (-Xtensa)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 (-python3_12)" 0 KiB
[ebuild  NS    ] sys-devel/clang-toolchain-symlinks-16-r2:16::gentoo [17:17::gentoo] USE="native-symlinks -gcc-symlinks -multilib-symlinks" 0 KiB
[ebuild  N     ] dev-libs/libclc-17.0.6::gentoo  USE="spirv -verify-sig" VIDEO_CARDS="-nvidia -r600 -radeonsi" 0 KiB
[ebuild  N     ] dev-util/intel_clc-23.3.1-r1::gentoo  USE="-debug" 0 KiB
[ebuild   R    ] media-libs/mesa-23.3.1::gentoo  USE="X gles2 llvm proprietary-codecs vulkan* wayland zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -xa (-zink)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" VIDEO_CARDS="intel -d3d12 (-freedreno) -lavapipe (-lima) -nouveau (-panfrost) -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware" 0 KiB

Total: 11 packages (3 new, 7 in new slots, 1 reinstall), Size of downloads: 117,008 KiB


Unless you aren't using vulkan, you can disable it.

Now I have a question; is vulkan used for gaming only or it has other uses?
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1539

PostPosted: Tue Feb 13, 2024 11:20 am    Post subject: Reply with quote

@sokrovenno, you're steering the thread in another direction. The problem is already clear, it's related to dependency resolution.

@bagas you should be able to overcome the issue by using intel_clc-24.0.0. It's been solved with the following commit.

You can try adding the following line to your package.accept_keywords:

Code:
<=dev-util/intel_clc-24.0.0 ~amd64"


and try again.

Best Regards,
Georgi

p.s. @socrovenno, the solution for you is most probably similar. AKAIK, Vulcan is intended to be drop in replacement for OpenGL.
p.s.2 @bagas, I had sys-devel/clang:16 in my world file which I don't remember when I put it there, which was preventing me to clean llvm/clang 16. Check your world file.
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 207

PostPosted: Tue Feb 13, 2024 12:12 pm    Post subject: Reply with quote

logrusx wrote:
I had sys-devel/clang:16 in my world file which I don't remember when I put it there, which was preventing me to clean llvm/clang 16. Check your world file.

Code:
# emerge --pretend --verbose --depclean sys-devel/clang

Calculating dependencies... done!
  sys-devel/clang-16.0.6 pulled in by:
    dev-libs/libclc-17.0.6 requires sys-devel/clang:16
    dev-util/intel_clc-23.3.1-r1 requires sys-devel/clang:16
    sys-devel/clang-toolchain-symlinks-16-r2 requires sys-devel/clang:16

  sys-devel/clang-17.0.6 pulled in by:
    dev-util/intel_clc-23.3.1-r1 requires <sys-devel/clang-18:=, <sys-devel/clang-18:17/17=
    sys-devel/clang-common-17.0.6-r1 requires sys-devel/clang:*
    sys-devel/clang-toolchain-symlinks-17 requires sys-devel/clang:17
    sys-libs/compiler-rt-16.0.6 requires sys-devel/clang
    sys-libs/compiler-rt-17.0.6 requires sys-devel/clang
    sys-libs/compiler-rt-sanitizers-16.0.6 requires sys-devel/clang
    sys-libs/compiler-rt-sanitizers-17.0.6 requires sys-devel/clang

>>> No packages selected for removal by depclean
Packages installed:   803
Packages in world:    67
Packages in system:   49
Required packages:    803
Number to remove:     0

pulls dev-util/intel_clc-23.3.1-r1
_________________
BSD, Linux systems blog
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1539

PostPosted: Tue Feb 13, 2024 12:25 pm    Post subject: Reply with quote

bagas wrote:
logrusx wrote:
I had sys-devel/clang:16 in my world file which I don't remember when I put it there, which was preventing me to clean llvm/clang 16. Check your world file.

Code:
# emerge --pretend --verbose --depclean sys-devel/clang

Calculating dependencies... done!
  sys-devel/clang-16.0.6 pulled in by:
    dev-libs/libclc-17.0.6 requires sys-devel/clang:16
    dev-util/intel_clc-23.3.1-r1 requires sys-devel/clang:16
    sys-devel/clang-toolchain-symlinks-16-r2 requires sys-devel/clang:16

  sys-devel/clang-17.0.6 pulled in by:
    dev-util/intel_clc-23.3.1-r1 requires <sys-devel/clang-18:=, <sys-devel/clang-18:17/17=
    sys-devel/clang-common-17.0.6-r1 requires sys-devel/clang:*
    sys-devel/clang-toolchain-symlinks-17 requires sys-devel/clang:17
    sys-libs/compiler-rt-16.0.6 requires sys-devel/clang
    sys-libs/compiler-rt-17.0.6 requires sys-devel/clang
    sys-libs/compiler-rt-sanitizers-16.0.6 requires sys-devel/clang
    sys-libs/compiler-rt-sanitizers-17.0.6 requires sys-devel/clang

>>> No packages selected for removal by depclean
Packages installed:   803
Packages in world:    67
Packages in system:   49
Required packages:    803
Number to remove:     0

pulls dev-util/intel_clc-23.3.1-r1


I'm starting to think we're talking different languages here. I don't see anything pulling dev-util/intel_clc. Something's being pulled in by it. To get what pulls in intel_clc, you need to run emerge -pvc intel_clc. And that's already been cleared it's mesa.

Also I'm getting a bit irritated by your answers to a partial content. You seem to be ignoring the rest of the post, which includes explanations and suggestions of action. If you don't understand something, please ask for clarification and don't just ignore it.

Now please try the suggestion I gave you and if it doesn't work, post the commands you're running and the output.

Best Regards,
Georgi
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 207

PostPosted: Tue Feb 13, 2024 12:51 pm    Post subject: Reply with quote

logrusx wrote:

I'm starting to think we're talking different languages here. I don't see anything pulling dev-util/intel_clc. Something's being pulled in by it. To get what pulls in intel_clc, you need to run emerge -pvc intel_clc. And that's already been cleared it's mesa.

Also I'm getting a bit irritated by your answers to a partial content. You seem to be ignoring the rest of the post, which includes explanations and suggestions of action. If you don't understand something, please ask for clarification and don't just ignore it.

Now please try the suggestion I gave you and if it doesn't work, post the commands you're running and the output.

Best Regards,
Georgi

I realized that the fix is only in the intel_clc-24 version.
I wrote about clang that it is drawn by the intel_clc dependencies.
_________________
BSD, Linux systems blog
Back to top
View user's profile Send private message
finoderi
n00b
n00b


Joined: 29 Oct 2021
Posts: 34

PostPosted: Tue Feb 13, 2024 6:00 pm    Post subject: Reply with quote

logrusx wrote:
Please think twice if it really brings any benefit before doing it again.

Pretty much like the question about an update. What's the real problem here? Someone doesn't like to see two rows in the output of eix instead of one? Seriously? Does having two versions of LLVM installed bars anybody from doing anything they're doing on their machine?
The principle is very simple: if you want something to be fixed ASAP, do it yourself or at least help to fix it. If you can't do it - shut up and wait.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1539

PostPosted: Tue Feb 13, 2024 6:19 pm    Post subject: Reply with quote

The principle is very simple. Stay on topic, be helpful, be kind.

Best Regards,
Georgi
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 207

PostPosted: Wed Feb 14, 2024 8:08 am    Post subject: Reply with quote

finoderi wrote:
logrusx wrote:
Please think twice if it really brings any benefit before doing it again.

Pretty much like the question about an update. What's the real problem here? Someone doesn't like to see two rows in the output of eix instead of one? Seriously? Does having two versions of LLVM installed bars anybody from doing anything they're doing on their machine?
The principle is very simple: if you want something to be fixed ASAP, do it yourself or at least help to fix it. If you can't do it - shut up and wait.

Are you the smartest one here?!
_________________
BSD, Linux systems blog
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Wed Feb 14, 2024 9:23 am    Post subject: Reply with quote

@bagas: Can't you just wait for the fix to come?
Code:
$ qlist -vI llvm
dev-util/spirv-llvm-translator-16.0.0-r1
sys-devel/llvm-17.0.6
sys-devel/llvm-16.0.6
sys-devel/llvm-common-17.0.6
sys-devel/llvm-toolchain-symlinks-17
sys-devel/llvm-toolchain-symlinks-16-r1
sys-devel/llvmgold-17
... many of us are in the same situation.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
finoderi
n00b
n00b


Joined: 29 Oct 2021
Posts: 34

PostPosted: Wed Feb 14, 2024 10:08 am    Post subject: Reply with quote

bagas wrote:
Are you the smartest one here?!

No, I just spelt out the obvious for you. You're welcome.
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 207

PostPosted: Wed Feb 14, 2024 10:41 am    Post subject: Reply with quote

Zucca wrote:
@bagas: Can't you just wait for the fix to come?
Code:
$ qlist -vI llvm
dev-util/spirv-llvm-translator-16.0.0-r1
sys-devel/llvm-17.0.6
sys-devel/llvm-16.0.6
sys-devel/llvm-common-17.0.6
sys-devel/llvm-toolchain-symlinks-17
sys-devel/llvm-toolchain-symlinks-16-r1
sys-devel/llvmgold-17
... many of us are in the same situation.

I am waiting.
I'm interested in solving a problem.
_________________
BSD, Linux systems blog
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Wed Feb 14, 2024 3:24 pm    Post subject: Reply with quote

And let's keep the provocative comments out of this discussion.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4160
Location: Bavaria

PostPosted: Wed Feb 14, 2024 3:33 pm    Post subject: Reply with quote

bagas wrote:
I am waiting.

Sometimes it's the best thing you can do.

@all:
Moderator Note: There has been a complaint about this thread and is therefore being monitored by us moderators. Pointed remarks are not helpful. Let's take it a little easier again.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Wed Feb 14, 2024 3:41 pm    Post subject: Reply with quote

The new revisions for Mesa and intel_clc have to propagate into stable. You can add them to package.accept_keywords with a comment if you're in a hurry.
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
Goto page Previous  1, 2
Page 2 of 2

 
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