53d1d3b8eac9e9e22715030183e7ed2d44a03f5a
[iec.git] / src / type3_AndroidCloud / anbox-master / external / cpu_features / scripts / test_integration.sh
1 source "$(dirname -- "$0")"/run_integration.sh
2
3 # Toolchains for little-endian, 64-bit ARMv8 for GNU/Linux systems
4 function set_aarch64-linux-gnu() {
5   TOOLCHAIN=LINARO
6   TARGET=aarch64-linux-gnu
7   QEMU_ARCH=aarch64
8 }
9
10 # Toolchains for little-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems 
11 function set_arm-linux-gnueabihf() {
12   TOOLCHAIN=LINARO
13   TARGET=arm-linux-gnueabihf
14   QEMU_ARCH=arm
15 }
16
17 # Toolchains for little-endian, 32-bit ARMv8 for GNU/Linux systems
18 function set_armv8l-linux-gnueabihf() {
19   TOOLCHAIN=LINARO
20   TARGET=armv8l-linux-gnueabihf
21   QEMU_ARCH=arm
22 }
23
24 # Toolchains for little-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
25 function set_arm-linux-gnueabi() {
26   TOOLCHAIN=LINARO
27   TARGET=arm-linux-gnueabi
28   QEMU_ARCH=arm
29 }
30
31 # Toolchains for big-endian, 64-bit ARMv8 for GNU/Linux systems
32 function set_aarch64_be-linux-gnu() {
33   TOOLCHAIN=LINARO
34   TARGET=aarch64_be-linux-gnu
35   QEMU_ARCH="DISABLED"
36 }
37
38 # Toolchains for big-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
39 function set_armeb-linux-gnueabihf() {
40   TOOLCHAIN=LINARO
41   TARGET=armeb-linux-gnueabihf
42   QEMU_ARCH="DISABLED"
43 }
44
45 # Toolchains for big-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
46 function set_armeb-linux-gnueabi() {
47   TOOLCHAIN=LINARO
48   TARGET=armeb-linux-gnueabi
49   QEMU_ARCH="DISABLED"
50 }
51
52
53 function set_mips() {
54   TOOLCHAIN=CODESCAPE
55   TARGET=mips-mti-linux-gnu
56   QEMU_ARCH="DISABLED"
57 }
58
59 function set_native() {
60   TOOLCHAIN=NATIVE
61   TARGET=native
62   QEMU_ARCH=""
63 }
64
65 ENVIRONMENTS="
66   set_aarch64-linux-gnu
67   set_arm-linux-gnueabihf
68   set_armv8l-linux-gnueabihf
69   set_arm-linux-gnueabi
70   set_aarch64_be-linux-gnu
71   set_armeb-linux-gnueabihf
72   set_armeb-linux-gnueabi
73   set_native
74   set_mips
75 "
76
77 for SET_ENVIRONMENT in ${ENVIRONMENTS}; do
78   ${SET_ENVIRONMENT}
79   expand_environment_and_integrate
80 done