Sha256: 776453fa8a6c33346a79830b33c54eea89ede99adb3f9a2738335ef9c6a1806b

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

require "mkmf-rice"

# -pthread and -O3 set by default
$CXXFLAGS << " -std=c++17 $(optflags) -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

2 entries across 2 versions & 1 rubygems

Version Path
fasttext-0.2.2 ext/fasttext/extconf.rb
fasttext-0.2.1 ext/fasttext/extconf.rb