summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-08-28 14:24:50 +0700
committerhathach <[email protected]>2024-08-28 14:27:29 +0700
commit973cbd33388a5505a60ea1b70bbfd8b5c74c9c1e (patch)
treea72d461fdebbca2492d1b222fd6d240f791be814
parent59883237f71743d2e6664d1e244394c5757856d6 (diff)
enable i386 arch for running rx-gcc
-rw-r--r--.circleci/config2.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.circleci/config2.yml b/.circleci/config2.yml
index 70b5c60ac..e076baeb7 100644
--- a/.circleci/config2.yml
+++ b/.circleci/config2.yml
@@ -42,6 +42,10 @@ commands:
if [[ << parameters.toolchain >> == rx-gcc ]]; then
mv toolchain.tar.gz toolchain.run
chmod +x toolchain.run
+ # rx-gcc is i386 binary
+ sudo dpkg --add-architecture i386
+ sudo apt update
+ sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386
./toolchain.run -p ~/cache/<< parameters.toolchain >>/gnurx -y
else
tar -C ~/cache/<< parameters.toolchain >> -xaf toolchain.tar.gz