Utils::Architectures
- Library for archtectures related functionality
is_s390x();
Returns check_var('ARCH', 's390x')
.
is_i586();
Returns check_var('ARCH', 'is_i586')
.
is_i686();
Returns check_var('ARCH', 'is_i686')
.
is_x86_64();
Returns check_var('ARCH', 'x86_64')
.
is_x86_64_v2();
Returns check_var('ARCH', 'is_x86_64_v2')
.
is_aarch64();
Returns check_var('ARCH', 'aarch64')
.
is_arm();
Returns get_var('ARCH') =~ /arm/
.
is_ppc64le();
Returns check_var('ARCH', 'ppc64le')
.
is_ppc64();
Returns C<check_var('ARCH', 'ppc64')>.
is_riscv();
Returns whether ARCH is a riscv (currently only riscv64).
is_orthos_machine();
Returns true if machine FQDN has arch.suse.de suffix
.
is_supported_suse_domain();
Returns true if machine FQDN has qa.suse.de, qa2.suse.asia or arch.suse.de suffix
.
is_zvm();
Returns true if machine is s390x zVM
.
is_32bit();
Returns true if machine is 32 bit architecture
.