numo-blis 0.5.1 → 0.5.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: 76231045ffb4d2fb71ce0325f44afe157de0914c4b0b7859bc09c1d82cf31e9f
4
- data.tar.gz: d270167b6e4b8d570a5e9747e51ac2100933c762600c8a52d0a6856dc1e7dc54
3
+ metadata.gz: b79dd2bd5e9aff30a1eee95340ddb4f13c4310bac0532b59cc05046433f4572e
4
+ data.tar.gz: d4f34c10c1e015ab4b15a657e7fb32f55ad75d89b4bd8b766acb9750dc0c0192
5
5
  SHA512:
6
- metadata.gz: eb2fd8a3c41716f61ae73757ed3c2163cdbafa112aeef7fff863ecd74697b2d0f2aa949b67f4176d4c2815d5bb7b2c37a7a4216d50f674bab8dcb85b5ac2f783
7
- data.tar.gz: f900ba7670a41d2f17d3cb1b9a689607360745bbe467ab1f89b1132217bc9ebc1a4603a6dd27852f9ed27d70bce63f910037b464d99b3874af4732aea8a7347a
6
+ metadata.gz: 8facd67eb1d1e2cf0daf05a489279340c64955b5d30848b32241e6ae2a668c3943fd45d6107bd78c30beb5505d33f7a97ec4bad10a6dc5c6cc098647595fb5db
7
+ data.tar.gz: b412630916ed730686282bdf174e252e2adeb6448d2c3d983c1686af46985b4619ad0f02f08ff2750f17ff5aedd09500b1722c9466191750b07d803e87cb5f02
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [0.5.2] - 2025-04-28
2
+
3
+ - Change the version of BLIS to be downloaded to 1.1.
4
+ - Change to use automatic detection of CPU type on macOS.
5
+
1
6
  ## [0.5.1] - 2025-01-03
2
7
 
3
8
  - Fix BLIS_VERSION and LAPACK_VERSION constants.
@@ -8,7 +8,7 @@
8
8
  VALUE mNumo;
9
9
  VALUE mBLIS;
10
10
 
11
- void Init_blisext()
11
+ RUBY_FUNC_EXPORTED void Init_blisext(void)
12
12
  {
13
13
  /**
14
14
  * Document-module: Numo
@@ -23,7 +23,7 @@ void Init_blisext()
23
23
  mBLIS = rb_define_module_under(mNumo, "BLIS");
24
24
 
25
25
  /* The version of BLIS used as a background library. */
26
- rb_define_const(mBLIS, "BLIS_VERSION", rb_str_new_cstr("1.0"));
26
+ rb_define_const(mBLIS, "BLIS_VERSION", rb_str_new_cstr("1.1"));
27
27
 
28
28
  /* The version of LAPACK used as a background library. */
29
29
  rb_define_const(mBLIS, "LAPACK_VERSION", rb_str_new_cstr("3.11.0"));
@@ -19,13 +19,13 @@ SOEXT = RbConfig::CONFIG['SOEXT'] || case RbConfig::CONFIG['host_os']
19
19
  'so'
20
20
  end
21
21
 
22
- BLIS_VERSION = '1.0'
22
+ BLIS_VERSION = '1.1'
23
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 = 'f0a89abd4169155e3ebe8d34d666419abe9da2c3'
28
+ BLIS_KEY = 'ead2b3e256379a780de72bc583b131bb67657782'
29
29
  LAPACK_KEY = '5ce88a2b3df11d132b43442cab6a385f85a9f667'
30
30
  RB_CC = "'#{RbConfig::expand('$(CC)')}'"
31
31
  RB_CXX = "'#{RbConfig::expand('$(CPP)')}'"
@@ -39,13 +39,12 @@ BLIS_THREADING = if ['openmp', 'pthreads', 'no'].include?(ENABLE_THREADING_ARG)
39
39
  else
40
40
  'no'
41
41
  end
42
- BLIS_CPU = RbConfig::CONFIG['host_os'] =~ /darwin|mac os/i && RbConfig::CONFIG['host_cpu'] =~ /arm|aarch/i ? 'generic' : 'auto'
43
42
  BLIS_CONFIGURE_OPTIONS = ['--enable-cblas',
44
43
  "--enable-threading=#{BLIS_THREADING}",
45
44
  "--prefix=#{VENDOR_DIR}",
46
45
  "CC=#{RB_CC}",
47
46
  "CXX=#{RB_CXX}",
48
- "#{BLIS_CPU}"].join(' ')
47
+ 'auto'].join(' ')
49
48
  LAPACK_CMAKE_OPTIONS = ["-DBLAS_LIBRARIES='#{VENDOR_DIR}/lib/libblis.#{SOEXT}'",
50
49
  '-DLAPACKE=ON',
51
50
  '-DBUILD_SHARED_LIBS=ON',
@@ -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.5.1'
8
+ VERSION = '0.5.2'
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-blis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-01-03 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: numo-linalg
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
66
  requirements: []
67
- rubygems_version: 3.6.2
67
+ rubygems_version: 3.6.7
68
68
  specification_version: 4
69
69
  summary: Numo::BLIS downloads and builds BLIS during installation and uses that as
70
70
  a background library for Numo::Linalg.