mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-18 17:09:25 +02:00
Compare commits
11 Commits
update_com
...
add_script
Author | SHA1 | Date | |
---|---|---|---|
5d948be506 | |||
94745ff927 | |||
4a80999f63 | |||
315089192b | |||
1bd55640ce | |||
450316ffa1 | |||
4ea4b20b84 | |||
5c67699710 | |||
e8c98ab58e | |||
438d2dcaaa | |||
cb4653ac7a |
4
.github/workflows/expired.yml
vendored
4
.github/workflows/expired.yml
vendored
@ -12,8 +12,8 @@ jobs:
|
|||||||
exempt-issue-milestones: 'future,alpha,beta,release'
|
exempt-issue-milestones: 'future,alpha,beta,release'
|
||||||
exempt-pr-milestones: 'bugfix,improvement'
|
exempt-pr-milestones: 'bugfix,improvement'
|
||||||
exempt-all-pr-assignees: true
|
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-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 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 30 days.'
|
||||||
close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.'
|
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.'
|
close-pr-message: 'This PR was closed because it has been stalled for 30 days with no activity.'
|
||||||
days-before-issue-stale: 120
|
days-before-issue-stale: 120
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
# ARG MXE_TARGET_LINK=shared
|
# ARG MXE_TARGET_LINK=shared
|
||||||
#
|
#
|
||||||
|
|
||||||
# mxe master 2020-12-21
|
# mxe master 2021-07-07
|
||||||
ARG MXE_GIT_TAG=a7a45e4e51fe70032305b828a001aac848f74fdb
|
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
|
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 && \
|
cd /usr/src/mxe && \
|
||||||
echo "MXE_TARGETS := ${MXE_TARGET_ARCH}-w64-mingw32.${MXE_TARGET_LINK}${MXE_TARGET_THREAD}" > settings.mk && \
|
echo "MXE_TARGETS := ${MXE_TARGET_ARCH}-w64-mingw32.${MXE_TARGET_LINK}${MXE_TARGET_THREAD}" > settings.mk && \
|
||||||
echo "MXE_USE_CCACHE :=" >> 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 "LOCAL_PKG_LIST := cc cmake" >> settings.mk && \
|
||||||
echo ".DEFAULT local-pkg-list:" >> settings.mk && \
|
echo ".DEFAULT local-pkg-list:" >> settings.mk && \
|
||||||
echo "local-pkg-list: \$(LOCAL_PKG_LIST)" >> settings.mk && \
|
echo "local-pkg-list: \$(LOCAL_PKG_LIST)" >> settings.mk && \
|
||||||
|
@ -4,7 +4,8 @@ FROM dockcross/base:latest
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
@ -6,7 +6,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
# musleabi as default glibc
|
# musleabi as default glibc
|
||||||
|
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
@ -6,7 +6,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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
|
# This is for 32-bit ARMv6 Linux
|
||||||
# Raspberry Pi is ARMv6+VFP2
|
# Raspberry Pi is ARMv6+VFP2
|
||||||
|
@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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
|
# This is for 32-bit ARMv7 Linux
|
||||||
#include "common.crosstool"
|
#include "common.crosstool"
|
||||||
|
@ -4,7 +4,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
# This is for 32-bit ARMv7 Linux
|
# 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)
|
# 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"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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
|
ENV QEMU_VERSION 6.0.0
|
||||||
|
|
||||||
|
@ -4,7 +4,8 @@ FROM dockcross/base:latest
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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
|
ENV QEMU_VERSION 6.0.0
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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
|
ENV QEMU_VERSION 6.0.0
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
# 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
|
ENV QEMU_VERSION 6.0.0
|
||||||
|
|
||||||
|
@ -3,7 +3,9 @@ FROM dockcross/base:latest
|
|||||||
# This is for 64-bit S390X Linux machine
|
# This is for 64-bit S390X Linux machine
|
||||||
|
|
||||||
# Crosstool-ng version
|
# 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"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
6
tools/builder/cmake.sh
Executable file
6
tools/builder/cmake.sh
Executable 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
11
tools/builder/cmake_all.sh
Executable 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
|
19
tools/builder/functions/cmake_fn.sh
Executable file
19
tools/builder/functions/cmake_fn.sh
Executable 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
|
||||||
|
}
|
15
tools/builder/functions/makefile_fn.sh
Executable file
15
tools/builder/functions/makefile_fn.sh
Executable 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
6
tools/builder/makefile.sh
Executable 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
11
tools/builder/makefile_all.sh
Executable 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
|
Reference in New Issue
Block a user