narray_ffi 1.3.0 → 1.4.0

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
  SHA1:
3
- metadata.gz: 91e9c0c0fbb8c6a7d5b918b30451fe19f89776e7
4
- data.tar.gz: 258ddf292f202caa98be3db49adbc936bce1890d
3
+ metadata.gz: 06b32f4f02afddf0bf9e794aa97ba32513f2c243
4
+ data.tar.gz: 56371650d395b82796b9a760d792a0f4cfbac342
5
5
  SHA512:
6
- metadata.gz: f502e01b2f228e0c0d85f9f97cb72a2b31d16366c068256c63f91d5ed06af46581f416563648dacb0043eb7180f1265be6f4441b9745b25ad717db8bfab408ec
7
- data.tar.gz: 5ed89ef0b2a8fca613b1b491c3d8da7d0a6dbdd7f5a0d5dfbab010ecb6baf9f024be6d04675d3683752350a9f1c4ee18343d074ad4919a145efc1369714877af
6
+ metadata.gz: 9aebb8067bf1c700cf7f05e26e4619c854fadc89a79c9aaa6a3a824ee469bd654133ca1d20fa68d3a469e71d507c88e067bcafde34e84cfd73f3eeadae9727ab
7
+ data.tar.gz: 1e38ae9a6fff95a79c66371585ac4eeb3b80c0e71179cc19c57e6b7cc916ab54ccd0f5dd32e6bf2b73120ca12a5c2717a9c6b6429a446858f5f3bc6539baa256
@@ -9,10 +9,6 @@ end
9
9
 
10
10
  dir_config("narray", conf["archdir"])
11
11
 
12
- if /cygwin|mingw/ =~ RUBY_PLATFORM then
13
- $LDFLAGS = "libnarray.a " << $LDFLAGS
14
- end
15
-
16
12
  unless have_header("narray.h")
17
13
  begin
18
14
  require "rubygems"
@@ -31,4 +27,8 @@ unless have_header("narray.h")
31
27
  end
32
28
  end
33
29
 
30
+ if /cygwin|mingw/ =~ RUBY_PLATFORM then
31
+ $LDFLAGS = "-l:narray.so " << $LDFLAGS
32
+ end
33
+
34
34
  create_makefile("narray_ffi_c")
data/narray_ffi.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'narray_ffi'
3
- s.version = "1.3.0"
3
+ s.version = "1.4.0"
4
4
  s.author = "Brice Videau"
5
5
  s.email = "brice.videau@imag.fr"
6
6
  s.homepage = "https://forge.imag.fr/projects/opencl-ruby/"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narray_ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Videau