[Windows] Don't build LLVM with debug symbols (#4118)

These debug symbols take up too much disk space and prevent us from
running in the CI container.  I enabled debug symbols a couple days ago,
and the issue has surfaced once LLVM was bumped.  This still builds
CIRCT in RelWithDebInfo mode.
This commit is contained in:
Andrew Young 2022-10-18 00:27:37 -07:00 committed by GitHub
parent 7d8a09dfb2
commit d80c74d237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -57,9 +57,9 @@ jobs:
cmake ..\llvm -GNinja `
-DLLVM_ENABLE_PROJECTS=mlir -DLLVM_BUILD_EXAMPLES=OFF `
-DLLVM_TARGETS_TO_BUILD="host" `
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_ENABLE_ASSERTIONS=ON `
-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON `
-DLLVM_INSTALL_UTILS=ON -DCMAKE_INSTALL_PREFIX="$(pwd)/../install"
cmake --build . --target install --config RelWithDebInfo
cmake --build . --target install --config Release
# --------
# Build and test CIRCT in both debug and release mode.