Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with Polygeist #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
julia-repository: [JuliaLang/julia]
julia-commit: [f3e3554910a79fa38d5662d14abe04e137075e18] # Julia 1.8-dev
llvm-commit: [4743f8ded72e15f916fa1d4cc198bdfd7bfb2193] # LLVM 13.0.1-0
polygeist-commit: [a737f726fec233b9557cb36a5bcfdc4a0ed9054e]

env:
CCACHE_DIR: ${GITHUB_WORKSPACE}/.ccache
Expand All @@ -36,15 +37,15 @@ jobs:
uses: pat-s/always-upload-cache@v2
with:
path: julia/usr
key: ${{ matrix.os }}-julia-${{ matrix.julia-commit }}-${{ matrix.llvm-commit }}
key: ${{ matrix.os }}-julia-${{ matrix.julia-commit }}-${{ matrix.llvm-commit }}-${{ matrix.polygeist-commit }}

# needed because they're just symlinks in usr/share
# long term, we will probably want to cache an installed Julia
- name: Cache stdlibs
uses: pat-s/always-upload-cache@v2
with:
path: julia/stdlib
key: ${{ matrix.os }}-stdlibs-${{ matrix.julia-commit }}-${{ matrix.llvm-commit }}
key: ${{ matrix.os }}-stdlibs-${{ matrix.julia-commit }}-${{ matrix.llvm-commit }}-${{ matrix.polygeist-commit }}

- name: Install build dependencies for Julia
if: steps.cache-julia.outputs.cache-hit != 'true'
Expand All @@ -67,6 +68,8 @@ jobs:
DEPS_GIT=1 \
LLVM_DEBUG=0 \
USE_MLIR=1 \
USE_POLYGEIST=1 \
POLYGEIST_SHA1=${{ matrix.polygeist-commit }} \
LLVM_SHA1=${{ matrix.llvm-commit }} \
JULIA_CPU_TARGET="generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)"

Expand Down