From 84306197c0f1b9790ea4eaff22d570b18cd60538 Mon Sep 17 00:00:00 2001 From: jiaopu Date: Wed, 6 May 2020 10:02:32 +0800 Subject: [PATCH] fix single-threaded compilation in CI --- .github/workflows/github-CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-CI.yml b/.github/workflows/github-CI.yml index 4cd485f0f8..b277d007bd 100644 --- a/.github/workflows/github-CI.yml +++ b/.github/workflows/github-CI.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: modity build.sh - run: sed -i 's/DLITE_WITH_PYTHON=ON/DLITE_WITH_PYTHON=OFF/' lite/tools/build_mlu.sh && sed -i 's/WITH_TESTING=OFF/WITH_TESTING=ON/' lite/tools/build_mlu.sh && sed -i 's/-j$NUM_CORES_FOR_COMPILE/-j1/' lite/tools/build_mlu.sh && sed -i 's/PRINT_HW_TIME false/PRINT_HW_TIME true/' lite/kernels/mlu/bridges/graph.h + run: sed -i 's/DLITE_WITH_PYTHON=ON/DLITE_WITH_PYTHON=OFF/' lite/tools/build_mlu.sh && sed -i 's/WITH_TESTING=OFF/WITH_TESTING=ON/' lite/tools/build_mlu.sh && sed -i 's/PRINT_HW_TIME false/PRINT_HW_TIME true/' lite/kernels/mlu/bridges/graph.h - name: build run: ./lite/tools/build_mlu.sh build - name: test_act_converter_mlu -- GitLab