Package org.robovm.compiler.config
Class Arch
java.lang.Object
org.robovm.compiler.config.Arch
- All Implemented Interfaces:
Comparable<Arch>
public class Arch extends Object implements Comparable<Arch>
Information about build slice -- incorporates arch, os and Environment
such as x86_64, x86_64-simulator or x86_64-macosx
- Author:
- dkimitsa
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Arch(CpuArch arch)Arch(CpuArch arch, Environment env) -
Method Summary
Modifier and Type Method Description intcompareTo(Arch o)Archcopy(Environment anotherEnv)booleanequals(Object o)ByteOrdergetByteOrder()CpuArchgetCpuArch()static ArchgetDefaultArch()EnvironmentgetEnv()StringgetLlvmCpu()inthashCode()booleanis32Bit()booleanisArm()static Archparse(String s)ArchpromoteTo(OS os)promote CpuArch with environment if it wasn't specified E.g.static Arch[]supported(OS os)returns possible supported arches for given osStringtoString()
-
Field Details
-
thumbv7
-
arm64
-
x86
-
x86_64
-
-
Constructor Details
-
Arch
-
Arch
-
-
Method Details
-
getDefaultArch
-
promoteTo
promote CpuArch with environment if it wasn't specified E.g. x86_64 and iOS exists only for Simulator environment -
supported
returns possible supported arches for given os -
getCpuArch
-
getEnv
-
copy
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Arch>
-
parse
-
is32Bit
public boolean is32Bit() -
getByteOrder
-
isArm
public boolean isArm() -
getLlvmCpu
-