hwloc 0.3.0 → 0.3.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 +4 -4
- data/hwloc.gemspec +1 -1
- data/lib/hwloc/Hwloc.rb +1 -1
- data/lib/hwloc/Topology.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f89b0959a676f9e73b6106c10b5e01e3d8aaf481
|
|
4
|
+
data.tar.gz: 2c62e5c5a50b74ca18606641080c7f5b6ddd19c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a3701dac946fe6d69f99c1ea953879adfa189641f2ddd9c19496e06d7256dd9f8e63a89217bbdc0eda07cc377c4d03a6a741c5ebcbf4e49e49c7558671c4172
|
|
7
|
+
data.tar.gz: 90d9f7f805ed738b199ee2e82662303f7ef5633f077d38b388fa98d8f5d98f3f3366a32905de92841b3422c731da215aba6f132e39c84dfe1c6cc7e203bda48e
|
data/hwloc.gemspec
CHANGED
data/lib/hwloc/Hwloc.rb
CHANGED
|
@@ -11,7 +11,7 @@ module Hwloc
|
|
|
11
11
|
API_VERSION_1_10 = 0x00010a00
|
|
12
12
|
API_VERSION_2_0 = 0x00020000
|
|
13
13
|
|
|
14
|
-
raise
|
|
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
|
|
data/lib/hwloc/Topology.rb
CHANGED
|
@@ -57,7 +57,11 @@ module Hwloc
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
typedef :pointer, :topology
|
|
60
|
-
|
|
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.
|
|
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-
|
|
11
|
+
date: 2017-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|