[BUILD] Fix macos x86 build (#2505)

There was a mismatch in the llvm link name
This commit is contained in:
Thomas Raoux
2023-10-17 09:49:09 -07:00
committed by GitHub
parent 05dc28be0e
commit 376acb610b
2 changed files with 4 additions and 2 deletions

View File

@@ -68,10 +68,10 @@ arbitrary LLVM version.
1. Find the version of LLVM that Triton builds against. Check `python/setup.py`
for a line like
version = "llvmorg-18-init-7000-g76ce4736721a"
rev = "b1115f8c"
This means that the version of Triton you have builds against
[LLVM](https://github.com/llvm/llvm-project) 76ce4736721a.
[LLVM](https://github.com/llvm/llvm-project) b1115f8c.
2. `git checkout` LLVM at this revision. Optionally, make additional
modifications to LLVM.

View File

@@ -74,6 +74,8 @@ def get_llvm_package_info():
arch = 'arm64'
if system == "Darwin":
arch = platform.machine()
if arch == "x86_64":
arch = "x64"
system_suffix = f"macos-{arch}"
elif system == "Linux":
# TODO: arm64