numo-blis 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41283887872794e52a6bba356e32c7666dc210ae977a778c8ea26408e63fd9b4
4
- data.tar.gz: 15b0c8bf79bbeee65cc2d97bcf6d7d962f2a47db0a68b251ecc6a4639905cd4e
3
+ metadata.gz: 6cc4fbd4df419308bfbd867616a494c3030718fe7552d43e0812fcb5f339c567
4
+ data.tar.gz: 747171dc415ea8b12d50ce112c896aaf4e93a4616648ec34b4542819def4e614
5
5
  SHA512:
6
- metadata.gz: a15f64be0c8fbd18434191d52a12d8620900da3626a266fe07e064750193bf950d77a57b79f7ab18d82ad400c0f539d2c5e4898821ac7a03c79446b7d8d34fb3
7
- data.tar.gz: a07a833c96ed48697573748b22a87873a222524f5345ada2dd48fb97ee99a253e876affb2aebe3c5956553bf05deabafb7f906191b5a9915b61b397bcdb6b77a
6
+ metadata.gz: 7459dd80eaeb0ed69d51da6954b62276e9ca03f8029175157bc8bc3c836541cef27a1528325a5800224920007821117828e33fec62f94127ed767baa54b2be91
7
+ data.tar.gz: b2bcf7a51132f23fe5dc9c154523658777efa785fbde8f95579ee976f34039864b3c5fa0b2cf011b789bd5a3626c93e8eb44756c347230b86190d8d5c2a82c34
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.4.1] - 2022-07-31
2
+
3
+ - Refactor codes and configs with RuboCop.
4
+
1
5
  ## [0.4.0] - 2022-04-15
2
6
 
3
7
  - Change the version of BLIS to be downloaded to 0.9.0.
@@ -5,6 +5,6 @@ module Numo
5
5
  # Numo::BLIS loads Numo::NArray and Linalg with BLIS used as backend library.
6
6
  module BLIS
7
7
  # The version of Numo::BLIS you install.
8
- VERSION = '0.4.0'
8
+ VERSION = '0.4.1'
9
9
  end
10
10
  end
data/lib/numo/blis.rb CHANGED
@@ -16,15 +16,15 @@ module Numo
16
16
  # @!visibility private
17
17
  def load_blis(*dirs, exc: true)
18
18
  dirs.each do |d|
19
- begin
20
- f_blis = dlopen(Blas, 'libblis', d)
21
- f_lapacke = dlopen(Lapack, 'liblapacke', d)
22
- @@libs = [f_blis, f_lapacke].compact
23
- return true
24
- rescue
25
- end
19
+ f_blis = dlopen(Blas, 'libblis', d)
20
+ f_lapacke = dlopen(Lapack, 'liblapacke', d)
21
+ @@libs = [f_blis, f_lapacke].compact # rubocop:disable Style/ClassVars
22
+ return true
23
+ rescue StandardError
24
+ # Suppress errors as well as loading methods in Numo::Linalg::Loader.
26
25
  end
27
26
  raise 'Failed to find BLIS/LAPACK library' if exc
27
+
28
28
  false
29
29
  end
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-blis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-15 00:00:00.000000000 Z
11
+ date: 2022-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: numo-linalg
@@ -50,6 +50,7 @@ metadata:
50
50
  source_code_uri: https://github.com/yoshoku/numo-blis
51
51
  changelog_uri: https://github.com/yoshoku/numo-blis/blob/main/CHANGELOG.md
52
52
  documentation_uri: https://github.com/yoshoku/numo-blis/blob/main/README.md
53
+ rubygems_mfa_required: 'true'
53
54
  post_install_message:
54
55
  rdoc_options: []
55
56
  require_paths:
@@ -65,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
66
  - !ruby/object:Gem::Version
66
67
  version: '0'
67
68
  requirements: []
68
- rubygems_version: 3.3.7
69
+ rubygems_version: 3.2.33
69
70
  signing_key:
70
71
  specification_version: 4
71
72
  summary: Numo::BLIS downloads and builds BLIS during installation and uses that as