libffm 0.1.0 → 0.1.1

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: a207ec6c4b7eee7b8649dac4d6cd1a5b1213431c8b2de64c20ed080b5311adcb
4
- data.tar.gz: 3d4e37041abe6ef1c25509130e8472029fb47fa52ae004b249c6cb430b80485e
3
+ metadata.gz: d83d396ee32f053d336ee05dd5eb5091f5c45e2638efb5accd6968cf95cab1b0
4
+ data.tar.gz: 7417b2812bce94a06a92f580d2aca82b34e4298c23c548a5ba6a556d7d148c96
5
5
  SHA512:
6
- metadata.gz: d4a0fee6252c9e6bd999404be493c8a5037f73b71ab579954de8366f5aead6ee19cfc568f3bee021a29cd42448daa34ce85d77d8203e3ce8d840c07ad90f5790
7
- data.tar.gz: 4ec88cd2cd3959d7f5d579ccdf6b2d7861066c5d0f347f6fd1dd8cb297cd34a89076c49b28537f302b6ac594565837057925b494a001cc6b7d1f4d6230077d6d
6
+ metadata.gz: 6a73888faced817a7c4b6d3095611ea42f711853d19c3edb43688a7b39b7aad144b1ee27efe13683834569dbcfc564a49a7ceafbb86d5246e9f8fdb5a038e7a6
7
+ data.tar.gz: 12196508c774adc8b25bf91755dacf4208537a3aa1c19695a1b9f4405790c989291903a5402a59ed9650614173a551f306439f15aae69477d15bd148eaf91441
@@ -1,3 +1,7 @@
1
+ ## 0.1.1 (2020-11-28)
2
+
3
+ - Fixed installation on Linux
4
+
1
5
  ## 0.1.0 (2020-11-28)
2
6
 
3
7
  - First release
@@ -1,6 +1,8 @@
1
1
  require "mkmf-rice"
2
2
 
3
- $CXXFLAGS += " -std=c++11 -DUSESSE"
3
+ # -DUSESSE requires sse3
4
+ # TODO test for it or update fork to use __SSE3__
5
+ $CXXFLAGS += " -std=c++11 -march=native"
4
6
 
5
7
  apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
6
8
 
@@ -1,3 +1,3 @@
1
1
  module Libffm
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -34,6 +34,10 @@ v: Value of each element in the problem
34
34
  #include <cassert>
35
35
  #include <numeric>
36
36
 
37
+ #if defined __SSE3__
38
+ #define USESSE 1
39
+ #endif
40
+
37
41
  #if defined USESSE
38
42
  #include <pmmintrin.h>
39
43
  #endif
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libffm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane