MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / aix_platform

Function aix_platform

tools/python-3.11.9-amd64/Lib/_aix_support.py:46–66  ·  view source on GitHub ↗

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 (Fi

()

Source from the content-addressed store, hash-verified

44
45
46def aix_platform():
47 # type: () -> str
48 """
49 AIX filesets are identified by four decimal values: V.R.M.F.
50 V (version) and R (release) can be retrieved using ``uname``
51 Since 2007, starting with AIX 5.3 TL7, the M value has been
52 included with the fileset bos.rte and represents the Technology
53 Level (TL) of AIX. The F (Fix) value also increases, but is not
54 relevant for comparing releases and binary compatibility.
55 For binary compatibility the so-called builddate is needed.
56 Again, the builddate of an AIX release is associated with bos.rte.
57 AIX ABI compatibility is described as guaranteed at: https://www.ibm.com/\
58 support/knowledgecenter/en/ssw_aix_72/install/binary_compatability.html
59
60 For pep425 purposes the AIX platform tag becomes:
61 "aix-{:1x}{:1d}{:02d}-{:04d}-{}".format(v, r, tl, builddate, bitsize)
62 e.g., "aix-6107-1415-32" for AIX 6.1 TL7 bd 1415, 32-bit
63 and, "aix-6107-1415-64" for AIX 6.1 TL7 bd 1415, 64-bit
64 """
65 vrmf, bd = _aix_bos_rte()
66 return _aix_tag(_aix_vrtl(vrmf), bd)
67
68
69# extract vrtl from the BUILD_GNU_TYPE as an int

Callers 3

get_platformFunction · 0.90
get_host_platformFunction · 0.90
get_host_platformFunction · 0.90

Calls 3

_aix_bos_rteFunction · 0.85
_aix_tagFunction · 0.85
_aix_vrtlFunction · 0.85

Tested by

no test coverage detected