running out of memory, limit parallelism
This commit is contained in:
parent
8f1af19e43
commit
01c88a3750
|
@ -7,25 +7,27 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Check current directory
|
||||||
|
command: pwd
|
||||||
- run:
|
- run:
|
||||||
name: Installing GCC
|
name: Installing GCC
|
||||||
command: 'sudo apt-get update && sudo apt-get install -y gcc g++'
|
command: 'sudo apt-get update && sudo apt-get install -y gcc g++'
|
||||||
- run:
|
- run:
|
||||||
name: Install CMAKE
|
name: Install CMAKE
|
||||||
command: 'sudo apt-get update && sudo apt-get install -y cmake ninja-build'
|
command: 'sudo apt-get update && sudo apt-get install -y cmake ninja-build'
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
|
name: Check gcc version
|
||||||
command: gcc --version
|
command: gcc --version
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Set up MLIR.
|
name: Install MLIR
|
||||||
command: |
|
command: |
|
||||||
git clone https://github.com/llvm/llvm-project.git
|
git clone https://github.com/llvm/llvm-project.git
|
||||||
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"
|
||||||
cmake --build . --target check-mlir
|
cmake --build . --target check-mlir -- -j 1
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Print the Current Time
|
name: Print the Current Time
|
||||||
|
|
Loading…
Reference in New Issue