-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Open
Labels
Description
In #119806 we're seeing the following error:
CMake Error in D:/a/llvm-project/llvm-project/libc/fuzzing/__support/CMakeLists.txt:
MSVC_DEBUG_INFORMATION_FORMAT value 'Embedded' not known for this ASM
compiler.
This is due to -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded
being set in
llvm-project/.github/workflows/libc-overlay-tests.yml
Lines 76 to 91 in 8c681a9
# Use MinSizeRel to reduce the size of the build. | |
# Notice that CMP0141=NEW and MSVC_DEBUG_INFORMATION_FORMAT=Embedded are required | |
# by the sccache tool. | |
- name: Configure CMake | |
run: > | |
cmake -B ${{ steps.strings.outputs.build-output-dir }} | |
-DCMAKE_CXX_COMPILER=${{ matrix.compiler.cpp_compiler }} | |
-DCMAKE_C_COMPILER=${{ matrix.compiler.c_compiler }} | |
-DCMAKE_BUILD_TYPE=MinSizeRel | |
-DCMAKE_C_COMPILER_LAUNCHER=sccache | |
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache | |
-DCMAKE_POLICY_DEFAULT_CMP0141=NEW | |
-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded | |
-DLLVM_ENABLE_RUNTIMES=libc | |
-G Ninja | |
-S ${{ github.workspace }}/runtimes |