File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff 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,24 @@ def install
152152
153153 system "make" , *args , "install"
154154
155+ # FIXME: TESTING
156+ if OS . linux? && Hardware ::CPU . arm?
157+ prefix . find do |pn |
158+ next if pn . symlink? || pn . directory?
159+
160+ ohai "Checking #{ pn } dylib?"
161+ pn . dylib?
162+
163+ ohai "Checking #{ pn } binary_executable?"
164+ pn . binary_executable?
165+ rescue EOFError
166+ opoo "Failed on #{ pn } "
167+ logs . install pn
168+ raise
169+ end
170+ return
171+ end
172+
155173 if OS . linux?
156174 # Replace symlinks referencing Cellar paths with ones using opt paths
157175 deps . reject ( &:build? ) . map ( &:to_formula ) . map ( &:opt_lib ) . each do |libdir |
You can’t perform that action at this time.
0 commit comments