ext/torch/extconf.rb in torch-rb-0.5.3 vs ext/torch/extconf.rb in torch-rb-0.6.0
- old
+ new
@@ -9,10 +9,9 @@
apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
# check omp first
if have_library("omp") || have_library("gomp")
- $CXXFLAGS += " -DAT_PARALLEL_OPENMP=1"
$CXXFLAGS += " -Xclang" if apple_clang
$CXXFLAGS += " -fopenmp"
end
if apple_clang