Skip to content

Commit 1134a76

Browse files
committed
llvm_bin uses same universal darwin archive for arm as for x86_64
1 parent 9d6e645 commit 1134a76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

omnibus/config/software/llvm_bin.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
raise "llvm_bin not supported"
1919
end
2020

21-
source url: "http://crystal-lang.s3.amazonaws.com/llvm/llvm-#{version}-#{ohai['os']}-#{ohai['kernel']['machine']}.tar.gz",
21+
platform = ohai['os']
22+
# Currently, it is considered `universal` based on the alterations made in the commit 'ed5f1f97e0a67157d886dd6675902e35199a1ab3'
23+
arch = "x86_64"
24+
25+
source url: "http://crystal-lang.s3.amazonaws.com/llvm/llvm-#{version}-#{platform}-#{arch}.tar.gz",
2226
md5: source_md5
2327

2428
relative_path "llvm-#{version}"

0 commit comments

Comments
 (0)