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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb28541f7f6f87b87410da68933898703b42d2987721e429b4d09ac7f1d23127
4
- data.tar.gz: ea7a198b2c3d3c17c7b03898d9c9b31a4c747335401b521ae4415c63b7a45c74
3
+ metadata.gz: 7c1b7b3bf7191b1be21c402a86d33ecb1c48d74db412685e54149787f4fe8105
4
+ data.tar.gz: 0ab322f4b97652af9656a19aed345f8b231432b83af569d944535011ac46a330
5
5
  SHA512:
6
- metadata.gz: a2eec31d62b6cd6ee263b9219356835cb60fe52562dc2ab8090e7cb8261fa10de28eeb0c007a23d522def8af23a4d7d039ac5437f11270b2bc3e896e529ad645
7
- data.tar.gz: dc3b17590715bf76411eb71e29b9cad3afea8c5ae13b57070638d55b63460e17914c0142428ebbf2ab71853e6d94f9e56e183f175c8378737037fb7d557d5d8b
6
+ metadata.gz: 3af4c9813e236372de0d2889f09f87851538d07b8324ab532c08d308a8dd4f3dac44943eae40830f867ecea19516360e2dd0db17ad1f134b9a20b0e10117d9dd
7
+ data.tar.gz: b1595adac8b99040a318e2cac77535324fab0515cdb6eed0a0481130c439ea52e80882825822b0a3bc0f37fed3315c3c5dd79b209c1f97a226c0e5ed96ea94fa
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  os: linux
3
- dist: xenial
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
@@ -1,3 +1,6 @@
1
+ ## 0.2.1
2
+ - Change the version of OpenBLAS to be downloaded to 0.3.11.
3
+
1
4
  ## 0.2.0
2
5
  - Add constant values about OpenBLAS.
3
6
  - Change to download and build OpenBLAS when building native extension.
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.10'
12
- OPENBLAS_KEY = 'cbe3fdd0e6ee235debc611d76976dac62f3ddc1c'
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 make-openblas.log file for more details:'
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 make-openblas.log file for more details:'
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
@@ -5,6 +5,6 @@ module Numo
5
5
  # Numo::OpenBLAS loads Numo::NArray and Linalg with OpenBLAS used as backend library.
6
6
  module OpenBLAS
7
7
  # The version of Numo::OpenBLAS you install.
8
- VERSION = '0.2.0'
8
+ VERSION = '0.2.1'
9
9
  end
10
10
  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.0
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-08-01 00:00:00.000000000 Z
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.2
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.