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 29399c3 commit 65ebe7c
Showing 1 changed file with 8 additions and 8 deletions.
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 65ebe7c

Please sign in to comment.