Added 15.0.0 macosx|arm64 support (#1469)

* Added 15.0.0 macosx|arm64 support

* Update xmake.lua

Co-authored-by: ruki <waruqi@gmail.com>
pull/1471/head
Talha Saruhan 2 years ago committed by GitHub
parent 162a2cc6fd
commit c94fab94e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      packages/l/llvm/xmake.lua

@ -14,10 +14,15 @@ package("llvm")
add_versions("11.0.0", "db5b3a44f8f784ebc71f716b54eb63c0d8d21aead12449f36291ab00820271c7")
add_versions("14.0.0", "c1e1ddf11aa73c58073956d9217086550544328ed5e6ec64c1a709badb231711")
end
elseif is_host("macosx") and os.arch() == "x86_64" then
set_urls("https://github.com/llvm/llvm-project/releases/download/llvmorg-$(version)/clang+llvm-$(version)-x86_64-apple-darwin.tar.xz")
add_versions("11.0.0", "b93886ab0025cbbdbb08b46e5e403a462b0ce034811c929e96ed66c2b07fe63a")
add_versions("14.0.0", "cf5af0f32d78dcf4413ef6966abbfd5b1445fe80bba57f2ff8a08f77e672b9b3")
elseif is_host("macosx") then
if os.arch() == "x86_64" then
set_urls("https://github.com/llvm/llvm-project/releases/download/llvmorg-$(version)/clang+llvm-$(version)-x86_64-apple-darwin.tar.xz")
add_versions("11.0.0", "b93886ab0025cbbdbb08b46e5e403a462b0ce034811c929e96ed66c2b07fe63a")
add_versions("14.0.0", "cf5af0f32d78dcf4413ef6966abbfd5b1445fe80bba57f2ff8a08f77e672b9b3")
elseif os.arch() == "arm64" then
set_urls("https://github.com/llvm/llvm-project/releases/download/llvmorg-$(version)/clang+llvm-$(version)-arm64-apple-darwin21.0.tar.xz")
add_versions("15.0.0", "cfd5c3fa07d7fccea0687f5b4498329a6172b7a15bbc45b547d0ac86bd3452a5")
end
elseif is_host("bsd") then
if os.arch() == "x86_64" then
set_urls("https://github.com/llvm/llvm-project/releases/download/llvmorg-$(version)/clang+llvm-$(version)-amd64-unknown-freebsd13.tar.xz")
@ -73,7 +78,7 @@ package("llvm")
end
end)
on_install("@macosx|x86_64", "@windows", "@msys", "@bsd", function (package)
on_install("@macosx", "@windows", "@msys", "@bsd", function (package)
os.cp("*", package:installdir())
end)

Loading…
Cancel
Save