red-arrow-cuda 0.16.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -3
- data/dependency-check/Rakefile +5 -1
- data/lib/arrow-cuda/version.rb +1 -1
- data/test/run-test.rb +8 -1
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a71810866d04e9c04344465936457b39e6a7242e6b15baf2049f766517070461
|
4
|
+
data.tar.gz: 47c17e350a41af8c3104b16f19516a2bd572a5afdd80084bb77b2920678eb748
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84a8a7fd3ccca79e1e2a810d632ae63abc66770ef1df6a1be08626496680d95ff0ba062d901da48bee5c716e2d75905f964113a630bf9bc47b0e5989081f8a14
|
7
|
+
data.tar.gz: 6a999bd7fb378395630656d33360e148fb72d917e2a25c4d84173c8393caa2eaae2fd9ab7a3579b02449a1c73341478f3c28eca0630a8eed2124f6e0cad44cba
|
data/Rakefile
CHANGED
@@ -30,10 +30,12 @@ release_task.prerequisites.replace(["build", "release:rubygem_push"])
|
|
30
30
|
|
31
31
|
desc "Run tests"
|
32
32
|
task :test do
|
33
|
-
cd(
|
34
|
-
|
33
|
+
cd(base_dir) do
|
34
|
+
cd("dependency-check") do
|
35
|
+
ruby("-S", "rake")
|
36
|
+
end
|
37
|
+
ruby("test/run-test.rb")
|
35
38
|
end
|
36
|
-
ruby("test/run-test.rb")
|
37
39
|
end
|
38
40
|
|
39
41
|
task default: :test
|
data/dependency-check/Rakefile
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
|
20
20
|
require "pkg-config"
|
21
21
|
require "native-package-installer"
|
22
|
+
require_relative "../lib/arrow-cuda/version"
|
22
23
|
|
23
24
|
case RUBY_PLATFORM
|
24
25
|
when /mingw|mswin/
|
@@ -33,7 +34,10 @@ end
|
|
33
34
|
namespace :dependency do
|
34
35
|
desc "Check dependency"
|
35
36
|
task :check do
|
36
|
-
unless PKGConfig.check_version?("arrow-cuda-glib"
|
37
|
+
unless PKGConfig.check_version?("arrow-cuda-glib",
|
38
|
+
ArrowCUDA::Version::MAJOR,
|
39
|
+
ArrowCUDA::Version::MINOR,
|
40
|
+
ArrowCUDA::Version::MICRO)
|
37
41
|
unless NativePackageInstaller.install(:debian => "libarrow-cuda-glib-dev",
|
38
42
|
:redhat => "arrow-cuda-glib-devel")
|
39
43
|
exit(false)
|
data/lib/arrow-cuda/version.rb
CHANGED
data/test/run-test.rb
CHANGED
@@ -34,7 +34,14 @@ test_dir = base_dir + "test"
|
|
34
34
|
arrow_lib_dir = arrow_base_dir + "lib"
|
35
35
|
arrow_ext_dir = arrow_base_dir + "ext" + "arrow"
|
36
36
|
|
37
|
-
|
37
|
+
build_dir = ENV["BUILD_DIR"]
|
38
|
+
if build_dir
|
39
|
+
arrow_build_dir = Pathname.new(build_dir) + "red-arrow"
|
40
|
+
else
|
41
|
+
arrow_build_dir = arrow_ext_dir
|
42
|
+
end
|
43
|
+
|
44
|
+
$LOAD_PATH.unshift(arrow_build_dir.to_s)
|
38
45
|
$LOAD_PATH.unshift(arrow_lib_dir.to_s)
|
39
46
|
$LOAD_PATH.unshift(lib_dir.to_s)
|
40
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-arrow-cuda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Arrow Developers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: red-arrow
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 2.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,7 +93,7 @@ homepage: https://arrow.apache.org/
|
|
93
93
|
licenses:
|
94
94
|
- Apache-2.0
|
95
95
|
metadata: {}
|
96
|
-
post_install_message:
|
96
|
+
post_install_message:
|
97
97
|
rdoc_options: []
|
98
98
|
require_paths:
|
99
99
|
- lib
|
@@ -108,12 +108,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
|
112
|
-
|
113
|
-
signing_key:
|
111
|
+
rubygems_version: 3.1.2
|
112
|
+
signing_key:
|
114
113
|
specification_version: 4
|
115
114
|
summary: Red Arrow CUDA is the Ruby bindings of Apache Arrow CUDA
|
116
115
|
test_files:
|
117
|
-
- test/helper.rb
|
118
|
-
- test/run-test.rb
|
119
116
|
- test/test-cuda.rb
|
117
|
+
- test/run-test.rb
|
118
|
+
- test/helper.rb
|