aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-06-11 12:22:48 +1200
committerChris Packham <judge.packham@gmail.com>2023-06-13 11:27:51 +1200
commit91ed31ec0419bb69a96ce7125229a21ad705b67b (patch)
tree08f0b5f18da00b5b36a7dd4adf9e9e8e4da574a8 /samples
parent227d99d7f3115f3a078595a580d2b307dcd23e93 (diff)
downloadcrosstool-ng-91ed31ec0419bb69a96ce7125229a21ad705b67b.tar.gz
crosstool-ng-91ed31ec0419bb69a96ce7125229a21ad705b67b.tar.bz2
crosstool-ng-91ed31ec0419bb69a96ce7125229a21ad705b67b.zip
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 <judge.packham@gmail.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/arm-picolibc-default/crosstool.config13
-rw-r--r--samples/arm-picolibc-default/reported.by3
2 files changed, 16 insertions, 0 deletions
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"