Fix SCEV memory error (#1524) #1410
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bazel | |
on: | |
schedule: | |
- cron: 0 0 * * * | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
jobs: | |
build-linux: | |
name: Bazel ${{ matrix.build }} ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
build: ["Release"] | |
llbuild: ["Release"] | |
os: [openstack22] | |
timeout-minutes: 500 | |
steps: | |
- name: add llvm | |
run: | | |
sudo rm -f /etc/apt/sources.list.d/*llvm*.list | |
sudo apt-get update | |
sudo apt-get install -y ninja-build git autoconf cmake gcc g++ libtool python3 python3-dev | |
- uses: actions/checkout@v3 | |
- uses: actions/checkout@v3 | |
with: | |
repository: 'llvm/llvm-project' | |
path: 'llvm-project' | |
submodules: true | |
- name: Install bazelisk | |
run: | | |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.1.0/bazelisk-linux-amd64" | |
mkdir -p "${GITHUB_WORKSPACE}/bin/" | |
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel" | |
chmod +x "${GITHUB_WORKSPACE}/bin/bazel" | |
- name: cmake | |
run: | | |
cd enzyme | |
"${GITHUB_WORKSPACE}/bin/bazel" build :EnzymeStatic |