@@ -21,10 +21,53 @@ jobs:
2121 create_llvm_artifacts :
2222 strategy :
2323 matrix :
24- # os: [ubuntu-22.04, ubuntu-24.04, windows-2019]
24+ os : [ubuntu-22.04, ubuntu-24.04, windows-2019]
25+ build_type : [RelAssert]
26+ arch : [x86, x86_64, aarch64, riscv64]
27+ exclude :
28+ # Reduce the versions of llvm for aarch64, riscv64 & x86 architectures and windows, as
29+ # well as any windows os variants
30+ - os : windows-2019
31+ arch : aarch64
32+ - os : windows-2019
33+ arch : riscv64
34+ - os : windows-2019
35+ arch : x86
36+
37+ - os : ubuntu-22.04
38+ arch : riscv64
39+ - os : ubuntu-24.04
40+ arch : aarch64
41+ - os : ubuntu-24.04
42+ arch : x86
43+ include :
44+ # We want to set flags related to particular matrix dimensions. To do this
45+ # we need to create default values first, and then against particular matrix
46+ # dimensions.
47+ # Note that we need to use RelAssert as the cache key matching can match Release against ReleaseAssert
48+ - os_flags :
49+ - arch_flags :
50+ - build_type_flags :
51+ - build_type_flags : -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON
52+ build_type : RelAssert
53+ - arch_flags : -DCMAKE_TOOLCHAIN_FILE="$GITHUB_WORKSPACE/ock/platform/arm-linux/aarch64-toolchain.cmake"
54+ -DLLVM_HOST_TRIPLE=aarch64-unknown-linux-gnu
55+ arch : aarch64
56+ - arch_flags : -DCMAKE_TOOLCHAIN_FILE="$GITHUB_WORKSPACE/ock/platform/riscv64-linux/riscv64-gcc-toolchain.cmake"
57+ -DLLVM_HOST_TRIPLE=riscv64-unknown-linux-gnu
58+ arch : riscv64
59+ - arch_flags : -DLLVM_BUILD_32_BITS=ON -DLIBXML2_LIBRARIES=IGNORE -DLLVM_ENABLE_TERMINFO=OFF
60+ -DLLVM_HOST_TRIPLE=i686-unknown-linux-gnu
61+ arch : x86
62+ - os : ubuntu-22.04
63+ os_flags : -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
64+ - os : ubuntu-24.04
65+ os_flags : -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
66+
67+ # os: [ubuntu-22.04]
2568 # build_type: [RelAssert]
26- # arch : [x86, x86_64, aarch64, riscv64 ]
27- # exclude:
69+ # arch : [x86_64]
70+ # # exclude:
2871 # Reduce the versions of llvm for aarch64, riscv64 & x86 architectures and windows, as
2972 # well as any windows os variants
3073 # - os: windows-2019
5093 # - build_type_flags:
5194 # - build_type_flags: -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON
5295 # build_type: RelAssert
53- # - arch_flags: -DCMAKE_TOOLCHAIN_FILE="$GITHUB_WORKSPACE/ock/platform/arm-linux/aarch64-toolchain.cmake"
54- # -DLLVM_HOST_TRIPLE=aarch64-unknown-linux-gnu
55- # arch: aarch64
56- # - arch_flags: -DCMAKE_TOOLCHAIN_FILE="$GITHUB_WORKSPACE/ock/platform/riscv64-linux/riscv64-gcc-toolchain.cmake"
57- # -DLLVM_HOST_TRIPLE=riscv64-unknown-linux-gnu
58- # arch: riscv64
59- # - arch_flags: -DLLVM_BUILD_32_BITS=ON -DLIBXML2_LIBRARIES=IGNORE -DLLVM_ENABLE_TERMINFO=OFF
60- # -DLLVM_HOST_TRIPLE=i686-unknown-linux-gnu
61- # arch: x86
62- # - os: ubuntu-22.04
63- # os_flags: -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
64- # - os: ubuntu-24.04
65- # os_flags: -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
66- os : [ubuntu-22.04]
67- build_type : [RelAssert]
68- arch : [x86_64]
69- # exclude:
70- # Reduce the versions of llvm for aarch64, riscv64 & x86 architectures and windows, as
71- # well as any windows os variants
72- # - os: windows-2019
73- # arch: aarch64
74- # - os: windows-2019
75- # arch: riscv64
76- # - os: windows-2019
77- # arch: x86
78-
79- # - os: ubuntu-22.04
80- # arch: riscv64
81- # - os: ubuntu-24.04
82- # arch: aarch64
83- # - os: ubuntu-24.04
84- # arch: x86
85- include :
86- # We want to set flags related to particular matrix dimensions. To do this
87- # we need to create default values first, and then against particular matrix
88- # dimensions.
89- # Note that we need to use RelAssert as the cache key matching can match Release against ReleaseAssert
90- - os_flags :
91- - arch_flags :
92- - build_type_flags :
93- - build_type_flags : -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON
94- build_type : RelAssert
9596 # - arch_flags: -DCMAKE_TOOLCHAIN_FILE="$GITHUB_WORKSPACE/ock/platform/arm-linux/aarch64-toolchain.cmake"
9697 # -DLLVM_HOST_TRIPLE=aarch64-unknown-linux-gnu
9798 # arch: aarch64
@@ -101,8 +102,8 @@ jobs:
101102 # - arch_flags: -DLLVM_BUILD_32_BITS=ON -DLIBXML2_LIBRARIES=IGNORE -DLLVM_ENABLE_TERMINFO=OFF
102103 # -DLLVM_HOST_TRIPLE=i686-unknown-linux-gnu
103104 # arch: x86
104- - os : ubuntu-22.04
105- os_flags : -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
105+ # - os: ubuntu-22.04
106+ # os_flags: -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
106107 # - os: ubuntu-24.04
107108 # os_flags: -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
108109 runs-on : ${{ matrix.os }}
@@ -125,7 +126,7 @@ jobs:
125126 uses : llvm/actions/install-ninja@main
126127
127128 - name : Setup ccache
128- if : matrix.arch == 'x86_64'
129+ # if: matrix.arch == 'x86_64'
129130 uses : hendrikmuhs/ccache-action@53911442209d5c18de8a31615e0923161e435875 # v1.2.16
130131 with :
131132 max-size : 200M
0 commit comments