Skip to content

Commit 92335df

Browse files
committed
julia: test arm64 linux
1 parent 665ff2d commit 92335df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Formula/j/julia.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Julia < Formula
2121
sha256 cellar: :any, arm64_sequoia: "cc4b488974473b371c22000b79f6476dc4000e933cf6bed373ff0b9b08eab1f4"
2222
sha256 cellar: :any, arm64_sonoma: "d294d5b97039680b546a4672d4cc56e4fdc58fc1d643bf8ce0c881420454698a"
2323
sha256 cellar: :any, sonoma: "1ad636ead7af54dc3f3e870e372bead8ebe95b1519deb5af534bcd30acc33e46"
24+
sha256 cellar: :any_skip_relocation, arm64_linux: "617724576ee1733bb786de7b95af7dee12f413e342664f50c402e443eea8b39c"
2425
sha256 cellar: :any_skip_relocation, x86_64_linux: "617724576ee1733bb786de7b95af7dee12f413e342664f50c402e443eea8b39c"
2526
end
2627

@@ -111,7 +112,7 @@ def install
111112
haswell,-rdrnd,base(1)
112113
x86-64-v4,-rdrnd,base(1)]
113114
end
114-
args << "JULIA_CPU_TARGET=#{cpu_targets.join(";")}"
115+
args << "JULIA_CPU_TARGET=#{cpu_targets.join(";")}" if !(OS.linux? && Hardware::CPU.arm?)
115116
user = begin
116117
tap.user
117118
rescue
@@ -152,6 +153,9 @@ def install
152153

153154
system "make", *args, "install"
154155

156+
# FIXME: TESTING
157+
return if OS.linux? && Hardware::CPU.arm?
158+
155159
if OS.linux?
156160
# Replace symlinks referencing Cellar paths with ones using opt paths
157161
deps.reject(&:build?).map(&:to_formula).map(&:opt_lib).each do |libdir|

0 commit comments

Comments
 (0)