Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Jun 22, 2022
1 parent ac30710 commit 307d53e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 307d53e

Please sign in to comment.