Skip to content

Commit

Permalink
fix: default to LLVM 17
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 1, 2024
1 parent c8867da commit 0487e80
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions dist/actions/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/modern/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions src/versions/default_versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import { isArch } from "../utils/env/isArch"
function getLLVMDefault() {
switch (process.platform) {
case "win32":
return "18.1.2"
return "17.0.6"
case "linux":
// used for non-ubuntu (Fedora, Arch)
// the suffixes relate to the suffix in the llvm releases
return "17.0.6-ubuntu-22.04"
case "darwin":
return "15.0.3"
default:
return "18.1.2"
return "17.0.6"
}
}

Expand Down Expand Up @@ -56,22 +56,22 @@ export const DefaultLinuxVersion: Record<string, Record<number, string> | undefi
},
// the suffixes relate to the suffix in the llvm releases
llvm: {
22: "18.1.2",
20: "18.1.2",
22: "17.0.6-ubuntu-22.04",
20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04",
},
clangtidy: {
22: "18.1.2",
20: "18.1.2",
22: "17.0.6-ubuntu-22.04",
20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04",
},
clangformat: {
22: "18.1.2",
20: "18.1.2",
22: "17.0.6-ubuntu-22.04",
20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04",
Expand Down

0 comments on commit 0487e80

Please sign in to comment.