Skip to content

Commit

Permalink
Added shared library flags for llvm builds to create smaller artefacts
Browse files Browse the repository at this point in the history
llvm artefacts were taking up a substantial amount of room in our cache
space. This reduces the amount of space required substantially by passing
-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON for Ubuntu builds.
  • Loading branch information
coldav committed Nov 18, 2024
1 parent 18ab777 commit 32d02ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/create_llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
arch: x86
- build_type: Release
build_type_flags: -DCMAKE_BUILD_TYPE=Release
# Todo: for risc-v we need to build on ubuntu-24.04 as gcc 13 is required for the dynamic links flags to work
# This will probably require some exclude: on the different os or building all on each os.
- os: ubuntu-22.04
os_flags: -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON

runs-on: ${{ matrix.os }}
steps:
Expand Down

0 comments on commit 32d02ea

Please sign in to comment.