Skip to content

Commit d55d9dd

Browse files
authored
Update CI matrix for LLVM 18 (#1071)
We have already made all the changes required to update the backend to LLVM 18: - #1068 - #1070 This PR finalises the process by adding LLVM 18 to our CI matrix.
1 parent 1c477fa commit d55d9dd

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

flake.nix

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
builtins.listToAttrs (lib.imap0 (i: v: { name = "check_${toString i}"; value = v; }) checks);
104104

105105
matrix = builtins.listToAttrs (lib.forEach (lib.cartesianProductOfSets {
106-
llvm-version = [15 16 17];
106+
llvm-version = [15 16 17 18];
107107
build-type = ["Debug" "Release" "RelWithDebInfo" "FastBuild" "GcStats"];
108108
}) (
109109
args:
@@ -117,20 +117,21 @@
117117
));
118118
in with matrix; {
119119
packages = utils.lib.flattenTree {
120-
inherit (llvm-backend-17-FastBuild) llvm-backend llvm-backend-matching llvm-kompile-testing;
121-
default = llvm-backend-17-FastBuild.llvm-backend;
122-
llvm-backend-release = llvm-backend-17-Release.llvm-backend;
120+
inherit (llvm-backend-18-FastBuild) llvm-backend llvm-backend-matching llvm-kompile-testing;
121+
default = llvm-backend-18-FastBuild.llvm-backend;
122+
llvm-backend-release = llvm-backend-18-Release.llvm-backend;
123123
};
124124

125125
checks = listToChecks [
126-
llvm-backend-17-Debug.llvm-backend
127-
llvm-backend-17-Release.llvm-backend
128-
llvm-backend-17-RelWithDebInfo.llvm-backend
129-
llvm-backend-17-GcStats.llvm-backend
126+
llvm-backend-18-Debug.llvm-backend
127+
llvm-backend-18-Release.llvm-backend
128+
llvm-backend-18-RelWithDebInfo.llvm-backend
129+
llvm-backend-18-GcStats.llvm-backend
130130

131131
llvm-backend-15-FastBuild.integration-tests
132132
llvm-backend-16-FastBuild.integration-tests
133133
llvm-backend-17-FastBuild.integration-tests
134+
llvm-backend-18-FastBuild.integration-tests
134135
];
135136
}) // {
136137
# non-system suffixed items should go here

0 commit comments

Comments
 (0)