Compare commits

...

11 Commits

Author SHA1 Message Date
5d948be506 Merge branch 'master' into add_scripts 2021-07-08 23:50:37 +02:00
94745ff927 Merge pull request #527 from bensuperpc/update_gcc 2021-07-08 17:17:15 -04:00
4a80999f63 Merge branch 'master' into add_scripts 2021-07-08 13:21:59 +02:00
315089192b Update to GCC11 on windows images
Update to GCC11 on windows images

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-08 13:20:36 +02:00
1bd55640ce Merge branch 'dockcross:master' into master 2021-07-08 13:17:12 +02:00
450316ffa1 Fix wrong number
Fix wrong number

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-08 08:23:29 +02:00
4ea4b20b84 Update ARMv6 to latest commit
Update ARMv6 to latest commit

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-08 08:23:29 +02:00
5c67699710 Update commit to latest version
Update crosstool-ng and mxe

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-08 08:23:29 +02:00
e8c98ab58e Update builder scripts
Update builder scripts

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-07 16:56:05 +02:00
438d2dcaaa Merge remote-tracking branch 'origin/master' into add_scripts 2021-07-07 16:54:42 +02:00
cb4653ac7a Add scripts
Add scripts

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-03 19:48:41 +02:00
22 changed files with 671 additions and 255 deletions

View File

@ -12,8 +12,8 @@ jobs:
exempt-issue-milestones: 'future,alpha,beta,release'
exempt-pr-milestones: 'bugfix,improvement'
exempt-all-pr-assignees: true
stale-issue-message: 'This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 15 days.'
stale-pr-message: 'This PR is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 15 days.'
stale-issue-message: 'This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
stale-pr-message: 'This PR is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 30 days with no activity.'
days-before-issue-stale: 120

View File

@ -15,8 +15,8 @@
# ARG MXE_TARGET_LINK=shared
#
# mxe master 2020-12-21
ARG MXE_GIT_TAG=a7a45e4e51fe70032305b828a001aac848f74fdb
# mxe master 2021-07-07
ARG MXE_GIT_TAG=29aac96601e6428900b1e9b2befb4cc567aff298
ENV CMAKE_TOOLCHAIN_FILE /usr/src/mxe/usr/${MXE_TARGET_ARCH}-w64-mingw32.${MXE_TARGET_LINK}${MXE_TARGET_THREAD}/share/cmake/mxe-conf.cmake
@ -88,7 +88,7 @@ RUN \
cd /usr/src/mxe && \
echo "MXE_TARGETS := ${MXE_TARGET_ARCH}-w64-mingw32.${MXE_TARGET_LINK}${MXE_TARGET_THREAD}" > settings.mk && \
echo "MXE_USE_CCACHE :=" >> settings.mk && \
echo "MXE_PLUGIN_DIRS := plugins/gcc10" >> settings.mk && \
echo "MXE_PLUGIN_DIRS := plugins/gcc11" >> settings.mk && \
echo "LOCAL_PKG_LIST := cc cmake" >> settings.mk && \
echo ".DEFAULT local-pkg-list:" >> settings.mk && \
echo "local-pkg-list: \$(LOCAL_PKG_LIST)" >> settings.mk && \

View File

@ -4,7 +4,8 @@ FROM dockcross/base:latest
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
#include "common.crosstool"

View File

@ -6,7 +6,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# musleabi as default glibc
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
#include "common.crosstool"

View File

@ -6,7 +6,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
#include "common.crosstool"

View File

@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
# This is for 32-bit ARMv6 Linux
# Raspberry Pi is ARMv6+VFP2

View File

@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
# This is for 32-bit ARMv7 Linux
#include "common.crosstool"

View File

@ -4,7 +4,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# This is for 32-bit ARMv7 Linux
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
#include "common.crosstool"

View File

@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 94b98a4cc96ff6c4ca982ea19db953447e802919
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
ENV QEMU_VERSION 6.0.0

View File

@ -4,7 +4,8 @@ FROM dockcross/base:latest
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
#include "common.crosstool"

View File

@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
ENV QEMU_VERSION 6.0.0

View File

@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 94b98a4cc96ff6c4ca982ea19db953447e802919
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
ENV QEMU_VERSION 6.0.0

View File

@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Crosstool-ng version
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
ENV CT_VERSION 94b98a4cc96ff6c4ca982ea19db953447e802919
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
ENV QEMU_VERSION 6.0.0

View File

@ -3,7 +3,9 @@ FROM dockcross/base:latest
# This is for 64-bit S390X Linux machine
# Crosstool-ng version
ENV CT_VERSION crosstool-ng-1.23.0
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
# crosstool-ng master 2021-07-07
ENV CT_VERSION 62e9db247be34f8a4fa3bc116e60a1b15db62a97
#include "common.crosstool"

File diff suppressed because it is too large Load Diff

6
tools/builder/cmake.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -euo pipefail
source $(dirname "$0")/functions/cmake_fn.sh
cmake_build $@

11
tools/builder/cmake_all.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
set -euo pipefail
curl https://raw.githubusercontent.com/dockcross/dockcross/master/Makefile -o dockcross-Makefile
make -f dockcross-Makefile display_images
source $(dirname "$0")/functions/cmake_fn.sh
for image in $(make -f dockcross-Makefile display_images); do
cmake_build $image $@
done

View File

@ -0,0 +1,19 @@
#!/bin/bash
set -euo pipefail
cmake_build () {
local image=$1
local build_file=build-${image%:*}
shift 1
local cmake_arg=$@
echo "cmake arg: $cmake_arg"
echo "Pulling dockcross/$image"
docker pull dockcross/$image
echo "Make script dockcross-$image"
docker run --rm dockcross/$image > ./dockcross-$image
chmod +x ./dockcross-$image
echo "Build $build_file"
./dockcross-$image cmake -B$build_file -H. -GNinja $cmake_arg
./dockcross-$image ninja -C$build_file
}

View File

@ -0,0 +1,15 @@
#!/bin/bash
set -euo pipefail
makefile_build () {
local image=$1
shift 1
echo "Pulling dockcross/$image"
docker pull dockcross/$image
echo "Make script dockcross-$image"
docker run --rm dockcross/$image > ./dockcross-$image
chmod +x ./dockcross-$image
echo "Build..."
./dockcross-$image bash -c 'make CXX=$CXX CC=$CC AR=$AR AS=$AS CPP=$CPP FC=$FC'
}

6
tools/builder/makefile.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -euo pipefail
source $(dirname "$0")/functions/makefile_fn.sh
makefile_build $@

11
tools/builder/makefile_all.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
set -euo pipefail
curl https://raw.githubusercontent.com/dockcross/dockcross/master/Makefile -o dockcross-Makefile
make -f dockcross-Makefile display_images
source $(dirname "$0")/functions/makefile_fn.sh
for image in $(make -f dockcross-Makefile display_images); do
makefile_build $image $@
done