Build machine information (build_machine)

Provides information about the build machine -- the machine that is doing the actual compilation. See Cross-compilation.

Currently, these values are populated using platform.system() and platform.machine(). If you think the returned values for any of these are incorrect for your system or CPU, or if your OS is not in the linked table, please file a bug report with details and we'll look into it.

Extended by

Build machine information is extended by the following subtypes:

Build machine information methods

build_machine.cpu()

Returns a more specific CPU name, such as i686, amd64, etc.

Signature

str cpu()


build_machine.cpu_family()

Returns the CPU family name. This table contains all known CPU families. These are guaranteed to continue working.

Signature

str cpu_family()


build_machine.endian()

returns 'big' on big-endian systems and 'little' on little-endian systems.

Signature

str endian()


build_machine.system()

Returns the operating system name. This table Lists all of the currently known Operating System names, these are guaranteed to continue working.

Signature

str system()


The results of the search are