Compare commits

...

28 Commits

Author SHA1 Message Date
2b3b23bd13 Update linux-arm64-full
Update linux-arm64-full
2021-09-20 11:41:01 +02:00
59bea850b3 Merge pull request #580 from bensuperpc/update_armv6-lts
Update linux-armv6-lts and down GCC version to 8.5.0
2021-09-17 22:56:29 +02:00
73aa306bba Update linux-armv6-lts and down GCC version to 8.5.0
Update linux-armv6-lts and down GCC version to 8.5.0
2021-09-17 08:00:27 +02:00
873b404a91 Merge pull request #579 from bensuperpc/Enable_buildID
Enable build ID
2021-09-10 01:38:38 +02:00
d5bdd85049 Enable build ID
Enable build ID
2021-09-09 20:25:22 +02:00
b17200a77c Merge pull request #578 from mayeut/update-openssl
chore: bump openssl 1.1.1i → 1.1.1l
2021-09-05 10:46:59 +02:00
d486f2ceb2 Merge pull request #571 from bensuperpc/Add_tests
Add new build test
2021-09-05 01:20:59 +02:00
a3a8ef3bb0 chore: bump openssl 1.1.1i → 1.1.1l
0b8587b72a /  #574 downgraded openssl from 1.1.1k to 1.1.1i for some reason.
2021-09-04 13:20:51 +02:00
4a98c0ebf9 Merge pull request #575 from bensuperpc/update_openssh
Update openSSH to V_8_7_P1
2021-09-01 09:57:53 +02:00
61d67a6c27 Merge pull request #574 from bensuperpc/update_openssl
Update openssl to 1.1.1i
2021-09-01 07:07:45 +02:00
22aed58e56 Merge branch 'dockcross:master' into update_openssh 2021-09-01 01:58:25 +02:00
b456e8a0fa Merge pull request #573 from bensuperpc/update-web-wasm
Update emscripten to 2.0.29
2021-09-01 01:57:22 +02:00
71d4c783b1 Update openSSH to V_8_7_P1
Update openSSH to V_8_7_P1

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-31 22:19:41 +02:00
7764b101d4 Update emscripten to 2.0.29
Update emscripten to 2.0.29

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-31 22:00:48 +02:00
e3b41cd784 Merge branch 'master' into Add_tests 2021-08-31 09:54:06 +02:00
430e8267cd Fix build fail N3 2021-08-30 07:10:36 +02:00
bf729bf6ee Fix build fail N2 2021-08-29 20:47:51 +02:00
0ae777c630 Fix build fail N1 2021-08-29 16:48:37 +02:00
9af4919c4f Enable C/C++ tests on all images 2021-08-29 13:37:13 +02:00
d24c0a9b27 Add new test C
Add new test C

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-28 08:40:13 +02:00
378403e8d9 Fix patch
Fix patch

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-27 23:01:43 +02:00
a9dbd70bf7 Fix openssl android
Fix openssl android

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-27 20:44:52 +02:00
8f4db25fc1 Add openssl patch
Add openssl patch

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-27 19:06:37 +02:00
ad924d922b Improve openSSL on android-* image
Improve openSSL on android-* image

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-27 13:19:31 +02:00
8bc72c75d3 Add ANDROID_NDK_HOME env variable and enable openssl
Add ANDROID_NDK_HOME env variable and enable openssl

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-27 13:13:48 +02:00
6385842e94 Disable ninja on windows-arm64
Disable ninja on windows-arm64

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-26 20:51:42 +02:00
b1608a889b Merge new tests
Merge new tests

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-26 20:47:28 +02:00
80679fdfa2 Merge remote-tracking branch 'origin/master' into Add_tests 2021-08-26 20:44:44 +02:00
26 changed files with 766 additions and 124 deletions

View File

