blob: 41808d88ab2d162cfbfe188eeea81b65b0734d95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- tools/shared.py.orig 2024-08-20 03:02:04 UTC
+++ tools/shared.py
@@ -542,7 +542,7 @@ def build_llvm_tool_path(tool):
# the version to the binaries, cope with that
def build_llvm_tool_path(tool):
if config.LLVM_ADD_VERSION:
- return os.path.join(config.LLVM_ROOT, tool + "-" + config.LLVM_ADD_VERSION)
+ return os.path.join(config.LLVM_ROOT, tool + config.LLVM_ADD_VERSION)
else:
return os.path.join(config.LLVM_ROOT, tool)
@@ -551,7 +551,7 @@ def build_clang_tool_path(tool):
# the version to the binaries, cope with that
def build_clang_tool_path(tool):
if config.CLANG_ADD_VERSION:
- return os.path.join(config.LLVM_ROOT, tool + "-" + config.CLANG_ADD_VERSION)
+ return os.path.join(config.LLVM_ROOT, tool + config.CLANG_ADD_VERSION)
else:
return os.path.join(config.LLVM_ROOT, tool)
|