Compare commits

..

1 Commits

Author SHA1 Message Date
9185a2da28 Fix musl
Fix musl

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2022-09-13 12:40:53 +02:00
4 changed files with 13 additions and 120 deletions

View File

@ -71,8 +71,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "--host=arm-linux-androideabi --target=arm-linux-androideabi",
}
@ -90,8 +88,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "--host=aarch64-linux-android --target=aarch64-linux-android",
}
@ -109,8 +105,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "--host=i686-linux-android --target=i686-linux-android",
}
@ -128,8 +122,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "--host=x86_64-linux-android --target=x86_64-linux-android",
}
@ -148,8 +140,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu",
}
@ -167,8 +157,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu",
}
@ -186,8 +174,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=aarch64-linux-musl --target=aarch64-linux-musl",
}
@ -205,8 +191,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=aarch64-buildroot-linux-gnu --target=aarch64-buildroot-linux-gnu",
}
@ -225,8 +209,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -245,8 +227,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=armv5-unknown-linux-gnueabi --target=armv5-unknown-linux-gnueabi",
}
@ -264,8 +244,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=armv5-unknown-linux-musleabi --target=armv5-unknown-linux-musleabi",
}
@ -283,8 +261,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=arm-unknown-linux-uclibcgnueabi --target=arm-unknown-linux-uclibcgnueabi",
}
@ -303,8 +279,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=armv6-unknown-linux-gnueabihf --target=armv6-unknown-linux-gnueabihf",
}
@ -322,8 +296,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=armv6-unknown-linux-gnueabihf --target=armv6-unknown-linux-gnueabihf",
}
@ -341,8 +313,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=armv6-linux-musleabihf --target=armv6-linux-musleabihf",
}
@ -361,8 +331,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=armv7-unknown-linux-gnueabi --target=armv7-unknown-linux-gnueabi",
}
@ -380,8 +348,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=arm-cortexa8_neon-linux-gnueabihf --target=arm-cortexa8_neon-linux-gnueabihf",
}
@ -399,8 +365,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=arm-cortexa8_neon-linux-gnueabihf --target=arm-cortexa8_neon-linux-gnueabihf",
}
@ -418,8 +382,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=armv7-unknown-linux-gnueabi --target=armv7-unknown-linux-gnueabi",
}
@ -437,8 +399,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=armv7l-linux-musleabihf --target=armv7l-linux-musleabihf",
}
@ -457,8 +417,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "",
}
@ -477,8 +435,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "",
}
@ -496,8 +452,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -515,8 +469,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "",
}
@ -534,8 +486,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=x86_64-buildroot-linux-gnu --target=x86_64-buildroot-linux-gnu",
}
@ -554,8 +504,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=riscv32-unknown-linux-gnu --target=riscv32-unknown-linux-gnu",
}
@ -573,8 +521,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=riscv64-unknown-linux-gnu --target=riscv64-unknown-linux-gnu",
}
@ -593,8 +539,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=s390x-ibm-linux-gnu --target=s390x-ibm-linux-gnu",
}
@ -613,8 +557,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=mips-unknown-linux-gnu --target=mips-unknown-linux-gnu",
}
@ -633,8 +575,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=mips-unknown-linux-gnu --target=mips-unknown-linux-gnu",
}
@ -653,8 +593,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=powerpc64le-unknown-linux-gnu --target=powerpc64le-unknown-linux-gnu",
}
@ -673,8 +611,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "--host=m68k-unknown-uclinux-uclibc --target=m68k-unknown-uclinux-uclibc",
}
@ -693,8 +629,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "--host=xtensa-fsf-linux-uclibc --target=xtensa-fsf-linux-uclibc",
}
@ -713,8 +647,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -732,8 +664,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -751,8 +681,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -770,8 +698,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -790,8 +716,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -809,8 +733,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -829,8 +751,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -848,8 +768,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -868,8 +786,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "",
}
@ -888,8 +804,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "",
}
@ -907,8 +821,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "yes",
cpython_arg: "",
}
@ -926,8 +838,6 @@ jobs:
# C-Plus-Plus_arg: "",
# fmt: "no",
# fmt_arg: "",
# raylib: "no",
# raylib_arg: "",
# cpython: "yes",
# cpython_arg: "",
# }
@ -946,8 +856,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "yes",
raylib_arg: "-DPLATFORM=Web",
cpython: "no",
cpython_arg: "",
}
@ -965,8 +873,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
}
@ -985,8 +891,6 @@ jobs:
C-Plus-Plus_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
raylib_arg: "",
cpython: "no",
cpython_arg: "",
mbedtls: "yes",
@ -1025,20 +929,20 @@ jobs:
./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} build ${{ matrix.arch_name.stockfish_arg }} -j2
cd ../..
rm -rf Stockfish
# Updated on 19/05/2022
# Updated on 12/09/2022
- name: ninja build test
if: ${{ matrix.arch_name.ninja == 'yes' }}
run: |
git clone --depth 1 --branch v1.11.1 https://github.com/ninja-build/ninja.git
git clone --depth 1 --branch v1.11.0 https://github.com/ninja-build/ninja.git
cd ninja
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }}
# Updated on 12/09/2022
# Updated on 19/05/2022
- name: openssl build test
if: ${{ matrix.arch_name.openssl == 'yes' }}
run: |
git clone --depth 1 --branch OpenSSL_1_1_1q https://github.com/openssl/openssl.git
git clone --depth 1 --branch OpenSSL_1_1_1o 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
@ -1047,33 +951,33 @@ jobs:
cd ..
rm -rf openssl
# Updated on 12/09/2022
# Updated on 19/05/2022
- name: C build test
if: ${{ matrix.arch_name.C == 'yes' }}
run: |
git clone https://github.com/TheAlgorithms/C.git
cd C
git checkout b0a41bb38c67ddebb31d3fe06d11e171410c3379
git checkout 2314a195862243e09c485a66194866517a6f8c31
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }}
cd ..
rm -rf C
# Updated on 12/09/2022
# Updated on 19/05/2022
- 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 0594923efa8e6b006a5d754c5e7976850290577c
git checkout 37a29008e6b77921a97a89ca8b7fd9e700aeccd0
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C-Plus-Plus_arg }}
cd ..
rm -rf C-Plus-Plus
# Updated on 12/09/2022
# Updated on 19/05/2022
- name: fmt build test
if: ${{ matrix.arch_name.fmt == 'yes' }}
run: |
git clone --depth 1 --branch 9.1.0 https://github.com/fmtlib/fmt.git
git clone --depth 1 --branch 8.1.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 ..
@ -1090,17 +994,6 @@ jobs:
cd ..
rm -rf cpython
# Updated on 12/09/2022 (4.2.0 branch not working)
- name: raylib build test
if: ${{ matrix.arch_name.raylib == 'yes' }}
run: |
git clone https://github.com/raysan5/raylib.git
cd raylib
git checkout a12ddacb7bfbc6e552e6145456f2fe6dfdfbe1c7
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.raylib_arg }}
cd ..
rm -rf raylib
# Updated on 31/3/2022
- name: mbedtls build test
if: ${{ matrix.arch_name.mbedtls == 'yes' }}

View File

@ -5,7 +5,7 @@ ENV CROSS_TRIPLE aarch64-linux-musl
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
RUN mkdir -p ${XCC_PREFIX}
RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \

View File

@ -5,7 +5,7 @@ ENV CROSS_TRIPLE armv6-linux-musleabihf
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
RUN mkdir -p ${XCC_PREFIX}
RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \

View File

@ -5,7 +5,7 @@ ENV CROSS_TRIPLE armv7l-linux-musleabihf
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
RUN mkdir -p ${XCC_PREFIX}
RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \