build in release mode
This commit is contained in:
parent
e1f4fcd66e
commit
8dbca0cc7b
|
@ -26,7 +26,7 @@ jobs:
|
||||||
git clone https://github.com/tensorflow/mlir llvm-project/llvm/projects/mlir
|
git clone https://github.com/tensorflow/mlir llvm-project/llvm/projects/mlir
|
||||||
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" -DCMAKE_BUILD_TYPE=Release
|
||||||
CMAKE_EXE_LINKER_FLAGS="-Wl,--reduce-memory-overheads -Wl,--hash-size=512" cmake --build . --target check-mlir -- -j 4
|
CMAKE_EXE_LINKER_FLAGS="-Wl,--reduce-memory-overheads -Wl,--hash-size=512" cmake --build . --target check-mlir -- -j 4
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
|
|
Loading…
Reference in New Issue