Sha256: 05f3e2ee4bbe257a079be8c8e3cf931541a31ca431d21480e1d675ea8618c4ae

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

require "mkmf-rice"

# -pthread and -O3 set by default
$CXXFLAGS << " -std=c++17 -funroll-loops " << with_config("optflags", "-march=native")

ext = File.expand_path(".", __dir__)
fasttext = File.expand_path("../../vendor/fastText/src", __dir__)

$srcs = Dir["{#{ext},#{fasttext}}/*.{cc,cpp}"]
$INCFLAGS << " -I#{fasttext}"
$VPATH << fasttext

create_makefile("fasttext/ext")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fasttext-0.2.0 ext/fasttext/extconf.rb