rust/compile-with-llvm-15.patch

26 lines
1.0 KiB
Diff
Raw Normal View History

2023-06-21 09:57:29 +08:00
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
2023-02-28 19:47:39 +08:00
---
src/bootstrap/configure.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py
2023-06-21 09:57:29 +08:00
index abd28b400..3b8f133b2 100755
2023-02-28 19:47:39 +08:00
--- a/src/bootstrap/configure.py
+++ b/src/bootstrap/configure.py
2023-06-21 09:57:29 +08:00
@@ -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':
2023-02-28 19:47:39 +08:00
--
2023-06-21 09:57:29 +08:00
2.41.0
2023-02-28 19:47:39 +08:00