mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
[BUILD] Fix macos x86 build (#2505)
There was a mismatch in the llvm link name
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user