Skip to content

Commit

Permalink
chore: change libopenblas search path
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshoku committed Jan 14, 2024
1 parent 0264a0d commit 603c085
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/numo/tiny_linalg/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
end
end

libopenblas_dir = on_windows ? TINYLINALG_DIR : "#{VENDOR_DIR}/lib"
abort('libopenblas is not found.') unless find_library('openblas', nil, libopenblas_dir)
abort('libopenblas is not found.') unless find_library('openblas', nil, "#{VENDOR_DIR}/lib")
abort('openblas_config.h is not found.') unless find_header('openblas_config.h', nil, "#{VENDOR_DIR}/include")
abort('cblas.h is not found.') unless find_header('cblas.h', nil, "#{VENDOR_DIR}/include")
abort('lapacke.h is not found.') unless find_header('lapacke.h', nil, "#{VENDOR_DIR}/include")
Expand Down

0 comments on commit 603c085

Please sign in to comment.