hwloc 0.3.0 → 0.3.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
  SHA1:
3
- metadata.gz: 9ba61e1a01e14b5b51f99082550eff817cfdf3cf
4
- data.tar.gz: 27e11114673db41f5f885cec565e8b5e75721b75
3
+ metadata.gz: f89b0959a676f9e73b6106c10b5e01e3d8aaf481
4
+ data.tar.gz: 2c62e5c5a50b74ca18606641080c7f5b6ddd19c8
5
5
  SHA512:
6
- metadata.gz: 7aef73e3c365c766f4bb2218eb240ae8ab61d19cae1680a68b47763545bb9303ad59352264ab6c4ccc27db153427db04d657b096ab120f0a3473fa49f23eaf23
7
- data.tar.gz: a9afb5b77ee7af7f150a38aa2d281ec8b0b8c1958e4624837805089b895e22385038992994e3fb0a300bcdd8ed65ba559bd8c02804d87aef5bd8466132653bb3
6
+ metadata.gz: 7a3701dac946fe6d69f99c1ea953879adfa189641f2ddd9c19496e06d7256dd9f8e63a89217bbdc0eda07cc377c4d03a6a741c5ebcbf4e49e49c7558671c4172
7
+ data.tar.gz: 90d9f7f805ed738b199ee2e82662303f7ef5633f077d38b388fa98d8f5d98f3f3366a32905de92841b3422c731da215aba6f132e39c84dfe1c6cc7e203bda48e
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'hwloc'
3
- s.version = "0.3.0"
3
+ s.version = "0.3.1"
4
4
  s.author = "Brice Videau"
5
5
  s.email = "brice.videau@imag.fr"
6
6
  s.homepage = "https://github.com/Nanosim-LIG/hwloc-ruby"
@@ -11,7 +11,7 @@ module Hwloc
11
11
  API_VERSION_1_10 = 0x00010a00
12
12
  API_VERSION_2_0 = 0x00020000
13
13
 
14
- raise RuntimeError, "Wrong hwloc api version (#{API_VERSION.to_s(16)})!" if API_VERSION < 0x00010a00
14
+ raise LoadError, "Wrong hwloc api version (#{API_VERSION.to_s(16)})!" if API_VERSION < 0x00010a00
15
15
 
16
16
  attach_function :strerror, [:int], :string
17
17
 
@@ -57,7 +57,11 @@ module Hwloc
57
57
  end
58
58
 
59
59
  typedef :pointer, :topology
60
- typedef :pthread_t, :hwloc_thread_t
60
+ begin
61
+ typedef :pthread_t, :hwloc_thread_t
62
+ rescue TypeError
63
+ typedef :pointer, :hwloc_thread_t
64
+ end
61
65
  typedef :pid_t, :hwloc_pid_t
62
66
 
63
67
  attach_function :hwloc_topology_init, [:pointer], :int
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hwloc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Videau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2017-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi