Paul Zander 9ebc15021d
dev-util/nvidia-cuda-toolkit: add clang useflag to force specific compiler
The at-least-one-of dependency on clang or gcc allowed the PM to depclean one of
them. If e.g. clang is installed via LLVM_SLOT it allows older gcc to be
depcleaned even if it is the system compiler. Causing the hostcompiler lookup to
fail.

Bug: https://bugs.gentoo.org/956046
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42202
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-22 17:07:12 +01:00

18 lines
843 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<use>
<flag name="clang">Depend on <pkg>llvm-core/clang</pkg> as host compiler</flag>
<flag name="debugger">Install the CUDA debugger</flag>
<flag name="nsight">Install profiling and optimizing tools (nsight-compute, nsight-systems)</flag>
<flag name="profiler">Install the NVIDIA CUDA profiler (nvprof) and the related libraries</flag>
<flag name="rdma">Enable infiniband support via <pkg>sys-cluster/rdma-core</pkg></flag>
<flag name="sanitizer">Install compute-sanitizer tool</flag>
<flag name="vis-profiler">Install the NVIDIA CUDA visual profiler (nvvp)</flag>
</use>
</pkgmetadata>