You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/02 20:15:48 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #5396: add sparc to the daily ci

Ouss4 commented on a change in pull request #5396:
URL: https://github.com/apache/incubator-nuttx/pull/5396#discussion_r797977305



##########
File path: tools/ci/docker/linux/Dockerfile
##########
@@ -97,6 +97,15 @@ RUN mkdir riscv64-unknown-elf-gcc && \
   curl -s -L "https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz" \
   | tar -C riscv64-unknown-elf-gcc --strip-components 1 -xz
 
+###############################################################################
+# Build image for tool required by SPARC builds
+###############################################################################
+FROM nuttx-toolchain-base AS nuttx-toolchain-sparc
+# Download the SPARC GCC toolchain prebuilt by Gaisler
+RUN mkdir sparc-gaisler-elf-gcc && \
+  curl -L "https://www.gaisler.com/anonftp/bcc2/bin/bcc-2.1.0-gcc-linux64.tar.xz" \
+  | tar -C sparc-gaisler-elf-gcc --strip-components 1 -xvJf

Review comment:
       ```suggestion
     | tar -C sparc-gaisler-elf-gcc --strip-components 1 -xJ
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org