ffi-radix_tree 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/ffi/radixtree/Rakefile +3 -3
- data/lib/ffi/radix_tree/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe301b0f98349bbce7eb1dd7d0f6782d6c5bf510
|
4
|
+
data.tar.gz: 7073662f176c8424ac361b9cd5bf70c9ec4238d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b57a47c00fd1b9489a09d3f5928151190794c03023ff6aee0f5b6de54d24314a4d4767e03c659f1146f03057c248683060abed0431b35da5d7a38515036339b8
|
7
|
+
data.tar.gz: 85daa771d42c681f7d38b9e4b761992dbb7b122e47b70aedd99ec6db8378bb4ebf1d06ab448c369ad5da6b80dd44713ef727eb7cce06232dbc47e0dadc4d139c
|
data/ext/ffi/radixtree/Rakefile
CHANGED
@@ -41,15 +41,15 @@ task :compile_radixtree do
|
|
41
41
|
# Do not attempt to install if we want to use the system radixtree lib
|
42
42
|
next if ENV.key?("RADIX_TREE_USE_SYSTEM_LIB")
|
43
43
|
|
44
|
-
if !find_executable("
|
45
|
-
abort "ERROR:
|
44
|
+
if !find_executable("g++")
|
45
|
+
abort "ERROR: g++ is required to build ffi-radix_tree"
|
46
46
|
end
|
47
47
|
|
48
48
|
CWD = ::File.expand_path(::File.dirname(__FILE__))
|
49
49
|
RADIXTREE_DIR = ::File.join(CWD, "..", "..", "..", "vendor", "radixtree")
|
50
50
|
|
51
51
|
::Dir.chdir(RADIXTREE_DIR) do
|
52
|
-
sys("g++ -c -Wall -Wextra -O3 -fPIC ./ffi_radix_tree.cpp")
|
52
|
+
sys("g++ -c -Wall -Wextra -O3 -std=c++11 -fPIC ./ffi_radix_tree.cpp")
|
53
53
|
sys("g++ -shared -o libradixtree.#{::FFI::Platform::LIBSUFFIX} ffi_radix_tree.o")
|
54
54
|
end
|
55
55
|
|