@ -3,14 +3,14 @@ name: Dockcross CI
on: on:
push: push:
branches: branches:
- '*' - "*"
paths-ignore: paths-ignore:
- '**.md' - "**.md"
pull_request: pull_request:
branches: branches:
- '*' - "*"
paths-ignore: paths-ignore:
- '**.md' - "**.md"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -48,63 +48,608 @@ jobs:
matrix: matrix:
arch_name: arch_name:
# Android images # Android images
- { image: "android-arm", arch: "arm" } - {
- { image: "android-arm64", arch: "arm64" } image: "android-arm",
- { image: "android-x86", arch: "x86" } stockfish: "yes",
- { image: "android-x86_64", arch: "x86_64" } stockfish_arg: "ARCH=armv7 COMP=ndk",
ninja: "no",
ninja_arg: "",
openssl: "yes",
openssl_arg: "android-arm no-shared",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
- {
image: "android-arm64",
stockfish: "yes",
stockfish_arg: "ARCH=armv8 COMP=ndk",
ninja: "no",
ninja_arg: "",
openssl: "yes",
openssl_arg: "android-arm64 no-shared",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
- {
image: "android-x86",
stockfish: "yes",
stockfish_arg: "ARCH=x86-32 COMP=ndk",
ninja: "no",
ninja_arg: "",
openssl: "yes",
openssl_arg: "android-x86 no-shared",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
- {
image: "android-x86_64",
stockfish: "yes",
stockfish_arg: "ARCH=x86-64 COMP=ndk",
ninja: "no",
ninja_arg: "",
openssl: "yes",
openssl_arg: "android-x86_64 no-shared",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
# Linux arm64/armv8 images # Linux arm64/armv8 images
- { image: "linux-arm64", arch: "arm64" } - {
- { image: "linux-arm64-musl", arch: "arm64" } image: "linux-arm64",
- { image: "linux-arm64-full", arch: "arm64" } stockfish: "yes",
stockfish_arg: "ARCH=armv8",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-aarch64",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-arm64-musl",
stockfish: "yes",
stockfish_arg: "ARCH=armv8",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-aarch64",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-arm64-full",
stockfish: "yes",
stockfish_arg: "ARCH=armv8",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-aarch64",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux armv5 images # Linux armv5 images
- { image: "linux-armv5", arch: "armv5" } - {
- { image: "linux-armv5-musl", arch: "armv5" } image: "linux-armv5",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-armv4",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-armv5-musl",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-armv4",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux armv6 images # Linux armv6 images
- { image: "linux-armv6", arch: "armv6" } - {
- { image: "linux-armv6-lts", arch: "armv6" } image: "linux-armv6",
- { image: "linux-armv6-musl", arch: "armv6" } stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-armv4",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-armv6-lts",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-armv4",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-armv6-musl",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-armv4",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux armv7 images # Linux armv7 images
- { image: "linux-armv7", arch: "armv7" } - {
- { image: "linux-armv7a", arch: "armv7" } image: "linux-armv7",
- { image: "linux-armv7l-musl", arch: "armv7" } stockfish: "yes",
stockfish_arg: "ARCH=armv7",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-armv4",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-armv7a",
stockfish: "yes",
stockfish_arg: "ARCH=armv7-neon",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-armv4",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-armv7l-musl",
stockfish: "yes",
stockfish_arg: "ARCH=armv7",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-armv4",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux x86 images # Linux x86 images
- { image: "linux-x86", arch: "x86" } - {
image: "linux-x86",
stockfish: "yes",
stockfish_arg: "ARCH=x86-32-sse41-popcnt",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-x86",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux x86_64 images # Linux x86_64 images
- { image: "linux-x64", arch: "x86_64" } - {
- { image: "linux-x64-tinycc", arch: "x86_64" } image: "linux-x64",
- { image: "linux-x64-clang", arch: "x86_64" } stockfish: "yes",
- { image: "linux-x86_64-full", arch: "x86_64" } stockfish_arg: "ARCH=x86-64-modern",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-x86_64",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-x64-tinycc",
stockfish: "yes",
stockfish_arg: "ARCH=x86-64-modern",
ninja: "yes",
ninja_arg: "",
openssl: "no",
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-x64-clang",
stockfish: "yes",
stockfish_arg: "ARCH=x86-64-modern COMP=clang",
ninja: "yes",
ninja_arg: "",
openssl: "no",
openssl_arg: "linux-x86_64-clang",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-x86_64-full",
stockfish: "yes",
stockfish_arg: "ARCH=x86-64-modern",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-x86_64",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux riscv images # Linux riscv images
- { image: "linux-riscv32", arch: "riscv32" } - {
- { image: "linux-riscv64", arch: "riscv64" } image: "linux-riscv32",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-generic32",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "linux-riscv64",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-generic64",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux s390x images # Linux s390x images
- { image: "linux-s390x", arch: "s390x" } - {
image: "linux-s390x",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux64-s390x",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux mips images # Linux mips images
- { image: "linux-mips", arch: "mips" } - {
image: "linux-mips",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-generic32",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux ppc64le images # Linux ppc64le images
- { image: "linux-ppc64le", arch: "ppc64le" } - {
image: "linux-ppc64le",
stockfish: "yes",
stockfish_arg: "ARCH=ppc-64",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-ppc64le",
C: "yes",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Linux m68k images # Linux m68k images
- { image: "linux-m68k-uclibc", arch: "m68k" } - {
image: "linux-m68k-uclibc",
stockfish: "no",
stockfish_arg: "",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "linux-generic32 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
# Linux xtensa images # Linux xtensa images
- { image: "linux-xtensa-uclibc", arch: "xtensa" } - {
image: "linux-xtensa-uclibc",
stockfish: "no",
stockfish_arg: "",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
# Windows x86_x64 images # Windows x86_x64 images
- { image: "windows-static-x64", arch: "x86_x64" } - {
- { image: "windows-static-x64-posix", arch: "x86_x64" } image: "windows-static-x64",
- { image: "windows-static-x64", arch: "x86_x64" } stockfish: "yes",
- { image: "windows-shared-x64", arch: "x86_x64" } stockfish_arg: "ARCH=x86-64-modern COMP=mingw",
- { image: "windows-shared-x64-posix", arch: "x64" } ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "mingw64 no-asm",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "windows-static-x64-posix",
stockfish: "yes",
stockfish_arg: "ARCH=x86-64-modern COMP=mingw",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "mingw64 no-asm",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "windows-shared-x64",
stockfish: "no",
stockfish_arg: "",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "mingw64 no-asm",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "windows-shared-x64-posix",
stockfish: "no",
stockfish_arg: "",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "mingw64 no-asm",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# Windows x86 images # Windows x86 images
- { image: "windows-static-x86", arch: "x86" } - {
- { image: "windows-shared-x86", arch: "x86" } image: "windows-static-x86",
stockfish: "yes",
stockfish_arg: "ARCH=x86-32-sse41-popcnt COMP=mingw",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "mingw no-asm",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "windows-shared-x86",
stockfish: "no",
stockfish_arg: "",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "mingw no-asm",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
# Windows arm images # Windows arm images
- { image: "windows-armv7", arch: "armv7" } - {
- { image: "windows-arm64", arch: "arm64" } image: "windows-armv7",
stockfish: "no",
stockfish_arg: "ARCH=armv7-neon COMP=clang",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "mingw no-asm",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "windows-arm64",
stockfish: "no",
stockfish_arg: "ARCH=armv8 COMP=clang",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "mingw64 no-asm",
C: "no",
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
# manylinux2014 images # manylinux2014 images
- { image: "manylinux2014-x86", arch: "x86" } - {
- { image: "manylinux2014-x64", arch: "x86_64" } image: "manylinux2014-x86",
- { image: "manylinux2014-aarch64", arch: "arm64" } stockfish: "yes",
stockfish_arg: "ARCH=x86-32-sse41-popcnt",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-x86",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "manylinux2014-x64",
stockfish: "yes",
stockfish_arg: "ARCH=x86-64-modern",
ninja: "yes",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-x86_64",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: ""
}
- {
image: "manylinux2014-aarch64",
stockfish: "no",
stockfish_arg: "",
ninja: "no",
ninja_arg: "",
openssl: "yes",
openssl_arg: "linux-aarch64",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
# web-wasm images # web-wasm images
- { image: "web-wasm", arch: "JS" } - {
image: "web-wasm",
stockfish: "no",
stockfish_arg: "",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
C: "no",
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: ""
}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
@ -117,6 +662,58 @@ jobs:
run: make ${{ matrix.arch_name.image }} run: make ${{ matrix.arch_name.image }}
- name: basic test - name: basic test
run: make ${{ matrix.arch_name.image }}.test run: make ${{ matrix.arch_name.image }}.test
- name: stockfish build test
if: ${{ matrix.arch_name.stockfish == 'yes' }}
run: |
git clone --depth 1 --branch sf_14 https://github.com/official-stockfish/Stockfish.git
cd Stockfish/src
./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} net
./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} build ${{ matrix.arch_name.stockfish_arg }} -j2
cd ../..
rm -rf Stockfish
- name: ninja build test
if: ${{ matrix.arch_name.ninja == 'yes' }}
run: |
git clone --depth 1 --branch v1.10.2 https://github.com/ninja-build/ninja.git
cd ninja
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }}
- name: openssl build test
if: ${{ matrix.arch_name.openssl == 'yes' }}
run: |
git clone --depth 1 --branch OpenSSL_1_1_1k https://github.com/openssl/openssl.git
cd openssl
wget https://raw.githubusercontent.com/mavlink/MAVSDK/main/third_party/openssl/dockcross-android.patch
patch -p 0 < dockcross-android.patch
./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./Configure ${{ matrix.arch_name.openssl_arg }}
./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2
cd ..
rm -rf openssl
- name: C build test
if: ${{ matrix.arch_name.C == 'yes' }}
run: |
git clone https://github.com/TheAlgorithms/C.git
cd C
git checkout cc241f58c253c533ac94e07151ef91a5ef7e5719
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }}
cd ..
rm -rf C
- name: C-Plus-Plus build test
if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }}
run: |
git clone https://github.com/TheAlgorithms/C-Plus-Plus.git
cd C-Plus-Plus
git checkout c3b07aed2240e5364e1a49d091a00b61f520e653
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C-Plus-Plus_arg }}
cd ..
rm -rf C-Plus-Plus
- name: fmt build test
if: ${{ matrix.arch_name.fmt == 'yes' }}
run: |
git clone --depth 1 --branch 8.0.1 https://github.com/fmtlib/fmt.git
cd fmt
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }} -DFMT_DOC=OFF
cd ..
rm -rf fmt
- name: deploy - name: deploy
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
run: | run: |

View File

@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
ENV CROSS_TRIPLE=arm-linux-androideabi ENV CROSS_TRIPLE=arm-linux-androideabi
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \ ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \ AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \ CC=${CROSS_ROOT}/bin/clang \

View File

@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \
ENV CROSS_TRIPLE=aarch64-linux-android ENV CROSS_TRIPLE=aarch64-linux-android
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \ ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \ AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \ CC=${CROSS_ROOT}/bin/clang \

View File

@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y unzip
ENV CROSS_TRIPLE=i686-linux-android ENV CROSS_TRIPLE=i686-linux-android
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \ ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \ AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \ CC=${CROSS_ROOT}/bin/clang \

View File

@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y unzip
ENV CROSS_TRIPLE=x86_64-linux-android ENV CROSS_TRIPLE=x86_64-linux-android
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \ ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \ AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \ CC=${CROSS_ROOT}/bin/clang \

View File

@ -2,7 +2,7 @@
set -ex set -ex
OPENSSH_ROOT=V_8_5_P1 OPENSSH_ROOT=V_8_7_P1
cd /usr/src cd /usr/src
curl --connect-timeout 20 \ curl --connect-timeout 20 \

View File

@ -47,9 +47,9 @@ source $MY_DIR/utils.sh
# copied from https://github.com/pypa/manylinux/tree/master/docker/build_scripts # copied from https://github.com/pypa/manylinux/tree/master/docker/build_scripts
# #
OPENSSL_ROOT=openssl-1.1.1i OPENSSL_ROOT=openssl-1.1.1l
# Hash from https://www.openssl.org/source/openssl-1.1.1i.tar.gz.sha256 # Hash from https://www.openssl.org/source/openssl-1.1.1l.tar.gz.sha256
OPENSSL_HASH=e8be6a35fe41d10603c3cc635e93289ed00bf34b79671a3a4de64fcee00d5242 OPENSSL_HASH=0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1
OPENSSL_DOWNLOAD_URL=http://www.openssl.org/source/ OPENSSL_DOWNLOAD_URL=http://www.openssl.org/source/
# a recent enough perl is needed to build openssl # a recent enough perl is needed to build openssl

View File

@ -3,8 +3,8 @@ FROM dockcross/base:latest
# This is for 64-bit ARM Linux machine # This is for 64-bit ARM Linux machine
# Buildroot version # Buildroot version
# buildroot master 2021-08-30 # buildroot master 2021-09-20
ENV BR_VERSION 2990d7dcb163a5618100a6985726b6820457a6d1 ENV BR_VERSION d4877e6f88d5eea54dc74b855556ffc0dd3f399f
#include "common.buildroot" #include "common.buildroot"

View File

@ -1,6 +1,6 @@
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Buildroot 2021.08-rc2-75-g2990d7dcb1 Configuration # Buildroot 2021.08-370-gd4877e6f88 Configuration
# #
BR2_HAVE_DOT_CONFIG=y BR2_HAVE_DOT_CONFIG=y
BR2_HOST_GCC_AT_LEAST_4_9=y BR2_HOST_GCC_AT_LEAST_4_9=y
@ -217,14 +217,13 @@ BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
# BR2_KERNEL_HEADERS_4_19 is not set # BR2_KERNEL_HEADERS_4_19 is not set
# BR2_KERNEL_HEADERS_5_4 is not set # BR2_KERNEL_HEADERS_5_4 is not set
# BR2_KERNEL_HEADERS_5_10 is not set # BR2_KERNEL_HEADERS_5_10 is not set
# BR2_KERNEL_HEADERS_5_11 is not set # BR2_KERNEL_HEADERS_5_13 is not set
# BR2_KERNEL_HEADERS_5_12 is not set BR2_KERNEL_HEADERS_5_14=y
BR2_KERNEL_HEADERS_5_13=y
# BR2_KERNEL_HEADERS_VERSION is not set # BR2_KERNEL_HEADERS_VERSION is not set
# BR2_KERNEL_HEADERS_CUSTOM_TARBALL is not set # BR2_KERNEL_HEADERS_CUSTOM_TARBALL is not set
# BR2_KERNEL_HEADERS_CUSTOM_GIT is not set # BR2_KERNEL_HEADERS_CUSTOM_GIT is not set
BR2_KERNEL_HEADERS_LATEST=y BR2_KERNEL_HEADERS_LATEST=y
BR2_DEFAULT_KERNEL_HEADERS="5.13.9" BR2_DEFAULT_KERNEL_HEADERS="5.14.3"
BR2_PACKAGE_LINUX_HEADERS=y BR2_PACKAGE_LINUX_HEADERS=y
# #
@ -252,7 +251,7 @@ BR2_BINUTILS_EXTRA_CONFIG_OPTIONS=""
# BR2_GCC_VERSION_10_X is not set # BR2_GCC_VERSION_10_X is not set
BR2_GCC_VERSION_11_X=y BR2_GCC_VERSION_11_X=y
BR2_GCC_SUPPORTS_DLANG=y BR2_GCC_SUPPORTS_DLANG=y
BR2_GCC_VERSION="11.1.0" BR2_GCC_VERSION="11.2.0"
BR2_EXTRA_GCC_CONFIG_OPTIONS="" BR2_EXTRA_GCC_CONFIG_OPTIONS=""
BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TOOLCHAIN_BUILDROOT_FORTRAN=y BR2_TOOLCHAIN_BUILDROOT_FORTRAN=y
@ -347,8 +346,9 @@ BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10=y
BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11=y BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11=y
BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12=y BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12=y
BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13=y BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13=y
BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14=y
BR2_TOOLCHAIN_HEADERS_LATEST=y BR2_TOOLCHAIN_HEADERS_LATEST=y
BR2_TOOLCHAIN_HEADERS_AT_LEAST="5.13" BR2_TOOLCHAIN_HEADERS_AT_LEAST="5.14"
BR2_TOOLCHAIN_GCC_AT_LEAST_4_3=y BR2_TOOLCHAIN_GCC_AT_LEAST_4_3=y
BR2_TOOLCHAIN_GCC_AT_LEAST_4_4=y BR2_TOOLCHAIN_GCC_AT_LEAST_4_4=y
BR2_TOOLCHAIN_GCC_AT_LEAST_4_5=y BR2_TOOLCHAIN_GCC_AT_LEAST_4_5=y
@ -371,7 +371,6 @@ BR2_TOOLCHAIN_HAS_SYNC_4=y
BR2_TOOLCHAIN_HAS_SYNC_8=y BR2_TOOLCHAIN_HAS_SYNC_8=y
BR2_TOOLCHAIN_HAS_LIBATOMIC=y BR2_TOOLCHAIN_HAS_LIBATOMIC=y
BR2_TOOLCHAIN_HAS_ATOMIC=y BR2_TOOLCHAIN_HAS_ATOMIC=y
BR2_TOOLCHAIN_HAS_LIBQUADMATH=y
# #
# System configuration # System configuration
@ -543,6 +542,7 @@ BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME=y
# BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO is not set # BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO is not set
# BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA is not set # BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA is not set
# BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS is not set # BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS is not set
# BR2_PACKAGE_GST1_PLUGINS_BAYER2RGB_NEON is not set
# BR2_PACKAGE_GST1_PLUGINS_GOOD is not set # BR2_PACKAGE_GST1_PLUGINS_GOOD is not set
# BR2_PACKAGE_GST1_PLUGINS_BAD is not set # BR2_PACKAGE_GST1_PLUGINS_BAD is not set
# BR2_PACKAGE_GST1_PLUGINS_UGLY is not set # BR2_PACKAGE_GST1_PLUGINS_UGLY is not set
@ -566,6 +566,7 @@ BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME=y
# #
# gst-omx requires a OpenMAX implementation # gst-omx requires a OpenMAX implementation
# #
# BR2_PACKAGE_GSTD is not set
# BR2_PACKAGE_GSTREAMER1_EDITING_SERVICES is not set # BR2_PACKAGE_GSTREAMER1_EDITING_SERVICES is not set
# BR2_PACKAGE_JACK1 is not set # BR2_PACKAGE_JACK1 is not set
# BR2_PACKAGE_JACK2 is not set # BR2_PACKAGE_JACK2 is not set
@ -705,6 +706,7 @@ BR2_PACKAGE_PTM2HUMAN_ARCH_SUPPORTS=y
# BR2_PACKAGE_RAMSMP is not set # BR2_PACKAGE_RAMSMP is not set
# BR2_PACKAGE_RAMSPEED is not set # BR2_PACKAGE_RAMSPEED is not set
# BR2_PACKAGE_RT_TESTS is not set # BR2_PACKAGE_RT_TESTS is not set
# BR2_PACKAGE_RWMEM is not set
# BR2_PACKAGE_SENTRY_NATIVE is not set # BR2_PACKAGE_SENTRY_NATIVE is not set
# BR2_PACKAGE_SPIDEV_TEST is not set # BR2_PACKAGE_SPIDEV_TEST is not set
# BR2_PACKAGE_STRACE is not set # BR2_PACKAGE_STRACE is not set
@ -963,7 +965,7 @@ BR2_PACKAGE_SDL2=y
# #
# #
# KMS/DRM video driver needs an OpenGL EGL backend provided by mesa3d # KMS/DRM video driver needs mesa3d w/ GBM
# #
# #
@ -1050,6 +1052,7 @@ BR2_PACKAGE_QT5BASE_PRINTSUPPORT=y
# BR2_PACKAGE_QT5LOTTIE is not set # BR2_PACKAGE_QT5LOTTIE is not set
# BR2_PACKAGE_QT5MQTT is not set # BR2_PACKAGE_QT5MQTT is not set
# BR2_PACKAGE_QT5MULTIMEDIA is not set # BR2_PACKAGE_QT5MULTIMEDIA is not set
# BR2_PACKAGE_QT5OPCUA is not set
# BR2_PACKAGE_QT5QUICKCONTROLS is not set # BR2_PACKAGE_QT5QUICKCONTROLS is not set
# BR2_PACKAGE_QT5QUICKCONTROLS2 is not set # BR2_PACKAGE_QT5QUICKCONTROLS2 is not set
# BR2_PACKAGE_QT5QUICKTIMELINE is not set # BR2_PACKAGE_QT5QUICKTIMELINE is not set
@ -1593,6 +1596,7 @@ BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS=y
# #
# BR2_PACKAGE_ATK is not set # BR2_PACKAGE_ATK is not set
# BR2_PACKAGE_ATKMM is not set # BR2_PACKAGE_ATKMM is not set
# BR2_PACKAGE_BAYER2RGB_NEON is not set
# BR2_PACKAGE_BULLET is not set # BR2_PACKAGE_BULLET is not set
# BR2_PACKAGE_CAIRO is not set # BR2_PACKAGE_CAIRO is not set
# BR2_PACKAGE_CAIROMM is not set # BR2_PACKAGE_CAIROMM is not set
@ -2715,7 +2719,10 @@ BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS=y
# #
# BR2_PACKAGE_OPKG is not set # BR2_PACKAGE_OPKG is not set
# BR2_PACKAGE_OPKG_UTILS is not set # BR2_PACKAGE_OPKG_UTILS is not set
# BR2_PACKAGE_RPM is not set
#
# rpm needs a toolchain w/ dynamic library, threads and lua >= 5.3
#
# #
# Real-Time # Real-Time
@ -2948,7 +2955,10 @@ BR2_PACKAGE_UTIL_LINUX_LIBUUID=y
# BR2_PACKAGE_UTIL_LINUX_PG is not set # BR2_PACKAGE_UTIL_LINUX_PG is not set
# BR2_PACKAGE_UTIL_LINUX_PARTX is not set # BR2_PACKAGE_UTIL_LINUX_PARTX is not set
# BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT is not set # BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT is not set
# BR2_PACKAGE_UTIL_LINUX_RAW is not set
#
# raw needs a toolchain w/ headers < 5.14
#
# BR2_PACKAGE_UTIL_LINUX_RENAME is not set # BR2_PACKAGE_UTIL_LINUX_RENAME is not set
# BR2_PACKAGE_UTIL_LINUX_RFKILL is not set # BR2_PACKAGE_UTIL_LINUX_RFKILL is not set
# BR2_PACKAGE_UTIL_LINUX_RUNUSER is not set # BR2_PACKAGE_UTIL_LINUX_RUNUSER is not set
@ -3004,6 +3014,7 @@ BR2_PACKAGE_XVISOR_ARCH_SUPPORTS=y
# initramfs needs a Linux kernel to be built # initramfs needs a Linux kernel to be built
# #
# BR2_TARGET_ROOTFS_JFFS2 is not set # BR2_TARGET_ROOTFS_JFFS2 is not set
# BR2_TARGET_ROOTFS_OCI is not set
# BR2_TARGET_ROOTFS_ROMFS is not set # BR2_TARGET_ROOTFS_ROMFS is not set
# BR2_TARGET_ROOTFS_SQUASHFS is not set # BR2_TARGET_ROOTFS_SQUASHFS is not set
# BR2_TARGET_ROOTFS_TAR is not set # BR2_TARGET_ROOTFS_TAR is not set
@ -3113,6 +3124,7 @@ BR2_PACKAGE_HOST_RUSTC_ARCH="aarch64"
BR2_PACKAGE_PROVIDES_HOST_RUSTC="host-rust-bin" BR2_PACKAGE_PROVIDES_HOST_RUSTC="host-rust-bin"
# BR2_PACKAGE_HOST_SAM_BA is not set # BR2_PACKAGE_HOST_SAM_BA is not set
# BR2_PACKAGE_HOST_SDBUSPLUS is not set # BR2_PACKAGE_HOST_SDBUSPLUS is not set
# BR2_PACKAGE_HOST_SLOCI_IMAGE is not set
# BR2_PACKAGE_HOST_SQUASHFS is not set # BR2_PACKAGE_HOST_SQUASHFS is not set
# BR2_PACKAGE_HOST_SWIG is not set # BR2_PACKAGE_HOST_SWIG is not set
# BR2_PACKAGE_HOST_UBOOT_TOOLS is not set # BR2_PACKAGE_HOST_UBOOT_TOOLS is not set
@ -3127,6 +3139,13 @@ BR2_PACKAGE_PROVIDES_HOST_RUSTC="host-rust-bin"
# Legacy config options # Legacy config options
# #
#
# Legacy options removed in 2021.11
#
# BR2_PACKAGE_GNURADIO_PAGER is not set
# BR2_KERNEL_HEADERS_5_11 is not set
# BR2_KERNEL_HEADERS_5_12 is not set
# #
# Legacy options removed in 2021.08 # Legacy options removed in 2021.08
# #
@ -3140,10 +3159,6 @@ BR2_PACKAGE_PROVIDES_HOST_RUSTC="host-rust-bin"
# BR2_PACKAGE_KODI_LIBVA is not set # BR2_PACKAGE_KODI_LIBVA is not set
# BR2_PACKAGE_PYTHON_COHERENCE is not set # BR2_PACKAGE_PYTHON_COHERENCE is not set
# BR2_PACKAGE_PHP_EXT_XMLRPC is not set # BR2_PACKAGE_PHP_EXT_XMLRPC is not set
#
# Legacy options removed in 2021.08
#
# BR2_GCC_VERSION_8_X is not set # BR2_GCC_VERSION_8_X is not set
# #

View File

@ -588,7 +588,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -3,8 +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)
# crosstool-ng master 2021-08-18 # crosstool-ng master 2021-09-17
ENV CT_VERSION 358945ff2219e37d280532522d2c62309614d162 ENV CT_VERSION 7daa182506baf30adb35752369cf352ac2383c3b
# This is for 32-bit ARMv6 Linux # This is for 32-bit ARMv6 Linux
# Raspberry Pi is ARMv6+VFP2 # Raspberry Pi is ARMv6+VFP2

View File

@ -1,6 +1,6 @@
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# crosstool-NG 1.24.0.409_d47b234 Configuration # crosstool-NG 1.24.0.446_7daa182 Configuration
# #
CT_CONFIGURE_has_static_link=y CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_cxx11=y CT_CONFIGURE_has_cxx11=y
@ -20,14 +20,13 @@ CT_CONFIGURE_has_python_3_4_or_newer=y
CT_CONFIGURE_has_bison_2_7_or_newer=y CT_CONFIGURE_has_bison_2_7_or_newer=y
CT_CONFIGURE_has_python=y CT_CONFIGURE_has_python=y
CT_CONFIGURE_has_dtc=y CT_CONFIGURE_has_dtc=y
CT_CONFIGURE_has_cvs=y
CT_CONFIGURE_has_git=y CT_CONFIGURE_has_git=y
CT_CONFIGURE_has_md5sum=y CT_CONFIGURE_has_md5sum=y
CT_CONFIGURE_has_sha1sum=y CT_CONFIGURE_has_sha1sum=y
CT_CONFIGURE_has_sha256sum=y CT_CONFIGURE_has_sha256sum=y
CT_CONFIGURE_has_sha512sum=y CT_CONFIGURE_has_sha512sum=y
CT_CONFIGURE_has_install_with_strip_program=y CT_CONFIGURE_has_install_with_strip_program=y
CT_VERSION="1.24.0.409_d47b234" CT_VERSION="1.24.0.446_7daa182"
CT_VCHECK="" CT_VCHECK=""
CT_CONFIG_VERSION_ENV="3" CT_CONFIG_VERSION_ENV="3"
CT_CONFIG_VERSION_CURRENT="3" CT_CONFIG_VERSION_CURRENT="3"
@ -270,10 +269,11 @@ CT_LINUX_PKG_NAME="linux"
CT_LINUX_SRC_RELEASE=y CT_LINUX_SRC_RELEASE=y
# CT_LINUX_SRC_DEVEL is not set # CT_LINUX_SRC_DEVEL is not set
CT_LINUX_PATCH_ORDER="global" CT_LINUX_PATCH_ORDER="global"
CT_LINUX_V_5_13=y # CT_LINUX_V_5_14 is not set
# CT_LINUX_V_5_13 is not set
# CT_LINUX_V_5_12 is not set # CT_LINUX_V_5_12 is not set
# CT_LINUX_V_5_11 is not set # CT_LINUX_V_5_11 is not set
# CT_LINUX_V_5_10 is not set CT_LINUX_V_5_10=y
# CT_LINUX_V_5_9 is not set # CT_LINUX_V_5_9 is not set
# CT_LINUX_V_5_8 is not set # CT_LINUX_V_5_8 is not set
# CT_LINUX_V_5_7 is not set # CT_LINUX_V_5_7 is not set
@ -302,7 +302,7 @@ CT_LINUX_V_5_13=y
# CT_LINUX_V_3_10 is not set # CT_LINUX_V_3_10 is not set
# CT_LINUX_V_3_4 is not set # CT_LINUX_V_3_4 is not set
# CT_LINUX_V_3_2 is not set # CT_LINUX_V_3_2 is not set
CT_LINUX_VERSION="5.13.1" CT_LINUX_VERSION="5.10.62"
CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})" CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})"
CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
@ -349,6 +349,7 @@ CT_BINUTILS_PKG_NAME="binutils"
CT_BINUTILS_SRC_RELEASE=y CT_BINUTILS_SRC_RELEASE=y
# CT_BINUTILS_SRC_DEVEL is not set # CT_BINUTILS_SRC_DEVEL is not set
CT_BINUTILS_PATCH_ORDER="global" CT_BINUTILS_PATCH_ORDER="global"
# CT_BINUTILS_V_2_37 is not set
CT_BINUTILS_V_2_36=y CT_BINUTILS_V_2_36=y
# CT_BINUTILS_V_2_35 is not set # CT_BINUTILS_V_2_35 is not set
# CT_BINUTILS_V_2_34 is not set # CT_BINUTILS_V_2_34 is not set
@ -424,6 +425,7 @@ CT_GLIBC_PKG_NAME="glibc"
CT_GLIBC_SRC_RELEASE=y CT_GLIBC_SRC_RELEASE=y
# CT_GLIBC_SRC_DEVEL is not set # CT_GLIBC_SRC_DEVEL is not set
CT_GLIBC_PATCH_ORDER="global" CT_GLIBC_PATCH_ORDER="global"
# CT_GLIBC_V_2_34 is not set
# CT_GLIBC_V_2_33 is not set # CT_GLIBC_V_2_33 is not set
# CT_GLIBC_V_2_32 is not set # CT_GLIBC_V_2_32 is not set
# CT_GLIBC_V_2_31 is not set # CT_GLIBC_V_2_31 is not set
@ -539,26 +541,26 @@ CT_GCC_PKG_NAME="gcc"
CT_GCC_SRC_RELEASE=y CT_GCC_SRC_RELEASE=y
# CT_GCC_SRC_DEVEL is not set # CT_GCC_SRC_DEVEL is not set
CT_GCC_PATCH_ORDER="global" CT_GCC_PATCH_ORDER="global"
CT_GCC_V_11=y # CT_GCC_V_11 is not set
# CT_GCC_V_10 is not set # CT_GCC_V_10 is not set
# CT_GCC_V_9 is not set # CT_GCC_V_9 is not set
# CT_GCC_V_8 is not set CT_GCC_V_8=y
# CT_GCC_V_7 is not set # CT_GCC_V_7 is not set
# CT_GCC_V_6 is not set # CT_GCC_V_6 is not set
# CT_GCC_V_5 is not set # CT_GCC_V_5 is not set
# CT_GCC_V_4_9 is not set # CT_GCC_V_4_9 is not set
CT_GCC_VERSION="11.2.0" CT_GCC_VERSION="8.5.0"
CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})" CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz" CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_GCC_SIGNATURE_FORMAT="" CT_GCC_SIGNATURE_FORMAT=""
CT_GCC_later_than_11=y CT_GCC_11_or_older=y
CT_GCC_11_or_later=y CT_GCC_older_than_11=y
CT_GCC_later_than_10=y CT_GCC_10_or_older=y
CT_GCC_10_or_later=y CT_GCC_older_than_10=y
CT_GCC_later_than_9=y CT_GCC_9_or_older=y
CT_GCC_9_or_later=y CT_GCC_older_than_9=y
CT_GCC_later_than_8=y CT_GCC_later_than_8=y
CT_GCC_8_or_later=y CT_GCC_8_or_later=y
CT_GCC_later_than_7=y CT_GCC_later_than_7=y
@ -602,7 +604,6 @@ CT_CC_GCC_LIBSANITIZER=y
# Misc. obscure options. # Misc. obscure options.
# #
CT_CC_CXA_ATEXIT=y CT_CC_CXA_ATEXIT=y
CT_CC_GCC_TM_CLONE_REGISTRY=m
CT_CC_GCC_DISABLE_PCH=y CT_CC_GCC_DISABLE_PCH=y
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
@ -639,6 +640,7 @@ CT_GDB_PKG_NAME="gdb"
CT_GDB_SRC_RELEASE=y CT_GDB_SRC_RELEASE=y
# CT_GDB_SRC_DEVEL is not set # CT_GDB_SRC_DEVEL is not set
CT_GDB_PATCH_ORDER="global" CT_GDB_PATCH_ORDER="global"
# CT_GDB_V_10_2 is not set
CT_GDB_V_9_2=y CT_GDB_V_9_2=y
# CT_GDB_V_8_3 is not set # CT_GDB_V_8_3 is not set
# CT_GDB_V_8_2 is not set # CT_GDB_V_8_2 is not set
@ -652,6 +654,8 @@ CT_GDB_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz" CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_GDB_SIGNATURE_FORMAT="" CT_GDB_SIGNATURE_FORMAT=""
CT_GDB_10_2_or_older=y
CT_GDB_older_than_10_2=y
CT_GDB_later_than_8_3=y CT_GDB_later_than_8_3=y
CT_GDB_8_3_or_later=y CT_GDB_8_3_or_later=y
CT_GDB_later_than_8_0=y CT_GDB_later_than_8_0=y

View File

@ -603,7 +603,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -603,7 +603,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -562,7 +562,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -582,7 +582,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -586,7 +586,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -606,7 +606,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -606,7 +606,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -568,7 +568,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -549,7 +549,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -398,7 +398,7 @@ CT_CC_CXA_ATEXIT=y
# CT_CC_GCC_DISABLE_PCH is not set # CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set CT_CC_GCC_BUILD_ID=y
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set

View File

@ -5,7 +5,7 @@ if (( $# >= 1 )); then
build_file=build-${image%:*} build_file=build-${image%:*}
shift 1 shift 1
cmake_arg=$* cmake_arg=$@
echo "cmake arg: $cmake_arg" echo "cmake arg: $cmake_arg"
#echo "Pulling dockcross/$image" #echo "Pulling dockcross/$image"
@ -16,7 +16,7 @@ if (( $# >= 1 )); then
chmod +x ./dockcross-"$image" chmod +x ./dockcross-"$image"
echo "Build $build_file" echo "Build $build_file"
./dockcross-"$image" cmake -B "$build_file" -S . -G Ninja "$cmake_arg" ./dockcross-"$image" cmake -B "$build_file" -S . -G Ninja $cmake_arg
./dockcross-"$image" ninja -C "$build_file" ./dockcross-"$image" ninja -C "$build_file"
else else
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <cmake arg.>" echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <cmake arg.>"

22
tools/dockcross-command.sh Executable file
View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
if (( $# >= 2 )); then
image=$1
shift 1
command=$@
echo "command: $command"
#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 "Run command in dockcross-$image"
./dockcross-"$image" $command
else
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <command>"
exit 1
fi

View File

@ -5,7 +5,7 @@ if (( $# >= 1 )); then
build_file=build-${image%:*} build_file=build-${image%:*}
shift 1 shift 1
make_arg=$* make_arg=$@
echo "make arg: $make_arg" echo "make arg: $make_arg"
#echo "Pulling dockcross/$image" #echo "Pulling dockcross/$image"
@ -16,7 +16,7 @@ if (( $# >= 1 )); then
chmod +x ./dockcross-"$image" chmod +x ./dockcross-"$image"
echo "Build $build_file" echo "Build $build_file"
./dockcross-"$image" bash -c 'make CXX=${CXX} CC=${CC} AR=${AR} AS=${AS} LD=${LD} CPP=${CPP} FC=${FC} '"$make_arg" ./dockcross-"$image" bash -c 'make CXX=${CXX} CC=${CC} AR=${AR} AS=${AS} LD=${LD} CPP=${CPP} FC=${FC}' $make_arg
else else
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <make arg.>" echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <make arg.>"
exit 1 exit 1

View File

@ -1,4 +1,4 @@
FROM emscripten/emsdk:2.0.27 FROM emscripten/emsdk:2.0.29
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Revert back to "/bin/sh" as default shell # Revert back to "/bin/sh" as default shell
@ -52,7 +52,7 @@ RUN ln -s /usr/bin/python3 /usr/bin/python
#include "common.docker" #include "common.docker"
ENV EMSCRIPTEN_VERSION 2.0.27 ENV EMSCRIPTEN_VERSION 2.0.29
ENV PATH /emsdk:/emsdk/upstream/bin/:/emsdk/upstream/emscripten:${PATH} ENV PATH /emsdk:/emsdk/upstream/bin/:/emsdk/upstream/emscripten:${PATH}
ENV CC=/emsdk/upstream/emscripten/emcc \ ENV CC=/emsdk/upstream/emscripten/emcc \