jeffjeff n00b

Joined: 13 May 2025 Posts: 1
|
Posted: Tue May 13, 2025 8:16 pm Post subject: Anyone have any sugestions for COMMON_FLAGS (for clang)? |
|
|
I tried a lot of flags and the only one that gave me more performance was fwhole-program-vtables.
Things like nosingedzeros gave me worse performance. Atleast when it came to the apps I tested.
Currently I have:
COMMON_FLAGS="-O3 -march=raptorlake -mtune=raptorlake -flto -pipe -fwhole-program-vtables "
CC="clang"
CPP="clang-cpp" # necessary for xorg-server and possibly other packages
CXX="clang++"
AR="llvm-ar"
NM="llvm-nm"
RANLIB="llvm-ranlib"
LDFLAGS="-fuse-ld=lld -Wl,--as-needed"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
[Administrator note: Moved from Documentation, Tips & Tricks, because this post is not itself documentation, a tip, or a trick. It is a request for guidance. -Hu] |
|