AIX filesets are identified by four decimal values: V.R.M.F. V (version) and R (release) can be retrieved using ``uname`` Since 2007, starting with AIX 5.3 TL7, the M value has been included with the fileset bos.rte and represents the Technology Level (TL) of AIX. The F (Fix) va
()
| 61 | |
| 62 | |
| 63 | def aix_platform(): |
| 64 | # type: () -> str |
| 65 | """ |
| 66 | AIX filesets are identified by four decimal values: V.R.M.F. |
| 67 | V (version) and R (release) can be retrieved using ``uname`` |
| 68 | Since 2007, starting with AIX 5.3 TL7, the M value has been |
| 69 | included with the fileset bos.rte and represents the Technology |
| 70 | Level (TL) of AIX. The F (Fix) value also increases, but is not |
| 71 | relevant for comparing releases and binary compatibility. |
| 72 | For binary compatibility the so-called builddate is needed. |
| 73 | Again, the builddate of an AIX release is associated with bos.rte. |
| 74 | AIX ABI compatibility is described as guaranteed at: https://www.ibm.com/\ |
| 75 | support/knowledgecenter/en/ssw_aix_72/install/binary_compatability.html |
| 76 | |
| 77 | For pep425 purposes the AIX platform tag becomes: |
| 78 | "aix-{:1x}{:1d}{:02d}-{:04d}-{}".format(v, r, tl, builddate, bitsize) |
| 79 | e.g., "aix-6107-1415-32" for AIX 6.1 TL7 bd 1415, 32-bit |
| 80 | and, "aix-6107-1415-64" for AIX 6.1 TL7 bd 1415, 64-bit |
| 81 | """ |
| 82 | vrmf, bd = _aix_bos_rte() |
| 83 | return _aix_tag(_aix_vrtl(vrmf), bd) |
| 84 | |
| 85 | |
| 86 | # extract vrtl from the BUILD_GNU_TYPE as an int |
no test coverage detected
searching dependent graphs…