numo-blis 0.4.0 → 0.5.0

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: 59c91daaa53f4e8063d8ea703df697d0f0b68cd9aef803e0dce522c56186524a
4
+ data.tar.gz: 96c825b3719f59be1d034666c781741cab8399d8b05f62b21e72f763a3035e16
5
5
  SHA512:
6
- metadata.gz: a15f64be0c8fbd18434191d52a12d8620900da3626a266fe07e064750193bf950d77a57b79f7ab18d82ad400c0f539d2c5e4898821ac7a03c79446b7d8d34fb3
7
- data.tar.gz: a07a833c96ed48697573748b22a87873a222524f5345ada2dd48fb97ee99a253e876affb2aebe3c5956553bf05deabafb7f906191b5a9915b61b397bcdb6b77a
6
+ metadata.gz: 28fc8382f0e8d9b8cca911cf09351727ddd745b55ea35c46c07c5fbd9c23b3fe0c56976a51f85e9e969cf7e855ea903e2c0a3af5453977b12b5acb57c61caa07
7
+ data.tar.gz: 2a22b64227c4ba4f30bc016425d4b9297301a499833cb14acbbe09755eed603cbac9bf6e5d3a612f0793810b714cda4c80855d83867bffc7dc27db6c1619995f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.5.0] - 2025-01-03
2
+
3
+ - Change the version of BLIS to be downloaded to 1.0.
4
+ - Change the version of LAPCK to be downloaded to 3.11.0.
5
+
6
+ ## [0.4.1] - 2022-07-31
7
+
8
+ - Refactor codes and configs with RuboCop.
9
+
1
10
  ## [0.4.0] - 2022-04-15
2
11
 
3
12
  - Change the version of BLIS to be downloaded to 0.9.0.
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2021-2022 Atsushi Tatsuma
1
+ Copyright (c) 2021-2025 Atsushi Tatsuma
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -19,14 +19,14 @@ SOEXT = RbConfig::CONFIG['SOEXT'] || case RbConfig::CONFIG['host_os']
19
19
  'so'
20
20
  end
21
21
 
22
- BLIS_VERSION = '0.9.0'
23
- LAPACK_VERSION = '3.10.0'
22
+ BLIS_VERSION = '1.0'
23
+ LAPACK_VERSION = '3.11.0'
24
24
  BLIS_URI = "https://github.com/flame/blis/archive/refs/tags/#{BLIS_VERSION}.tar.gz"
25
25
  LAPACK_URI = "https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v#{LAPACK_VERSION}.tar.gz"
26
26
  BLIS_TGZ = "#{VENDOR_DIR}/tmp/blis-#{BLIS_VERSION}.tgz"
27
27
  LAPACK_TGZ = "#{VENDOR_DIR}/tmp/lapack-#{LAPACK_VERSION}.tgz"
28
- BLIS_KEY = 'c5ff9b0437edc1f93ad30fcdd633c0a276165b7e'
29
- LAPACK_KEY = '4a9384523bf236c83568884e8c62d9517e41ac42'
28
+ BLIS_KEY = 'f0a89abd4169155e3ebe8d34d666419abe9da2c3'
29
+ LAPACK_KEY = '5ce88a2b3df11d132b43442cab6a385f85a9f667'
30
30
  RB_CC = "'#{RbConfig::expand('$(CC)')}'"
31
31
  RB_CXX = "'#{RbConfig::expand('$(CPP)')}'"
32
32
 
@@ -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.5.0'
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,13 @@
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.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2022-04-15 00:00:00.000000000 Z
10
+ date: 2025-01-03 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: numo-linalg
@@ -50,7 +49,7 @@ metadata:
50
49
  source_code_uri: https://github.com/yoshoku/numo-blis
51
50
  changelog_uri: https://github.com/yoshoku/numo-blis/blob/main/CHANGELOG.md
52
51
  documentation_uri: https://github.com/yoshoku/numo-blis/blob/main/README.md
53
- post_install_message:
52
+ rubygems_mfa_required: 'true'
54
53
  rdoc_options: []
55
54
  require_paths:
56
55
  - lib
@@ -65,8 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
64
  - !ruby/object:Gem::Version
66
65
  version: '0'
67
66
  requirements: []
68
- rubygems_version: 3.3.7
69
- signing_key:
67
+ rubygems_version: 3.6.2
70
68
  specification_version: 4
71
69
  summary: Numo::BLIS downloads and builds BLIS during installation and uses that as
72
70
  a background library for Numo::Linalg.