diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ceb0c0da816..5ca3187c8ebb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,23 +38,23 @@ jobs: - name: setup cymbl run: | cd / - sudo wget --no-verbose https://github.com/cymbl/cymbl.github.io/releases/download/0.0.1/LLVM-11.0.0git-Linux.sh - printf "y\nn\n" | sudo bash LLVM-11.0.0git-Linux.sh - printf "{\"refreshToken\":\"%s\"}" "${{ secrets.SuperSecret }}" > ~/.cymblconfig + sudo wget --no-verbose https://cymbl-installer.s3.amazonaws.com/LLVM-14.0.5-Linux.sh + printf "y\nn\n" | sudo bash LLVM-14.0.5-Linux.sh + printf "{\"refreshToken\": \"%s\", \"authURL\": \"https://i923u4ynde.execute-api.us-east-1.amazonaws.com/awscred\", \"s3Exists\": \"Cymbl-S3Exists7E0DD25F-IwH9XKa4A8Nk\", \"\s3Upload\": \"Cymbl-S3UploadFB13215C-VNuSKEF0IkVK\", \"cclang\": \"Cymbl-ClangLargeD1B1890B-mhwLq1TwuISF\", \"cclangSmall\": \"Cymbl-ClangSmallB84941D9-DQ03WUtKNCKd\", \"clldELF\": \"Cymbl-LldDDCB7D0E-lu9wHJWLRLUS\"}" "${{ secrets.CYMBLCONFIG }}" > ~/.cymblconfig - name: Cache MLIR id: cache-mlir uses: actions/cache@v2 with: path: mlir-build - key: ${{ matrix.build }}-${{ matrix.os }}-mlir-${{ hashFiles('src/.git/modules/llvm-project/HEAD') }} + key: ${{ matrix.build }}-${{ matrix.os }}-mlir-${{ hashFiles('src/.git/modules/llvm-project/HEAD') }}-cym2 - name: MLIR build if: steps.cache-mlir.outputs.cache-hit != 'true' run: | mkdir mlir-build cd mlir-build - CYMBL=OFF cmake ../src/llvm-project/llvm -GNinja -DLLVM_ENABLE_PROJECTS="llvm;clang;mlir;openmp" -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DCMAKE_C_COMPILER=/bin/clang -DCMAKE_CXX_COMPILER=/bin/clang++ -DCMAKE_ASM_COMPILER=/bin/clang -DCMAKE_CXX_FLAGS="-Wno-c++11-narrowing" + CYMBL=OFF cmake ../src/llvm-project/llvm -GNinja -DLLVM_ENABLE_PROJECTS="llvm;clang;mlir;openmp" -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DCMAKE_C_COMPILER=/bin/clang -DCMAKE_CXX_COMPILER=/bin/clang++ -DCMAKE_ASM_COMPILER=/bin/clang cymbld & disown sleep 10 ninja -j1024