numo-openblas 0.3.1 → 0.4.2

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: ac2aed2679cd061818edb12f371deaf05e606c14447b5e37c0e1a6aabb5eab1b
4
- data.tar.gz: 0dc9e41b885d24604ca4f334d75341ca5861e3d066ffa077935e878c23e87a33
3
+ metadata.gz: 1e85f1e27fbff879cd1cafcb1b9d37b8050c15f15250a71fed1d579a59174185
4
+ data.tar.gz: a92717c0e1e0d1296b59f15481ed743df2e91eaf7a1b528238b454f3f2f54fdc
5
5
  SHA512:
6
- metadata.gz: c6cb3e8ffa4835247fd029cc4e81d89851d6c02231c86ff7cf61faab914ce239e8595d43ebd3b6668efce5ca94df27ca63605451a9c6f19b2b368090908ec767
7
- data.tar.gz: 79da324b51d42b019c66e584b62fabbc1dbb000db91129a1c3f55da8e35af81cb6c7b4d56062abbad89016f492598bbbeaef7604073deb0650cfa4c92f90bc60
6
+ metadata.gz: 6d8c6725132b3c7fde79d031557fbd3f8a7927328d20afbe0f1104cf0a6ef7272e4782c75cacd0f52e13774f46a6b5bf5ef4b56700ec3eb862e1f4b407a0f06d
7
+ data.tar.gz: c84021eca60b2943129e2cb9675bbd5183852f6a8c37df4a3c4de0afba899f1134d6a37c9a527850da7176291a0c0c2d420807ef1fbdff47eec3ab90006697cc
@@ -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.5', '2.6', '2.7' ]
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: actions/setup-ruby@v1
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
@@ -7,10 +7,12 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /vendor/
10
11
 
11
12
  # rspec failure tracking
12
13
  .rspec_status
13
14
 
14
15
  *.swp
16
+ *.bundle
15
17
  .DS_Store
16
18
  .ruby-version
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
@@ -3,6 +3,8 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in numo-openblas.gemspec
4
4
  gemspec
5
5
 
6
- gem 'rake', '~> 12.0'
6
+ gem 'rake', '~> 13.0'
7
7
  gem 'rake-compiler', '~> 1.0'
8
8
  gem 'rspec', '~> 3.0'
9
+ gem 'rbs', '~> 1.2'
10
+ gem 'steep', '~> 0.44'
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020 Atsushi Tatsuma
1
+ Copyright (c) 2020-2021 Atsushi Tatsuma
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
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/suika/blob/main/LICENSE.txt)
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.13'
12
- OPENBLAS_KEY = '685537a821819ef4dae5901998a57f0eec5bddad'
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::Liblinear
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");
@@ -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.3.1'
8
+ VERSION = '0.4.2'
9
9
  end
10
10
  end
@@ -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) }
@@ -0,0 +1,8 @@
1
+ module Numo
2
+ module OpenBLAS
3
+ VERSION: String
4
+ OPENBLAS_CHAR_CORENAME: String
5
+ OPENBLAS_NUM_CORES: Integer
6
+ OPENBLAS_VERSION: String
7
+ end
8
+ 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.3.1
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: 2020-12-25 00:00:00.000000000 Z
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.1.4
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.