Sha256: 0949249ea7b439e2ea688714da9e3fdd8938aef238d85777101d6541beb6b201
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
require 'mkmf' # rubocop:disable Style/GlobalVars $CXXFLAGS += ' -std=c++1z -mpclmul -mbmi -mbmi2 -mavx -mavx2 -Wno-register ' CWD = __dir__ SIMDJSON_DIR = File.join(CWD, '..', '..', 'vendor', 'simdjson') dir_config('simdjson', "#{SIMDJSON_DIR}/singleheader", "#{SIMDJSON_DIR}/src") # build vendor/simdjson # TODO check availability of cmake & make (use `find_executable`) Dir.chdir(SIMDJSON_DIR) do `cmake -DSIMDJSON_BUILD_STATIC=ON -DCMAKE_BUILD_TYPE=Release .` `make` end $libs = '-lsimdjson' create_makefile('simdjson/simdjson') # rubocop:enable Style/GlobalVars
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simdjson-0.3.0 | ext/simdjson/extconf.rb |