26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From c888313af60f14fe4932fef94fb845cd054215fa Mon Sep 17 00:00:00 2001
|
|
From: jchzhou <zhoujiacheng@iscas.ac.cn>
|
|
Date: Mon, 5 Jun 2023 00:00:45 +0800
|
|
Subject: [PATCH] compile with llvm-15
|
|
|
|
---
|
|
src/bootstrap/configure.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py
|
|
index abd28b400..3b8f133b2 100755
|
|
--- a/src/bootstrap/configure.py
|
|
+++ b/src/bootstrap/configure.py
|
|
@@ -343,7 +343,7 @@ def apply_args(known_args, option_checking, config):
|
|
set('build.rustc', value + '/bin/rustc', config)
|
|
set('build.cargo', value + '/bin/cargo', config)
|
|
elif option.name == 'llvm-root':
|
|
- set('target.{}.llvm-config'.format(build_triple), value + '/bin/llvm-config', config)
|
|
+ set('target.{}.llvm-config'.format(build_triple), value + '/lib64/llvm15/bin/llvm-config', config)
|
|
elif option.name == 'llvm-config':
|
|
set('target.{}.llvm-config'.format(build_triple), value, config)
|
|
elif option.name == 'llvm-filecheck':
|
|
--
|
|
2.41.0
|
|
|