Skip to content

Conversation

@tzik
Copy link
Contributor

@tzik tzik commented Apr 7, 2024

On Ninja Multi-Config mode configuration, CompilerRT generates its output to a weird directory, such as
${CONFIGURATION}/lib/clang/19/lib/x86_64-pc-linux-gnu/libclang_rt.builtins.a
which contains unexpanded ${CONFIGURATION} as a directory name.
That causes a build error around syms-stamp on my environment.

After this patch applied, ${CONFIGURATION} will be expanded to corresponding build configs such as Debug, Release, and RelWithDebInfo.
We can see similar expansion in AddLLVM.cmake.

…uild On Ninja Multi-Config mode configuration of CMake, CompilerRT used to generate a directory that contains unexpanded ${CONFIGURATION}. After this change, the variable is expanded for each configuration types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants