try tricks to reduce memory consumption of linkers

This commit is contained in:
Tian Jin 2019-12-23 22:37:23 -05:00
parent 71b27d555b
commit 8e27d831e6
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ jobs:
mkdir llvm-project/build mkdir llvm-project/build
cd llvm-project/build cd llvm-project/build
cmake -G Ninja ../llvm -DLLVM_ENABLE_RTTI=ON -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_TARGETS_TO_BUILD="host" cmake -G Ninja ../llvm -DLLVM_ENABLE_RTTI=ON -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_TARGETS_TO_BUILD="host"
cmake --build . --target check-mlir -- -j 4 CMAKE_EXE_LINKER_FLAGS="-Wl,--reduce-memory-overheads -Wl,--hash-size=1021" cmake --build . --target mlir-opt -- -j 4
- run: - run:
name: Print the Current Time name: Print the Current Time