Sha256: 32c92285da43c3a03b4fa6e6a1f21ec3079a529862831b19f81d7f900e65afa4

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

require "mkmf"

# Enable debug compile using DEBUG env var
if ENV["DEBUG"]
  puts "Compiling in debug mode..."
  CONFIG["debugflags"] = "-g"
  CONFIG["optflags"] = "-O0"
  $defs << "-DDEBUG"
end

# Compile with C++11
$CXXFLAGS += " -std=c++11 "

# Disable warnings
[
  / -Wdeclaration-after-statement/,
  / -Wimplicit-int/,
  / -Wimplicit-function-declaration/,
].each do |flag|
  CONFIG["warnflags"].slice!(flag)
end

have_header("xmmintrin.h")
create_makefile("fast_statistics/fast_statistics")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fast_statistics-0.2.1 ext/fast_statistics/extconf.rb