Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816225 - sys-devel/clang - replace default-* USE flags with clang.cfg
Summary: sys-devel/clang - replace default-* USE flags with clang.cfg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2021-10-04 08:42 UTC by Matthew Smith
Modified: 2022-11-10 11:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Smith gentoo-dev 2021-10-04 08:42:08 UTC
As proposed by mgorny in #gentoo-dev and #gentoo-llvm, the default-{compiler-rt,libcxx,lld} USE flags can be removed from clang and instead be set at runtime in a config file.

Currently upstream does not support having a single site-wide clang.cfg file for all drivers (e.g. calling x86_64-pc-linux-gnu-clang++ will attempt to load /etc/clang/x86_64-pc-linux-gnu.cfg, calling clang++ will not attempt to load any file by default).
Comment 1 Matthew Smith gentoo-dev 2021-10-04 08:43:05 UTC
Patch sent upstream: https://reviews.llvm.org/D109621 (address not accepted by See Also field)