numo-openblas 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/CHANGELOG.md +3 -0
- data/README.md +11 -0
- data/ext/numo/openblas/extconf.rb +4 -4
- data/lib/numo/openblas/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c1b7b3bf7191b1be21c402a86d33ecb1c48d74db412685e54149787f4fe8105
|
|
4
|
+
data.tar.gz: 0ab322f4b97652af9656a19aed345f8b231432b83af569d944535011ac46a330
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3af4c9813e236372de0d2889f09f87851538d07b8324ab532c08d308a8dd4f3dac44943eae40830f867ecea19516360e2dd0db17ad1f134b9a20b0e10117d9dd
|
|
7
|
+
data.tar.gz: b1595adac8b99040a318e2cac77535324fab0515cdb6eed0a0481130c439ea52e80882825822b0a3bc0f37fed3315c3c5dd79b209c1f97a226c0e5ed96ea94fa
|
data/.travis.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
os: linux
|
|
3
|
-
dist:
|
|
3
|
+
dist: bionic
|
|
4
4
|
language: ruby
|
|
5
5
|
cache: bundler
|
|
6
6
|
rvm:
|
|
@@ -14,3 +14,6 @@ addons:
|
|
|
14
14
|
|
|
15
15
|
before_install:
|
|
16
16
|
- gem install bundler -v 2.1.2
|
|
17
|
+
|
|
18
|
+
after_failure:
|
|
19
|
+
- cat /home/travis/build/yoshoku/numo-openblas/vendor/tmp/openblas.log
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -39,6 +39,17 @@ c = x.transpose.dot(x)
|
|
|
39
39
|
eig_val, eig_vec = Numo::Linalg.eigh(c)
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
Moreover, some of the build options are defined by constants.
|
|
43
|
+
|
|
44
|
+
```ruby
|
|
45
|
+
> Numo::OpenBLAS::OPENBLAS_VERSION
|
|
46
|
+
=> " OpenBLAS 0.3.10 "
|
|
47
|
+
> Numo::OpenBLAS::OPENBLAS_CHAR_CORENAME
|
|
48
|
+
=> "HASWELL"
|
|
49
|
+
> Numo::OpenBLAS::OPENBLAS_NUM_CORES
|
|
50
|
+
=> 8
|
|
51
|
+
```
|
|
52
|
+
|
|
42
53
|
## Contributing
|
|
43
54
|
|
|
44
55
|
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/numo-openblas. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/yoshoku/numo-openblas/blob/master/CODE_OF_CONDUCT.md).
|
|
@@ -8,8 +8,8 @@ require 'open-uri'
|
|
|
8
8
|
require 'open3'
|
|
9
9
|
require 'rubygems/package'
|
|
10
10
|
|
|
11
|
-
OPENBLAS_VER = '0.3.
|
|
12
|
-
OPENBLAS_KEY = '
|
|
11
|
+
OPENBLAS_VER = '0.3.11'
|
|
12
|
+
OPENBLAS_KEY = '3b21ad856f68f1799ac5f65319f07007a8a89200'
|
|
13
13
|
OPENBLAS_URI = "https://github.com/xianyi/OpenBLAS/archive/v#{OPENBLAS_VER}.tar.gz"
|
|
14
14
|
OPENBLAS_DIR = File.expand_path(__dir__ + '/../../../vendor')
|
|
15
15
|
|
|
@@ -44,7 +44,7 @@ unless File.exist?("#{OPENBLAS_DIR}/installed_#{OPENBLAS_VER}")
|
|
|
44
44
|
File.open("#{OPENBLAS_DIR}/tmp/openblas.log", 'w') { |f| f.puts(mkstdout) }
|
|
45
45
|
unless mkstatus.success?
|
|
46
46
|
puts 'Failed to build OpenBLAS.'
|
|
47
|
-
puts 'Check the
|
|
47
|
+
puts 'Check the openblas.log file for more details:'
|
|
48
48
|
puts "#{OPENBLAS_DIR}/tmp/openblas.log"
|
|
49
49
|
exit(1)
|
|
50
50
|
end
|
|
@@ -54,7 +54,7 @@ unless File.exist?("#{OPENBLAS_DIR}/installed_#{OPENBLAS_VER}")
|
|
|
54
54
|
File.open("#{OPENBLAS_DIR}/tmp/openblas.log", 'a') { |f| f.puts(insstdout) }
|
|
55
55
|
unless insstatus.success?
|
|
56
56
|
puts 'Failed to install OpenBLAS.'
|
|
57
|
-
puts 'Check the
|
|
57
|
+
puts 'Check the openblas.log file for more details:'
|
|
58
58
|
puts "#{OPENBLAS_DIR}/tmp/openblas.log"
|
|
59
59
|
exit(1)
|
|
60
60
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: numo-openblas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- yoshoku
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-10-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: numo-linalg
|
|
@@ -57,7 +57,7 @@ metadata:
|
|
|
57
57
|
source_code_uri: https://github.com/yoshoku/numo-openblas
|
|
58
58
|
changelog_uri: https://github.com/yoshoku/numo-openblas/blob/master/CHANGELOG.md
|
|
59
59
|
documentation_uri: https://github.com/yoshoku/numo-openblas/blob/master/README.md
|
|
60
|
-
post_install_message:
|
|
60
|
+
post_install_message:
|
|
61
61
|
rdoc_options: []
|
|
62
62
|
require_paths:
|
|
63
63
|
- lib
|
|
@@ -72,8 +72,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
73
|
version: '0'
|
|
74
74
|
requirements: []
|
|
75
|
-
rubygems_version: 3.1.
|
|
76
|
-
signing_key:
|
|
75
|
+
rubygems_version: 3.1.4
|
|
76
|
+
signing_key:
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: Numo::OpenBLAS downloads and builds OpenBLAS during installation and uses
|
|
79
79
|
that as a background library for Numo::Linalg.
|