We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ddc13 commit b598efaCopy full SHA for b598efa
1 file changed
ext/faiss/extconf.rb
@@ -13,7 +13,7 @@
13
# abort "LAPACK not found" unless have_library("lapack")
14
# abort "OpenMP not found" unless have_library("omp") || have_library("gomp")
15
16
-numo = File.join(Gem.loaded_specs["numo-narray"].require_path, "numo")
+numo = File.join(Gem.loaded_specs["numo-narray-alt"].require_path, "numo")
17
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)
19
@@ -28,7 +28,7 @@
28
29
apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
30
$CXXFLAGS += " -Xclang" if apple_clang
31
-$CXXFLAGS += " -fopenmp"
+# $CXXFLAGS += " -fopenmp"
32
33
ext = File.expand_path(".", __dir__)
34
vendor = File.expand_path("../../vendor/faiss", __dir__)
0 commit comments