<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer type="project">
		<email>llvm@gentoo.org</email>
	</maintainer>
	<use>
		<flag name="compiler-rt">Install <pkg>llvm-runtimes/compiler-rt</pkg> for -rtlib=compiler-rt</flag>
		<flag name="libcxx">Install <pkg>llvm-runtimes/libcxx</pkg> for -stdlib=libc++</flag>
		<flag name="offload">Install <pkg>llvm-runtimes/offload</pkg> for -fopenmp GPU offloading</flag>
		<flag name="openmp">Install <pkg>llvm-runtimes/openmp</pkg> for -fopenmp support</flag>
		<flag name="sanitize">Enable compiler-rt sanitizer (-fsanitize*) support</flag>

		<flag name="default-compiler-rt">Use compiler-rt + libunwind instead of libgcc as the default rtlib for clang</flag>
		<flag name="default-libcxx">Use libc++ instead of libstdc++ as the default stdlib for clang</flag>
		<flag name="default-lld">Use lld as the default linker for clang</flag>
		<flag name="polly">Load Polly plugin (you still need -mllvm -polly to use it)</flag>
	</use>
	<upstream>
		<remote-id type="github">llvm/llvm-project</remote-id>
	</upstream>
</pkgmetadata>
