Skip to content

Commit

Permalink
hotfix (install lld for doc build) (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental authored Nov 3, 2023
1 parent 7fa04a7 commit 63afe70
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ jobs:
# So just use the specific implementation instead:
run: apt-get install -y ninja-build

# Because the build requires to use explicitly this compiler
- name: Install Clang & Clang++ and linker
- name: Install lld and clang (for aiecc)
run: apt-get install -y clang lld

- name: Get LLVM
Expand All @@ -158,7 +157,7 @@ jobs:
with:
# Since there are now several compilation jobs running in parallel,
# use a different key per job to avoid a ccache writing race condition
key: clang-${{ matrix.build_type }}-${{ runner.os }}-${{ matrix.ubuntu_version }}-${{ steps.get-llvm-commit-hash.outputs.hash }}
key: ${{ matrix.build_type }}-${{ runner.os }}-${{ matrix.ubuntu_version }}-${{ steps.get-llvm-commit-hash.outputs.hash }}
max-size: 1G

- name: Build and install LLVM
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/generateDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
pull_request:
types: [assigned, opened, synchronize, reopened]
workflow_dispatch:

jobs:
Expand All @@ -28,7 +30,7 @@ jobs:
submodules: "true"

- name: Install packages
run: sudo apt-get install -y libboost-all-dev graphviz
run: sudo apt-get install -y libboost-all-dev graphviz lld

- name: Install Python packages
run: sudo pip install psutil rich numpy pybind11
Expand All @@ -46,7 +48,7 @@ jobs:
# https://github.com/hendrikmuhs/ccache-action/releases/tag/v1.2.9
uses: hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e
with:
key: ${{ runner.os }}-clangreleaseasserts-${{ steps.get-submodule-hash.outputs.hash }}
key: ${{ runner.os }}-releaseasserts-${{ steps.get-submodule-hash.outputs.hash }}
max-size: 1G

- name: Get cmakeModules
Expand Down Expand Up @@ -90,6 +92,7 @@ jobs:
echo "}" > ../build_release/docs/build_info.json
- name: Publish to GitHub-Pages
if: github.event_name != 'pull_request'
# https://github.com/peaceiris/actions-gh-pages/releases/tag/v3.9.3
uses: peaceiris/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ set(AIE_LINKER
"XCHESSCC"
CACHE STRING "Backend linker selection")
set(HOST_COMPILER
""
"NONE"
CACHE STRING "Host program compiler selection")
set(PEANO_INSTALL_DIR
"<unset>"
Expand Down

0 comments on commit 63afe70

Please sign in to comment.