diff --git a/bin/apt-install.sh b/bin/apt-install.sh index 169100762..63ef3429d 100755 --- a/bin/apt-install.sh +++ b/bin/apt-install.sh @@ -3,7 +3,7 @@ set -e default_steps=(skiplang-build-deps skipruntime-deps) -LLVM_VERSION=15 +LLVM_VERSION=19 PRIORITY=101 usage() { diff --git a/skiplang/compiler/bootstrap b/skiplang/compiler/bootstrap index 207b46354..fbf82d0c7 160000 --- a/skiplang/compiler/bootstrap +++ b/skiplang/compiler/bootstrap @@ -1 +1 @@ -Subproject commit 207b463541c0d4558c01683ba880577d7df8972e +Subproject commit fbf82d0c7cf5c2498bff071c0a84b37600afd6ae diff --git a/skiplang/compiler/src/compile.sk b/skiplang/compiler/src/compile.sk index d6966a12a..7a5920601 100644 --- a/skiplang/compiler/src/compile.sk +++ b/skiplang/compiler/src/compile.sk @@ -173,7 +173,7 @@ fun runShell(args: Array, verbose: Bool = false): void { } fun ensureCompatibleLLVMVersion(): void { - kLLVMVersion = "15."; + kLLVMVersion = "19."; p = System.subprocess(Array["llvm-config", "--version"]).fromSuccess(); if (!p.success()) { @@ -181,7 +181,7 @@ fun ensureCompatibleLLVMVersion(): void { skipExit(1) } else if (!p.stdout.startsWith(kLLVMVersion)) { print_error( - `Incompatible llvm version ${p.stdout}, expected LLVM ${kLLVMVersion}`, + `Incompatible LLVM version ${p.stdout.trimRight()}, expected LLVM ${kLLVMVersion}`, ); skipExit(1) }