From 91ed31ec0419bb69a96ce7125229a21ad705b67b Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 11 Jun 2023 12:22:48 +1200 Subject: [PATCH] samples: Add arm-picolibc-default The rmprofile with picolibc produces many multilib combinations which causes the free tier github action runners to run out of disk space. Add a picolibc sample that only enables the default multilib so we can still get some coverage for picolibc in the CI builds. Signed-off-by: Chris Packham --- samples/arm-picolibc-default/crosstool.config | 13 +++++++++++++ samples/arm-picolibc-default/reported.by | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 samples/arm-picolibc-default/crosstool.config create mode 100644 samples/arm-picolibc-default/reported.by diff --git a/samples/arm-picolibc-default/crosstool.config b/samples/arm-picolibc-default/crosstool.config new file mode 100644 index 00000000..07911360 --- /dev/null +++ b/samples/arm-picolibc-default/crosstool.config @@ -0,0 +1,13 @@ +CT_CONFIG_VERSION="4" +CT_EXPERIMENTAL=y +CT_ARCH_ARM=y +CT_MULTILIB=y +CT_TARGET_CFLAGS="-ftls-model=local-exec" +CT_TARGET_VENDOR="picolibc" +CT_LIBC_PICOLIBC=y +CT_LIBC_PICOLIBC_DEFAULT_FLASH_ADDR="0x00000000" +CT_LIBC_PICOLIBC_DEFAULT_FLASH_SIZE="0x00400000" +CT_LIBC_PICOLIBC_DEFAULT_RAM_SIZE="0x00200000" +CT_CC_GCC_MULTILIB_LIST="default" +CT_CC_GCC_CONFIG_TLS=y +CT_CC_LANG_CXX=y diff --git a/samples/arm-picolibc-default/reported.by b/samples/arm-picolibc-default/reported.by new file mode 100644 index 00000000..652d26a2 --- /dev/null +++ b/samples/arm-picolibc-default/reported.by @@ -0,0 +1,3 @@ +reporter_name="Chris Packham" +reporter_url="http://crosstool-ng.org/" +reporter_comment="Sample for CI builds. Uses fewer multilib combinations than arm-picolibc-eabi"