From 01c88a375077bc394ffae16b2bea4955cc332064 Mon Sep 17 00:00:00 2001 From: Tian Jin Date: Mon, 23 Dec 2019 18:19:55 -0500 Subject: [PATCH] running out of memory, limit parallelism --- .circleci/config.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 78327b1..01833a8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,26 +6,28 @@ jobs: steps: - checkout - + + - run: + name: Check current directory + command: pwd - run: name: Installing GCC command: 'sudo apt-get update && sudo apt-get install -y gcc g++' - run: name: Install CMAKE command: 'sudo apt-get update && sudo apt-get install -y cmake ninja-build' - - run: + name: Check gcc version command: gcc --version - - run: - name: Set up MLIR. + name: Install MLIR command: | git clone https://github.com/llvm/llvm-project.git git clone https://github.com/tensorflow/mlir llvm-project/llvm/projects/mlir mkdir 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 --build . --target check-mlir + cmake --build . --target check-mlir -- -j 1 - run: name: Print the Current Time