numo-openblas 0.3.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +6 -7
- data/.gitignore +2 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile +3 -1
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/Steepfile +20 -0
- data/ext/numo/openblas/extconf.rb +2 -2
- data/ext/numo/openblas/openblas.c +1 -1
- data/lib/numo/openblas/version.rb +1 -1
- data/numo-openblas.gemspec +1 -1
- data/sig/numo/openblas.rbs +8 -0
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e85f1e27fbff879cd1cafcb1b9d37b8050c15f15250a71fed1d579a59174185
|
4
|
+
data.tar.gz: a92717c0e1e0d1296b59f15481ed743df2e91eaf7a1b528238b454f3f2f54fdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d8c6725132b3c7fde79d031557fbd3f8a7927328d20afbe0f1104cf0a6ef7272e4782c75cacd0f52e13774f46a6b5bf5ef4b56700ec3eb862e1f4b407a0f06d
|
7
|
+
data.tar.gz: c84021eca60b2943129e2cb9675bbd5183852f6a8c37df4a3c4de0afba899f1134d6a37c9a527850da7176291a0c0c2d420807ef1fbdff47eec3ab90006697cc
|
data/.github/workflows/build.yml
CHANGED
@@ -1,23 +1,22 @@
|
|
1
1
|
name: build
|
2
2
|
|
3
|
-
on: [push]
|
3
|
+
on: [push, pull_request]
|
4
4
|
|
5
5
|
jobs:
|
6
6
|
build:
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
strategy:
|
9
|
+
fail-fast: false
|
9
10
|
matrix:
|
10
|
-
ruby: [ '2.
|
11
|
+
ruby: [ '2.6', '2.7', '3.0' ]
|
11
12
|
steps:
|
12
13
|
- uses: actions/checkout@v2
|
13
14
|
- name: Install gcc and gfortran
|
14
15
|
run: sudo apt-get install -y gcc gfortran
|
15
16
|
- name: Set up Ruby ${{ matrix.ruby }}
|
16
|
-
uses:
|
17
|
+
uses: ruby/setup-ruby@v1
|
17
18
|
with:
|
18
19
|
ruby-version: ${{ matrix.ruby }}
|
20
|
+
bundler-cache: true
|
19
21
|
- name: Build and test with Rake
|
20
|
-
run:
|
21
|
-
gem install bundler
|
22
|
-
bundle install --jobs 4 --retry 3
|
23
|
-
bundle exec rake
|
22
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
## 0.4.2
|
2
|
+
- Change the version of OpenBLAS to be downloaded to 0.3.16.
|
3
|
+
- Fix API documentation.
|
4
|
+
|
5
|
+
## 0.4.1
|
6
|
+
- Remove dependent gem's type declaration file from installation files.
|
7
|
+
|
8
|
+
## 0.4.0
|
9
|
+
- Add type declaration file: sig/numo/openblas.rbs
|
10
|
+
|
11
|
+
## 0.3.2
|
12
|
+
- Change the version of OpenBLAS to be downloaded to 0.3.15.
|
13
|
+
|
1
14
|
## 0.3.1
|
2
15
|
- Change the version of OpenBLAS to be downloaded to 0.3.13.
|
3
16
|
|
data/Gemfile
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://github.com/yoshoku/numo-openblas/workflows/build/badge.svg)](https://github.com/yoshoku/numo-openblas/actions?query=workflow%3Abuild)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/numo-openblas.svg)](https://badge.fury.io/rb/numo-openblas)
|
5
|
-
[![BSD 3-Clause License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://github.com/yoshoku/
|
5
|
+
[![BSD 3-Clause License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://github.com/yoshoku/numo-openblas/blob/main/LICENSE.txt)
|
6
6
|
|
7
7
|
Numo::OpenBLAS downloads and builds [OpenBLAS](https://www.openblas.net/) during installation and
|
8
8
|
uses that as a background library for [Numo::Linalg](https://github.com/ruby-numo/numo-linalg).
|
data/Steepfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
target :lib do
|
2
|
+
signature "sig", "sig-deps"
|
3
|
+
|
4
|
+
check "lib" # Directory name
|
5
|
+
# check "Gemfile" # File name
|
6
|
+
# check "app/models/**/*.rb" # Glob
|
7
|
+
# # ignore "lib/templates/*.rb"
|
8
|
+
#
|
9
|
+
# # library "pathname", "set" # Standard libraries
|
10
|
+
# library "numo-narray", "numo-linalg" # Gems
|
11
|
+
end
|
12
|
+
|
13
|
+
# target :spec do
|
14
|
+
# signature "sig", "sig-private"
|
15
|
+
#
|
16
|
+
# check "spec"
|
17
|
+
#
|
18
|
+
# # library "pathname", "set" # Standard libraries
|
19
|
+
# # library "rspec"
|
20
|
+
# end
|
@@ -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.16'
|
12
|
+
OPENBLAS_KEY = 'dbb76d2316a135a8e73c98c926c8a596b3bb233f'
|
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
|
|
@@ -18,7 +18,7 @@ void Init_openblas()
|
|
18
18
|
mNumo = rb_define_module("Numo");
|
19
19
|
|
20
20
|
/**
|
21
|
-
* Document-module: Numo::
|
21
|
+
* Document-module: Numo::OpenBLAS
|
22
22
|
* Numo::OpenBLAS loads Numo::NArray and Linalg with OpenBLAS used as backend library.
|
23
23
|
*/
|
24
24
|
mOpenBLAS = rb_define_module_under(mNumo, "OpenBLAS");
|
data/numo-openblas.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
# Specify which files should be added to the gem when it is released.
|
26
26
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
27
27
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
28
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sig-deps)/}) }
|
29
29
|
end
|
30
30
|
spec.bindir = 'exe'
|
31
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
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.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: numo-linalg
|
@@ -43,11 +43,13 @@ files:
|
|
43
43
|
- LICENSE.txt
|
44
44
|
- README.md
|
45
45
|
- Rakefile
|
46
|
+
- Steepfile
|
46
47
|
- ext/numo/openblas/extconf.rb
|
47
48
|
- ext/numo/openblas/openblas.c
|
48
49
|
- lib/numo/openblas.rb
|
49
50
|
- lib/numo/openblas/version.rb
|
50
51
|
- numo-openblas.gemspec
|
52
|
+
- sig/numo/openblas.rbs
|
51
53
|
- vendor/tmp/.gitkeep
|
52
54
|
homepage: https://github.com/yoshoku/numo-openblas
|
53
55
|
licenses:
|
@@ -57,7 +59,7 @@ metadata:
|
|
57
59
|
source_code_uri: https://github.com/yoshoku/numo-openblas
|
58
60
|
changelog_uri: https://github.com/yoshoku/numo-openblas/blob/main/CHANGELOG.md
|
59
61
|
documentation_uri: https://github.com/yoshoku/numo-openblas/blob/main/README.md
|
60
|
-
post_install_message:
|
62
|
+
post_install_message:
|
61
63
|
rdoc_options: []
|
62
64
|
require_paths:
|
63
65
|
- lib
|
@@ -72,8 +74,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
74
|
- !ruby/object:Gem::Version
|
73
75
|
version: '0'
|
74
76
|
requirements: []
|
75
|
-
rubygems_version: 3.
|
76
|
-
signing_key:
|
77
|
+
rubygems_version: 3.2.22
|
78
|
+
signing_key:
|
77
79
|
specification_version: 4
|
78
80
|
summary: Numo::OpenBLAS downloads and builds OpenBLAS during installation and uses
|
79
81
|
that as a background library for Numo::Linalg.
|