Skip to content

Commit

Permalink
Use custom URL to download pre-built LLVM (#2506)
Browse files Browse the repository at this point in the history
CentOS versions of pre-built LLVM are no longer published in upstream.

Fixes #2488.
  • Loading branch information
pbchekin authored Oct 18, 2024
1 parent b4043cf commit e48642c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def get_llvm_package_info():
with open(llvm_hash_path, "r") as llvm_hash_file:
rev = llvm_hash_file.read(8)
name = f"llvm-{rev}-{system_suffix}"
url = f"https://oaitriton.blob.core.windows.net/public/llvm-builds/{name}.tar.gz"
url = f"https://github.com/intel/intel-xpu-backend-for-triton/releases/download/llvm-{rev}/{name}.tar.gz"
return Package("llvm", name, url, "LLVM_INCLUDE_DIRS", "LLVM_LIBRARY_DIR", "LLVM_SYSPATH")


Expand Down

0 comments on commit e48642c

Please sign in to comment.