Skip to content

Commit b598efa

Browse files
committed
Test Windows
1 parent b2ddc13 commit b598efa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/faiss/extconf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# abort "LAPACK not found" unless have_library("lapack")
1414
# abort "OpenMP not found" unless have_library("omp") || have_library("gomp")
1515

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

@@ -28,7 +28,7 @@
2828

2929
apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
3030
$CXXFLAGS += " -Xclang" if apple_clang
31-
$CXXFLAGS += " -fopenmp"
31+
# $CXXFLAGS += " -fopenmp"
3232

3333
ext = File.expand_path(".", __dir__)
3434
vendor = File.expand_path("../../vendor/faiss", __dir__)

0 commit comments

Comments
 (0)