1f08c3bdfSopenharmony_ciSupported kernel, libc, toolchain versions
2f08c3bdfSopenharmony_ci==========================================
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_ci1. Build testing with GitHub Actions
5f08c3bdfSopenharmony_ci------------------------------------
6f08c3bdfSopenharmony_ci
7f08c3bdfSopenharmony_ciWe test master branch in https://github.com/linux-test-project/ltp/actions[GitHub Actions]
8f08c3bdfSopenharmony_cito ensure LTP builds on various distributions including old, current and bleeding edge.
9f08c3bdfSopenharmony_ciWe test both gcc and clang toolchains, various architectures with cross-compilation.
10f08c3bdfSopenharmony_ciFor list of tested distros see
11f08c3bdfSopenharmony_cihttps://github.com/linux-test-project/ltp/blob/master/.github/workflows/ci.yml[.github/workflows/ci.yml].
12f08c3bdfSopenharmony_ci
13f08c3bdfSopenharmony_ci
14f08c3bdfSopenharmony_ciNOTE: GitHub Actions does only build testing, passing the CI means only that
15f08c3bdfSopenharmony_ci      the test compiles fine on variety of different distributions and releases.
16f08c3bdfSopenharmony_ci      GitHub Actions also uses the latest distribution image of a particular release.
17f08c3bdfSopenharmony_ci
18f08c3bdfSopenharmony_ci1.1 Oldest tested distributions
19f08c3bdfSopenharmony_ci~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20f08c3bdfSopenharmony_ci
21f08c3bdfSopenharmony_ci[align="center",options="header"]
22f08c3bdfSopenharmony_ci|==============================================================
23f08c3bdfSopenharmony_ci| Distro                       | kernel | glibc | gcc   | clang
24f08c3bdfSopenharmony_ci| CentOS 7                     | 3.10   | 2.17  | 4.8.5 | -
25f08c3bdfSopenharmony_ci| Ubuntu 16.04 LTS xenial      | 4.4    | 2.23  | 5.3.1 | -
26f08c3bdfSopenharmony_ci| Debian 9 stretch (oldstable) | 4.9.30 | 2.24  | 6.3.0 | 3.8
27f08c3bdfSopenharmony_ci|==============================================================
28f08c3bdfSopenharmony_ci
29f08c3bdfSopenharmony_ciOlder distributions are not officially supported, which means that it
30f08c3bdfSopenharmony_cimay or may not work. It all depends on your luck. It should be possible
31f08c3bdfSopenharmony_cito compile latest LTP even on slightly older distributions than we
32f08c3bdfSopenharmony_cisupport with a few manual tweaks, e.g. disabling manually tests for
33f08c3bdfSopenharmony_cinewly added syscalls, etc. Trivial fixes/workarounds may be accepted,
34f08c3bdfSopenharmony_cibut users are encouraged to move to a newer distro.
35f08c3bdfSopenharmony_ci
36f08c3bdfSopenharmony_ciIf latest LTP cannot be compiled even with some amount of workarounds,
37f08c3bdfSopenharmony_ciyou may result to older LTP releases, however these are _not_ supported
38f08c3bdfSopenharmony_ciin any way. Also if you are trying to run LTP on more than 10 years old
39f08c3bdfSopenharmony_cidistribution you may as well reconsider you life choices.
40f08c3bdfSopenharmony_ci
41f08c3bdfSopenharmony_ci1.2 Tested architectures
42f08c3bdfSopenharmony_ci~~~~~~~~~~~~~~~~~~~~~~~~
43f08c3bdfSopenharmony_ci
44f08c3bdfSopenharmony_ci[align="center",options="header"]
45f08c3bdfSopenharmony_ci|==================================
46f08c3bdfSopenharmony_ci| arch          | build
47f08c3bdfSopenharmony_ci| x86_64        | native
48f08c3bdfSopenharmony_ci| x86 emulation | native
49f08c3bdfSopenharmony_ci| aarch64       | cross compilation
50f08c3bdfSopenharmony_ci| ppc64le       | cross compilation
51f08c3bdfSopenharmony_ci| s390x         | cross compilation
52f08c3bdfSopenharmony_ci|==================================
53f08c3bdfSopenharmony_ci
54f08c3bdfSopenharmony_ci1.3 Supported libc
55f08c3bdfSopenharmony_ci~~~~~~~~~~~~~~~~~~
56f08c3bdfSopenharmony_ci
57f08c3bdfSopenharmony_ci[align="center",options="header"]
58f08c3bdfSopenharmony_ci|==================================
59f08c3bdfSopenharmony_ci| Libc      | Note
60f08c3bdfSopenharmony_ci| https://www.gnu.org/software/libc/[GNU C Library (glibc)] | Targetted libc, tested both compilation and actual test results.
61f08c3bdfSopenharmony_ci| https://uclibc-ng.org/[uClibc-ng] | Although not being tested it should work as well as it attempt to maintain a glibc compatible interface.
62f08c3bdfSopenharmony_ci| https://www.uclibc.org/[uClibc]   | Older https://www.uclibc.org/[uClibc] might have problems.
63f08c3bdfSopenharmony_ci| https://musl.libc.org/[musl] | Not yet fully supported (see
64f08c3bdfSopenharmony_ci                                 https://github.com/linux-test-project/ltp/blob/master/ci/alpine.sh[CI script]
65f08c3bdfSopenharmony_ci                                 for list of files which need to be deleted in order to compile under musl).
66f08c3bdfSopenharmony_ci| binder (Android) | Please use https://android.googlesource.com/platform/external/ltp/[AOSP fork].
67