Sha256: 572784142a5ac29db7e53d7b80c411d609c7c4df9d76452cfb5153d2d478c195
Contents?: true
Size: 620 Bytes
Versions: 1
Compression:
Stored size: 620 Bytes
Contents
require "mkmf-rice" $CXXFLAGS += " -std=c++11 -D_USE_MERSENNE_TWISTER -D_ENABLE_CEREAL" apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i # check omp first if have_library("omp") || have_library("gomp") $CXXFLAGS += " -Xclang" if apple_clang $CXXFLAGS += " -fopenmp" end ext = File.expand_path(".", __dir__) isotree = File.expand_path("../../vendor/isotree/src", __dir__) exclude = %w(Rwrapper.cpp RcppExports.cpp) $srcs = Dir["{#{ext},#{isotree}}/*.{cc,cpp}"].reject { |f| exclude.include?(File.basename(f)) } $INCFLAGS << " -I#{isotree}" $VPATH << isotree create_makefile("isotree/ext")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
isotree-0.1.0 | ext/isotree/extconf.rb |