Commit 61fe479
Add ABI version handling in C code and Python code (#323)
* Add GPUARRAY_ABI_VERSION constant and
pygpu.gpuarray.abi_version() method.
A new header file (abi_version.h) auto-generated by CMake
has been added.
* Add auto-generated file `src/gpuarray/abi_version.h`
to .gitignore.
* Make GPUARRAY_ABI_VERSION a number (1000*major + minor)
Change ABI minor version (1.0 -> 1.1) to make some tests.
* Add auto-generated CMake SOVERSION variable
(equals to the first part of VERSION). Now
the built library file is named libgpuarray.so.SOVERSION,
that is libgpuarray.so.ABIMAJOR.
* Back to right current version.1 parent 9efa493 commit 61fe479
File tree
5 files changed
+23
-0
lines changed- pygpu
- src
- gpuarray
5 files changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
103 | 116 | | |
104 | 117 | | |
105 | 118 | | |
| 119 | + | |
106 | 120 | | |
107 | 121 | | |
108 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
0 commit comments