We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 665ff2d commit 921c272Copy full SHA for 921c272
Formula/j/julia.rb
@@ -111,7 +111,11 @@ def install
111
haswell,-rdrnd,base(1)
112
x86-64-v4,-rdrnd,base(1)]
113
end
114
- args << "JULIA_CPU_TARGET=#{cpu_targets.join(";")}"
+ if OS.linux? && Hardware::CPU.arm?
115
+ args << "prefix=#{libexec}" # skip clean
116
+ else
117
+ args << "JULIA_CPU_TARGET=#{cpu_targets.join(";")}"
118
+ end
119
user = begin
120
tap.user
121
rescue
@@ -152,6 +156,9 @@ def install
152
156
153
157
system "make", *args, "install"
154
158
159
+ # FIXME: TESTING
160
+ return if OS.linux? && Hardware::CPU.arm?
161
+
155
162
if OS.linux?
163
# Replace symlinks referencing Cellar paths with ones using opt paths
164
deps.reject(&:build?).map(&:to_formula).map(&:opt_lib).each do |libdir|
0 commit comments