Sha256: c6680e7b4955f1ea809ed4eb55cbfba7478e4b2a5a81961569bb1ff0957e816b

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 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"

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.1.2 ext/fasttext/extconf.rb