Skip to content

Commit 799fb8f

Browse files
committed
Change some remaining llvm versions
1 parent dd34061 commit 799fb8f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

effekt/jvm/src/main/scala/effekt/EffektConfig.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class EffektConfig(args: Seq[String]) extends REPLConfig(args.takeWhile(_ != "--
6969
val llvmVersion: ScallopOption[String] = opt[String](
7070
"llvm-version",
7171
descr = "the llvm version that should be used to compile the generated programs (only necessary if backend is llvm, defaults to 15)",
72-
default = Some(sys.env.getOrElse("EFFEKT_LLVM_VERSION", "15")),
72+
default = Some(sys.env.getOrElse("EFFEKT_LLVM_VERSION", "18")),
7373
noshort = true,
7474
group = advanced
7575
)

effekt/jvm/src/main/scala/effekt/Runner.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ object LLVMRunner extends Runner[String] {
267267
override def includes(path: File): List[File] = List(path / ".." / "llvm")
268268

269269
lazy val gccCmd = discoverExecutable(List("cc", "clang", "gcc"), List("--version"))
270-
lazy val llcCmd = discoverExecutable(List("llc", "llc-15", "llc-16"), List("--version"))
271-
lazy val optCmd = discoverExecutable(List("opt", "opt-15", "opt-16"), List("--version"))
270+
lazy val llcCmd = discoverExecutable(List("llc", "llc-18"), List("--version"))
271+
lazy val optCmd = discoverExecutable(List("opt", "opt-18"), List("--version"))
272272

273273
def checkSetup(): Either[String, Unit] =
274274
gccCmd.getOrElseAborting { return Left("Cannot find gcc. This is required to use the LLVM backend.") }

0 commit comments

Comments
 (0)