numo-liblinear 2.2.0 → 2.2.1

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: 3c94f77441f3e35b52598ce97a3c9075b5cb7fa1702882057f2897e0e1c1f834
4
- data.tar.gz: c85eceeb7d3f1018a6ea065d92906eea3ad3b6fca26647d9cc87a0fffd565d54
3
+ metadata.gz: fbd4a8fc87f4ae430183e396e9977337f31b0f3abe565045f7216cd49c30857d
4
+ data.tar.gz: 03b97573731e979cda4d3e4d71b6647a6e16b3133fb9227be366292b80135986
5
5
  SHA512:
6
- metadata.gz: 8c61cc234e3519254b61b73950d6e8d213abbe0c52729764bfb2397a4945d6e75da729a1f1cfdba52addf19438082d26a3b9418e4d604e75e21d299938dc4174
7
- data.tar.gz: 15104aae9746cd46c32e843f746aab07b86ac6ec9c56a4db3ae19da3298db42fb5f0361606b8282f209c2582a8f49f140fdf0fe4de24fb4ba0dec045f854b493
6
+ metadata.gz: 139cacb7349ebf5bee31b2292aa1de97eefbdc565affd44390359bf25a91e806d402c7d4104015fd1d6eba9b030b9fda5a7307f00923eaf259e90737559f1391
7
+ data.tar.gz: cc50ab17ba43f8d59f83c97daa50d0da5750473fd0b65913b51223b253157b058464b17c7b499e240496c2065eb2f7ef12cb161575bfbce53eb2ceb117967b22
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 2.2.1
2
+ - Fix build failure with Xcode 14 and Ruby 3.1.x.
3
+
1
4
  # 2.2.0
2
5
  - Update bundled LIBLINEAR to 2.45
3
6
 
@@ -20,6 +20,12 @@ if RUBY_PLATFORM =~ /mswin|cygwin|mingw/
20
20
  abort 'libnarray.a not found.' unless have_library('narray', 'nary_new')
21
21
  end
22
22
 
23
+ if RUBY_PLATFORM.match?(/darwin/) && Gem::Version.new('3.1.0') <= Gem::Version.new(RUBY_VERSION)
24
+ if try_link('int main(void){return 0;}', '-Wl,-undefined,dynamic_lookup')
25
+ $LDFLAGS << ' -Wl,-undefined,dynamic_lookup'
26
+ end
27
+ end
28
+
23
29
  abort 'libstdc++ is not found.' unless have_library('stdc++')
24
30
 
25
31
  $srcs = Dir.glob("#{$srcdir}/**/*.cpp").map { |path| File.basename(path) }
@@ -3,6 +3,6 @@
3
3
  module Numo
4
4
  module Liblinear
5
5
  # The version of Numo::Liblienar you are using.
6
- VERSION = '2.2.0'
6
+ VERSION = '2.2.1'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-liblinear
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.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-08-28 00:00:00.000000000 Z
11
+ date: 2022-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: numo-narray
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  requirements: []
81
- rubygems_version: 3.2.33
81
+ rubygems_version: 3.3.26
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: Numo::Liblinear is a Ruby gem binding to the LIBLINEAR library. Numo::Liblinear