USE Flag: amd-llvm

Provenance Summary

Authoritative Scope: package_scoped | Distinct Packages: 1 | Repository Package Instances: 1

Search

Manage

Package-Scoped Descriptions (use.local.desc / metadata.xml)

Repository Package Source Kind Source File Description
stuff dev-util/hipcc metadata.xml dev-util/hipcc/metadata.xml Point hipcc at <pkg>llvm-core/rocm-llvm</pkg>, AMD's LLVM fork, instead of the system clang. This makes "hipconfig --hipclangpath" report AMD's compiler, which is what rocm.eclass's rocm_use_clang() reads, so every ROCm library built afterwards uses it. Required to build the ROCm math libraries: they use bf16 WMMA intrinsic signatures and generate AMDGPU assembly that a vanilla LLVM rejects.

Package Usage Occurrences

Repository Package Observations Versions Local Description (use.local.desc) Metadata Description (metadata.xml)
stuff dev-util/hipcc IUSE 10.0.0, 10.2.0 - Point hipcc at <pkg>llvm-core/rocm-llvm</pkg>, AMD's LLVM fork, instead of the system clang. This makes "hipconfig --hipclangpath" report AMD's compiler, which is what rocm.eclass's rocm_use_clang() reads, so every ROCm library built afterwards uses it. Required to build the ROCm math libraries: they use bf16 WMMA intrinsic signatures and generate AMDGPU assembly that a vanilla LLVM rejects.