Skip to content

Commit b2ddc13

Browse files
committed
Test Windows
1 parent 0c41455 commit b2ddc13

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ext/faiss/extconf.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
find_header("omp.h", "#{brew_prefix}/opt/libomp/include")
1010
end
1111

12-
abort "BLAS not found" unless have_library("blas")
13-
abort "LAPACK not found" unless have_library("lapack")
14-
abort "OpenMP not found" unless have_library("omp") || have_library("gomp")
12+
# abort "BLAS not found" unless have_library("blas")
13+
# abort "LAPACK not found" unless have_library("lapack")
14+
# abort "OpenMP not found" unless have_library("omp") || have_library("gomp")
1515

1616
numo = File.join(Gem.loaded_specs["numo-narray"].require_path, "numo")
1717
abort "Numo not found" unless find_header("numo/narray.h", numo)
18+
abort "Numo library not found" if Gem.win_platform? && !find_library("narray", nil, numo)
1819

1920
# for https://bugs.ruby-lang.org/issues/19005
2021
$LDFLAGS += " -Wl,-undefined,dynamic_lookup" if RbConfig::CONFIG["host_os"] =~ /darwin/i

0 commit comments

Comments
 (0)