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 +4 -4
- data/CHANGELOG.md +9 -0
- data/LICENSE.txt +1 -1
- data/ext/numo/blis/extconf.rb +4 -4
- data/lib/numo/blis/version.rb +1 -1
- data/lib/numo/blis.rb +7 -7
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59c91daaa53f4e8063d8ea703df697d0f0b68cd9aef803e0dce522c56186524a
|
4
|
+
data.tar.gz: 96c825b3719f59be1d034666c781741cab8399d8b05f62b21e72f763a3035e16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/ext/numo/blis/extconf.rb
CHANGED
@@ -19,14 +19,14 @@ SOEXT = RbConfig::CONFIG['SOEXT'] || case RbConfig::CONFIG['host_os']
|
|
19
19
|
'so'
|
20
20
|
end
|
21
21
|
|
22
|
-
BLIS_VERSION = '
|
23
|
-
LAPACK_VERSION = '3.
|
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 = '
|
29
|
-
LAPACK_KEY = '
|
28
|
+
BLIS_KEY = 'f0a89abd4169155e3ebe8d34d666419abe9da2c3'
|
29
|
+
LAPACK_KEY = '5ce88a2b3df11d132b43442cab6a385f85a9f667'
|
30
30
|
RB_CC = "'#{RbConfig::expand('$(CC)')}'"
|
31
31
|
RB_CXX = "'#{RbConfig::expand('$(CPP)')}'"
|
32
32
|
|
data/lib/numo/blis/version.rb
CHANGED
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
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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
|
+
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:
|
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
|
-
|
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.
|
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.
|