libffm 0.2.2 → 0.2.3

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: ae5aa07354f74ff2815053614f8b01add2f33f492d77e7d3ab08c068e1c8d7c7
4
- data.tar.gz: 4ba05563fd526c32957f03e02a50e537fc005893ae546a501127869da8ae3d9c
3
+ metadata.gz: cbc7ebda36dab0e6d13aed6d06824e0a4510248098bde695e41c04bd91e55c33
4
+ data.tar.gz: b1ffb029a0b8c18ecd36bfd63b183b5dd898aed57d8fe9bebbd0fe93d02708e5
5
5
  SHA512:
6
- metadata.gz: c50b5bc56c8b13389f4097cb72a2b86a5fd971230c449294862b3c8c88df9501b452f3dcab1ab22a3b602cda73ae13a2e868977150a80df61e2cc45b4c5a5f8d
7
- data.tar.gz: aa9d938ca5d2ef510a34161f322696927cb17d5b39911fbaa3486faf15d4ca1234857f9ffbc30efec5df329286513ea9bfc6a1012c5c4fe115364f3e10dcbe88
6
+ metadata.gz: 8c17c7a1a863d6b73f12929bdf95ec955a7fa5f7d0c36eb9a4e6b7f0796598da25aa75d2ad21e4a180733a629a328b2cdbb006b2fcdebc11029e81177d162dd0
7
+ data.tar.gz: fa70dcd097097e0dfc3a576440d5428652851b0459212d48ee804b599086bcb1bd99d9e35454f5f1917ec13c2c4ec05a7dadfef97609ae835d8d7849e854bdf2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.3 (2022-02-27)
2
+
3
+ - Fixed installation on Mac ARM
4
+
1
5
  ## 0.2.2 (2022-12-26)
2
6
 
3
7
  - Fixed error in finalizer
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  Copyright (c) 2017 The LIBFFM Project.
3
- Copyright (c) 2020-2022 Andrew Kane.
3
+ Copyright (c) 2020-2023 Andrew Kane.
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without
@@ -2,7 +2,10 @@ require "mkmf-rice"
2
2
 
3
3
  # -DUSESSE requires sse3
4
4
  # TODO test for it or update fork to use __SSE3__
5
- $CXXFLAGS += " -std=c++17 $(optflags) -march=native"
5
+
6
+ # -march=native not supported with ARM Mac
7
+ default_optflags = RbConfig::CONFIG["host_os"] =~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i ? "" : "-march=native"
8
+ $CXXFLAGS << " -std=c++17 $(optflags) " << with_config("optflags", default_optflags)
6
9
 
7
10
  apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
8
11
 
@@ -1,3 +1,3 @@
1
1
  module Libffm
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libffm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-26 00:00:00.000000000 Z
11
+ date: 2023-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rice
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  requirements: []
71
- rubygems_version: 3.4.1
71
+ rubygems_version: 3.4.6
72
72
  signing_key:
73
73
  specification_version: 4
74
74
  summary: Field-aware factorization machines for Ruby