26 lines
952 B
Diff
26 lines
952 B
Diff
From 858187d679a7e7b959d93b96602337f0e16fb61b Mon Sep 17 00:00:00 2001
|
|
From: wk333 <13474090681@163.com>
|
|
Date: Tue, 14 Feb 2023 16:44:14 +0800
|
|
Subject: [PATCH 1/1] 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 6b139de..b6b9e22 100755
|
|
--- a/src/bootstrap/configure.py
|
|
+++ b/src/bootstrap/configure.py
|
|
@@ -340,7 +340,7 @@ for key in known_args:
|
|
set('build.rustc', value + '/bin/rustc')
|
|
set('build.cargo', value + '/bin/cargo')
|
|
elif option.name == 'llvm-root':
|
|
- set('target.{}.llvm-config'.format(build()), value + '/bin/llvm-config')
|
|
+ set('target.{}.llvm-config'.format(build()), value + '/lib64/llvm15/bin/llvm-config')
|
|
elif option.name == 'llvm-config':
|
|
set('target.{}.llvm-config'.format(build()), value)
|
|
elif option.name == 'llvm-filecheck':
|
|
--
|
|
2.27.0
|
|
|