[Buildroot] [git commit] support/config-fragments/autobuild: use external toolchains in RISC-V configs

Peter Korsgaard peter at korsgaard.com
Thu Feb 14 20:53:19 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=78596e38516ff9d8eea8f8dea6159841f421c896
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This commit replaces the two RISC-V configurations used for the
autobuilders to use pre-built external toolchains rather than internal
toolchains. This saves quite a bit of build time in the autobuilders,
and also allows people to reproduce build issues in a much more
efficient way, since rebuilding the toolchain is not needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Cc: Mark Corbin <mark.corbin at embecosm.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 .../config-fragments/autobuild/br-riscv32-internal-glibc.config   | 3 ---
 support/config-fragments/autobuild/br-riscv32.config              | 8 ++++++++
 .../config-fragments/autobuild/br-riscv64-internal-glibc.config   | 3 ---
 support/config-fragments/autobuild/br-riscv64.config              | 7 +++++++
 support/config-fragments/autobuild/toolchain-configs.csv          | 4 ++--
 5 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/support/config-fragments/autobuild/br-riscv32-internal-glibc.config b/support/config-fragments/autobuild/br-riscv32-internal-glibc.config
deleted file mode 100644
index c5348a28da..0000000000
--- a/support/config-fragments/autobuild/br-riscv32-internal-glibc.config
+++ /dev/null
@@ -1,3 +0,0 @@
-BR2_riscv=y
-BR2_RISCV_32=y
-BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
diff --git a/support/config-fragments/autobuild/br-riscv32.config b/support/config-fragments/autobuild/br-riscv32.config
new file mode 100644
index 0000000000..9565a0b70b
--- /dev/null
+++ b/support/config-fragments/autobuild/br-riscv32.config
@@ -0,0 +1,8 @@
+BR2_riscv=y
+BR2_RISCV_32=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
+BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.net/toolchains/tarballs/br-riscv32-2019.02-rc1.tar.bz2"
+BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19=y
+BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
+BR2_TOOLCHAIN_EXTERNAL_CXX=y
diff --git a/support/config-fragments/autobuild/br-riscv64-internal-glibc.config b/support/config-fragments/autobuild/br-riscv64-internal-glibc.config
deleted file mode 100644
index d952c73a86..0000000000
--- a/support/config-fragments/autobuild/br-riscv64-internal-glibc.config
+++ /dev/null
@@ -1,3 +0,0 @@
-BR2_riscv=y
-BR2_RISCV_64=y
-BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
diff --git a/support/config-fragments/autobuild/br-riscv64.config b/support/config-fragments/autobuild/br-riscv64.config
new file mode 100644
index 0000000000..61912cfd7b
--- /dev/null
+++ b/support/config-fragments/autobuild/br-riscv64.config
@@ -0,0 +1,7 @@
+BR2_riscv=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
+BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.net/toolchains/tarballs/br-riscv64-2019.02-rc1.tar.bz2"
+BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19=y
+BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
+BR2_TOOLCHAIN_EXTERNAL_CXX=y
diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv
index 3681bc519f..c51335ac63 100644
--- a/support/config-fragments/autobuild/toolchain-configs.csv
+++ b/support/config-fragments/autobuild/toolchain-configs.csv
@@ -51,8 +51,8 @@ support/config-fragments/autobuild/br-powerpc64le-power8-glibc.config,x86_64
 support/config-fragments/autobuild/br-powerpc64-power7-glibc.config,x86_64
 support/config-fragments/autobuild/br-powerpc-e500mc-full.config,x86_64
 support/config-fragments/autobuild/br-powerpc-internal-full.config,any
-support/config-fragments/autobuild/br-riscv32-internal-glibc.config,any
-support/config-fragments/autobuild/br-riscv64-internal-glibc.config,any
+support/config-fragments/autobuild/br-riscv32.config,x86_64
+support/config-fragments/autobuild/br-riscv64.config,x86_64
 support/config-fragments/autobuild/br-sh4-full.config,x86_64
 support/config-fragments/autobuild/br-sparc-uclibc.config,x86_64
 support/config-fragments/autobuild/br-sparc64-glibc.config,x86_64


More information about the buildroot mailing list