Skip to content

Commit 431cf49

Browse files
committed
julia: test arm64 linux
1 parent 665ff2d commit 431cf49

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Formula/j/julia.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def install
111111
haswell,-rdrnd,base(1)
112112
x86-64-v4,-rdrnd,base(1)]
113113
end
114-
args << "JULIA_CPU_TARGET=#{cpu_targets.join(";")}"
114+
args << "JULIA_CPU_TARGET=#{cpu_targets.join(";")}" if !OS.linux? || !Hardware::CPU.arm?
115115
user = begin
116116
tap.user
117117
rescue
@@ -152,6 +152,9 @@ def install
152152

153153
system "make", *args, "install"
154154

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

0 commit comments

Comments
 (0)