Skip to content

Commit

Permalink
Upgrading Cmake, adding arm-none-eabi (#49)
Browse files Browse the repository at this point in the history
Upgrading Cmake to 3.30
Adding arm-none-eabi-gcc toolchains
  • Loading branch information
thirtytwobits authored Aug 12, 2024
1 parent 505b590 commit a7164e8
Show file tree
Hide file tree
Showing 13 changed files with 169 additions and 21 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ like [libcanard](https://github.com/OpenCyphal/libcanard) and

#### Supported Versions

| tag | Python | Gcc | Clang | Cmake | Platforms | Other Utilities |
|----------|--------|-----|-------|-------|-----------|-----------------|
| [ts22.4.8](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 12.3.0 | 18.1.3 | 3.22.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.10.0</li><li>nvm</li><li>node 20.x</li><li>nox</li><li>govr</li><li>gcc-multilib (amd64 only)</li></ul> |
| [ts22.4.7](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 12.3.0 | 18.1.3 | 3.22.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.10.0</li><li>nvm</li><li>node 20.x</li><li>nox</li><li>govr</li></ul> |
| [ts22.4.6](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.4.0 | 18.0.0 | 3.22.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.10.0</li><li>nvm</li><li>node 20.x</li><li>nox</li><li>govr</li></ul> |
| [ts22.4.5](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.4.0 | 18.0.0 | 3.22.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.9.6</li><li>nvm</li><li>node 16.20.0</li><li>nox</li><li>govr</li></ul> |
| [ts22.4.3](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.3.0 | 15.0.7 | 3.22.1 | <ul><li>linux/amd64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.9.6</li><li>nvm</li><li>node 16.20.0</li><li>nox</li><li>govr</li></ul> |
| [ts22.4.2](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.3.0 | 15.0.7 | 3.22.1 | <ul><li>linux/amd64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>~~sonar-scanner~~</li><li>doxygen 1.9.6</li><li>nvm</li><li>node 16.20.0</li></ul> |
| [ts22.4.1](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.3.0 | 15.0.7 | 3.22.1 | <ul><li>linux/amd64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>sonar-scanner</li><li>doxygen 1.9.6</li></ul> |
| tag | Python | GCC (native) | GCC (arm-none-eabi) | Clang (native) | Cmake | Host Platforms | Other Utilities |
|----------|--------|--------------|---------------------|----------------|-------|----------------|-----------------|
| [ts22.4.9](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 12.3.0 | 13.3.1 | 18.1.3 | 3.30.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.10.0</li><li>nvm</li><li>node 20.x</li><li>nox</li><li>govr</li><li>gcc-multilib (amd64 only)</li></ul> |
| [ts22.4.8](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 12.3.0 | (N/A) | 18.1.3 | 3.22.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.10.0</li><li>nvm</li><li>node 20.x</li><li>nox</li><li>govr</li><li>gcc-multilib (amd64 only)</li></ul> |
| [ts22.4.7](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 12.3.0 | (N/A) | 18.1.3 | 3.22.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.10.0</li><li>nvm</li><li>node 20.x</li><li>nox</li><li>govr</li></ul> |
| [ts22.4.6](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.4.0 | (N/A) | 18.0.0 | 3.22.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.10.0</li><li>nvm</li><li>node 20.x</li><li>nox</li><li>govr</li></ul> |
| [ts22.4.5](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.4.0 | (N/A) | 18.0.0 | 3.22.1 | <ul><li>linux/amd64</li><li>linux/arm64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.9.6</li><li>nvm</li><li>node 16.20.0</li><li>nox</li><li>govr</li></ul> |
| [ts22.4.3](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.3.0 | (N/A) | 15.0.7 | 3.22.1 | <ul><li>linux/amd64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>doxygen 1.9.6</li><li>nvm</li><li>node 16.20.0</li><li>nox</li><li>govr</li></ul> |
| [ts22.4.2](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.3.0 | (N/A) | 15.0.7 | 3.22.1 | <ul><li>linux/amd64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>~~sonar-scanner~~</li><li>doxygen 1.9.6</li><li>nvm</li><li>node 16.20.0</li></ul> |
| [ts22.4.1](https://github.com/OpenCyphal/docker_toolchains/pkgs/container/toolshed) | 3.10 | 11.3.0 | (N/A) | 15.0.7 | 3.22.1 | <ul><li>linux/amd64</li></ul> | <ul><li>qemu</li><li>can-utils</li><li>sonar-scanner</li><li>doxygen 1.9.6</li></ul> |



Expand Down
34 changes: 33 additions & 1 deletion toolshed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ ENV LC_ALL=en_US.UTF-8
# +---------------------------------------------------------------------------+
FROM base AS provisioning
WORKDIR /tmp
ADD kitware-archive-latest.asc .
ADD pre-provision.sh ./pre-provision.sh
ADD provision.sh ./provision.sh
ADD provision-${TARGETARCH}.sh ./provision-${TARGETARCH}.sh
ADD post-provision.sh ./post-provision.sh

RUN apt update
RUN ./pre-provision.sh
RUN apt update
RUN ./provision.sh
RUN ./provision-${TARGETARCH}.sh
RUN ./post-provision.sh
Expand Down Expand Up @@ -127,6 +130,35 @@ RUN ./gcc-select.sh 11 1
RUN ./gcc-select.sh 12 99
RUN update-alternatives --display gcc

# +---------------------------------------------------------------------------+
# | arm-none-eabi-gcc
# +---------------------------------------------------------------------------+
FROM gcc-select AS arm-none-eabi-arm64
ARG GCC_HOST_VERSION=aarch64

FROM gcc-select AS arm-none-eabi-amd64
ARG GCC_HOST_VERSION=x86_64

FROM arm-none-eabi-${TARGETARCH} AS arm-none-eabi
WORKDIR /tmp
COPY cached-download.sh .

ARG ARM_NONE_EABI_VERSION=13.3.rel1
ARG ARM_NONE_EABI_CHECKSUM_FILE=arm-gnu-toolchain-${ARM_NONE_EABI_VERSION}-${GCC_HOST_VERSION}-arm-none-eabi.tar.xz.sha256asc

COPY ${ARM_NONE_EABI_CHECKSUM_FILE} .
RUN --mount=type=cache,target=/arm-none-eabi-download \
./cached-download.sh \
--cache-target "/arm-none-eabi-download" \
--download-url "https://developer.arm.com/-/media/Files/downloads/gnu/${ARM_NONE_EABI_VERSION}/binrel/arm-gnu-toolchain-${ARM_NONE_EABI_VERSION}-${GCC_HOST_VERSION}-arm-none-eabi.tar.xz" \
--download-to-file "/arm-none-eabi-download/arm-gnu-toolchain-${ARM_NONE_EABI_VERSION}-${GCC_HOST_VERSION}-arm-none-eabi.tar.xz" \
--checksums "/tmp/${ARM_NONE_EABI_CHECKSUM_FILE}" \
--algorithm 256 \
--unpack-dir "/opt"

ADD arm-none-eabi-gcc-select.sh ./arm-none-eabi-gcc-select.sh
RUN ./arm-none-eabi-gcc-select.sh 13.3.1 1 /opt/arm-gnu-toolchain-${ARM_NONE_EABI_VERSION}-${GCC_HOST_VERSION}-arm-none-eabi/bin/
RUN update-alternatives --display arm-none-eabi-gcc

# LEAVE THE WORKDIR AS /repo
WORKDIR /repo

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c8824bffd057afce2259f7618254e840715f33523a3d4e4294f471208f976764 arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
95c011cee430e64dd6087c75c800f04b9c49832cc1000127a92a97f9c8d83af4 arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz
34 changes: 34 additions & 0 deletions toolshed/arm-none-eabi-gcc-select.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/bash

GCC_VERSION=${1}

setup_gcc_alternatives()
{
local version=${1}
local priority=${2}
local group=${3}
local members=${4}
local path=${5}
local cmdln

cmdln="--verbose --install /usr/bin/${group} ${group} ${path}${group}-${version} ${priority}"
for member in ${members}; do
cmdln="${cmdln} --slave ${path}${member} ${member} ${path}${member}-${version}"
done
update-alternatives ${cmdln}
}

GCC_ALTERNATIVES_PRI=${2}
GCC_ALTERNATIVES_PATH=${3}

# setup gcc group
GCC_ALTERNATIVES_GROUP_GCC_CONFIG=""
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} arm-none-eabi-g++"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} arm-none-eabi-gcc-ar"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} arm-none-eabi-gcc-nm"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} arm-none-eabi-gcc-ranlib"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} arm-none-eabi-gcov"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} arm-none-eabi-gcov-dump"
GCC_ALTERNATIVES_GROUP_GCC_CONFIG="${GCC_ALTERNATIVES_GROUP_GCC_CONFIG} arm-none-eabi-gcov-tool"

setup_gcc_alternatives "${GCC_VERSION}" "${GCC_ALTERNATIVES_PRI}" "arm-none-eabi-gcc" "${GCC_ALTERNATIVES_GROUP_GCC_CONFIG}" "${GCC_ALTERNATIVES_PATH}"
16 changes: 14 additions & 2 deletions toolshed/cached-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,22 @@ echo_usage() {
echo " -d, --download-url URL URL to download"
echo " -f, --download-to-file NAME The filename to output the download to"
echo " -s, --checksums FILE Checksums file"
echo " -a, --algorithm 512 (default) 224, 256, 384, 512, 512224, 512256"
echo " -u, --unpack-dir DIR Unpack directory"
echo " -t, --tar-args ARGS (optional) Additional arguments for (un)tar command"
echo " -h, --help Show help message"
}

# Check if any required option is unset (except help)
check_options() {
if [[ -z $cache_target || -z $download_url || -z $download_to_file || -z $checksums_file || -z $unpack_dir ]]; then
if [[ -z $cache_target || -z $download_url || -z $download_to_file || -z $checksums_file ]]; then
echo "Error: Missing required options"
echo_usage
exit 1
fi
}

algorithm="512"
tar_args=""

# Parse command line arguments
Expand Down Expand Up @@ -72,6 +74,11 @@ while [[ $# -gt 0 ]]; do
shift
shift
;;
-a|--algorithm)
algorithm="$2"
shift
shift
;;
-h|--help)
echo_usage
exit 0
Expand All @@ -89,5 +96,10 @@ check_options

cd "$cache_target"
wget --no-config --show-progress --progress=bar:noscroll:force -O "$download_to_file" "$download_url"
sha512sum -c "$checksums_file"
shasum -a $algorithm -c "$checksums_file"

if [[ -z $unpack_dir ]]; then
echo "No --unpack-dir provided. Skipping untar step."
else
tar -xvf "$download_to_file" $tar_args -C "$unpack_dir"
fi

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

64 changes: 64 additions & 0 deletions toolshed/kitware-archive-latest.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGSV3+MBEADR4fzupSr78FqJmyiutFr5pPiRW3qkOCDIYwUPxrj/rm/F9bjv
vTKe90bgl7hJKGK25j4QuYbJpLZe5sbYLHVx3GeuXdodkHhY87rajFboJBMlPdTZ
7DgEaSLYGnO0XvXa0l23uKw/kMTimkq6p4etgC2erOeTYW9AafLzRfDUzgkbJN9s
Z/hNZHwUpLiiQAV6hSwfWELxk6ThWPI440PdXLmA3T3r/zkE6kRzvxcJfR1crj5e
0pQH/fpSSg+CG8kbKn3zISW/7Hyr4rrty39OfqsoZf6ecTP0thRXUlwy5PMrUwM6
pRnmkJ60+P5vlctwIZCo2Vz9z2oq2k6CtFBT9xUGJr42b5syX3rs2aZ+b9cEQADG
9uZYOaY5MdyNrvSicRb4JZwJu/itF/YXd8LEQpryiRK39wkEIEgMm+/hcy2WueYb
IYldFrSSESFcCp9aZKlqPxgW4N6Yp1u/VdrZP2W5JT/kgLHEZOhPc1eWPQu2IXUy
/EaN/3+Jswab0gYhytwTJ08mqzW/9o/HTT8zo5xKX59RKj0YdwO4IOjVugQPc1Fk
W8yLtRrcKd1wo2Li3mC5IekrLqMB1zW+S3k5lJnFT9TK1hwwTMQakQhfjz9Dq8B9
Z6whZiIVMB+ZfLp40O2IObZjc+6K2Y22HH+w9wvjnbfhnipTN/VV7XrTgwARAQAB
tEVLaXR3YXJlIEFwdCBBcmNoaXZlIEF1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w+ywdxzyVtF340T/rhU4cjLRQ77V8ZczanBgt
nCVS+h2NaOnJsKkuyWPbXYY2VE54GP45yAr3YV+sdRjQI7FQPKOP95JMw0w1i1jT
DF5oOPguBnwXkJFKMeBzQqYyOPUSGS4znffvPVI5moVolH6RWJ1fwb8TmI3x+vtc
yQ3QDu7jz9c66Y6einO7IADE0E61OlnwAISs5FeJ6mD2KUmEn3JesbfbVN7zK29X
7pJCgHq7sZj8G1FOj6FofvKy5N2OK3m0PGyC9qzawGtvyiAp2qbPMhbLOUDtSXy9
OA//cy/ozt8pbR2HIEmXt9Dw3QHxS5+mBoVb9Jg1nUnAi3VioFgYIO757xnLankF
+Avb7n4fSo6ifc9SrMgU5DmuuAq8pXxHruq/o2ZbaP5LnnEqg1zimvzZDz8hldIi
JDpZXxhMosZ8s+t2H5XZABTWlq7t/lY/EK8cX+T9V+cJ5oH4ivtm2pfdeOUCQe/c
Rovdjwr7IUKpABTKk/uRhMzlhtMuwM4K1sWSzZe5o9J6lwhgFlG3FfGfpbwWmdly
74qGusUYYUQzrmS4mf0GjRvRwmSsqpb/S9O3UiilCq8yMfdeRi2INTgszVGZW29g
RNcvxu2ouj54Y8pZVggVWSmYnxanycjGxteBGYCxhLQXphSEgkFJK/eDC6L0Wv02
ThTgkJSt83CJnx+3wel3Z5ZLgsk+yy9I+kXDNfyLBe1AVZ/4H6cz+8PPO7xmjQA5
n1rpTBecZWHY5xu7rUZHJZfgHx2ZYtFxOdcIXmcTSaku80gp0yExkA6BI5E+0/kX
VGVB7Yac5ib8BnmWZpcBJwuhx7lEOhf7EOG0e9njEp7paNAxZXJNjs2gxEMfMfRR
oPWoCd4KBAatFHyxtB9lM5UtcY15unkFbYD7lYBLdUGnEirzE1reSHy5wR1tGdjr
0pf13ATLBVuyj9f4oHcbK9abw69hMH3DQa3rHqko1dmWkAs=
=QrQE
-----END PGP PUBLIC KEY BLOCK-----
15 changes: 10 additions & 5 deletions toolshed/pre-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,23 @@ set -o pipefail
# +----------------------------------------------------------+
export DEBIAN_FRONTEND=noninteractive

apt-get update
apt-get -y install lsb-release
apt-get -y install unzip
apt-get -y install zip
apt-get -y install debconf
apt-get -y install wget
apt-get -y install gpg

cat kitware-archive-latest.asc
cat kitware-archive-latest.asc | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null

apt-get -y install software-properties-common
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6AF7F09730B3F0A4
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ jammy main'
add-apt-repository -y ppa:deadsnakes/ppa

# setup locales in the container so Python can default to utf-8.
apt-get -y install locales
# from http://jaredmarkell.com/docker-and-locales/
locale-gen en_US.UTF-8
# See Dockerfile for exports

apt-get -y install software-properties-common
add-apt-repository -y ppa:deadsnakes/ppa
apt-get update
2 changes: 2 additions & 0 deletions toolshed/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ apt-get -y install lsb-release
apt-get -y install wget
apt-get -y install gnupg
apt-get -y install vim
apt-get -y install g++-10
apt-get -y install g++-11
apt-get -y install g++-12

0 comments on commit a7164e8

Please sign in to comment.