Sha256: da43d6eb17455ae256d924517789fd4a6412e686b5f9a10f495a7273c5c70cb7

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

require "mkmf-rice"

abort "Missing stdc++" unless have_library("stdc++")

# TODO use -std=c++14 when available
$CXXFLAGS << " -pthread -std=c++11 -funroll-loops -O3 -march=native"

src1 = File.expand_path(".", __dir__)
src2 = File.expand_path("../../vendor/fastText/src", __dir__)

$srcs = Dir["{#{src1},#{src2}}/*.{cc,cpp}"]
$INCFLAGS << " -I$(srcdir)/../../vendor/fastText/src"
$VPATH << "$(srcdir)/../../vendor/fastText/src"

create_makefile("fasttext/ext")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fasttext-0.1.1 ext/fasttext/extconf.rb
fasttext-0.1.0 ext/fasttext/extconf.rb