ext/torch/extconf.rb in torch-rb-0.1.0 vs ext/torch/extconf.rb in torch-rb-0.1.1
- old
+ new
@@ -2,9 +2,12 @@
abort "Missing stdc++" unless have_library("stdc++")
$CXXFLAGS << " -std=c++11"
+# needed for Linux pre-cxx11 ABI version
+# $CXXFLAGS << " -D_GLIBCXX_USE_CXX11_ABI=0"
+
# silence ruby/intern.h warning
$CXXFLAGS << " -Wno-deprecated-register"
inc, lib = dir_config("torch")