diff --git a/.github/workflows/aarch64_linux_cmake.yml b/.github/workflows/aarch64_linux_cmake.yml index 1dfc23a7..21dbacf9 100644 --- a/.github/workflows/aarch64_linux_cmake.yml +++ b/.github/workflows/aarch64_linux_cmake.yml @@ -16,8 +16,6 @@ jobs: targets: [ [aarch64], [aarch64be], - [aarch64-linux-gnu], - [aarch64_be-linux-gnu] ] fail-fast: false env: diff --git a/.github/workflows/arm_linux_cmake.yml b/.github/workflows/arm_linux_cmake.yml index fa565055..29bfda8f 100644 --- a/.github/workflows/arm_linux_cmake.yml +++ b/.github/workflows/arm_linux_cmake.yml @@ -14,11 +14,8 @@ jobs: strategy: matrix: targets: [ - [arm-linux-gnueabihf], - [armv8l-linux-gnueabihf], - [arm-linux-gnueabi], - [armeb-linux-gnueabihf], - [armeb-linux-gnueabi] + [armv7-eabihf], + [armebv7-eabihf], ] fail-fast: false env: diff --git a/cmake/ci/Makefile b/cmake/ci/Makefile index 3dc4d968..966226fc 100644 --- a/cmake/ci/Makefile +++ b/cmake/ci/Makefile @@ -39,20 +39,16 @@ help: @echo -e "\t${BOLD}clean__${RESET}: Remove cache and docker image." @echo @echo -e "\tWith ${BOLD}${RESET}:" - @echo -e "\t\t${BOLD}arm-linux-gnueabihf${RESET} (linaro toolchain)" - @echo -e "\t\t${BOLD}armv8l-linux-gnueabihf${RESET} (linaro toolchain)" - @echo -e "\t\t${BOLD}arm-linux-gnueabi${RESET} (linaro toolchain)" - @echo -e "\t\t${BOLD}armeb-linux-gnueabihf${RESET} (linaro toolchain)" - @echo -e "\t\t${BOLD}armeb-linux-gnueabi${RESET} (linaro toolchain)" - @echo -e "\t\t${BOLD}aarch64-linux-gnu${RESET} (linaro toolchain)" - @echo -e "\t\t${BOLD}aarch64${RESET} (bootlin toolchain)" - @echo -e "\t\t${BOLD}aarch64_be-linux-gnu${RESET} (linaro toolchain)" - @echo -e "\t\t${BOLD}aarch64be${RESET} (bootlin toolchain)" + @echo -e "\t\t${BOLD}armv7-eabihf(arm)${RESET} (bootlin toolchain)" + @echo -e "\t\t${BOLD}armebv7-eabihf(armeb)${RESET} (bootlin toolchain)" + @echo -e "\t\t${BOLD}aarch64(arm64)${RESET} (bootlin toolchain)" + @echo -e "\t\t${BOLD}aarch64be(arm64be)${RESET} (bootlin toolchain)" @echo -e "\t\t${BOLD}mips32${RESET} (codespace toolchain)" @echo -e "\t\t${BOLD}mips64${RESET} (codespace toolchain)" @echo -e "\t\t${BOLD}mips32el${RESET} (codespace toolchain)" @echo -e "\t\t${BOLD}mips64el${RESET} (codespace toolchain)" - @echo -e "\t\t${BOLD}ppc${RESET} (bootlin toolchain)" + @echo -e "\t\t${BOLD}ppc-440fp(ppc)${RESET} (bootlin toolchain)" + @echo -e "\t\t${BOLD}ppc-e500mc${RESET} (bootlin toolchain)" @echo -e "\t\t${BOLD}ppc64${RESET} (bootlin toolchain)" @echo -e "\t\t${BOLD}ppc64le${RESET} (bootlin toolchain)" @echo -e "\t\t${BOLD}riscv32${RESET} (bootlin toolchain)" @@ -151,9 +147,10 @@ $(clean_targets_amd64): clean_amd64_%: ## TOOLCHAIN ## ############### TOOLCHAIN_TARGETS = \ + arm armeb \ + armv7-eabihf armebv7-eabihf \ + arm64 arm64be \ aarch64 aarch64be \ - arm-linux-gnueabihf armv8l-linux-gnueabihf arm-linux-gnueabi armeb-linux-gnueabihf armeb-linux-gnueabi \ - aarch64-linux-gnu aarch64_be-linux-gnu \ mips32 mips32el mips64 mips64el \ ppc ppc-440fp ppc-e500mc \ ppc64 ppc64le \ diff --git a/scripts/run_integration.sh b/scripts/run_integration.sh index 186e4d71..ef346b2e 100755 --- a/scripts/run_integration.sh +++ b/scripts/run_integration.sh @@ -92,50 +92,6 @@ function clean_build() { mkdir -p "${BUILD_DIR}" } -function expand_linaro_config() { - #ref: https://releases.linaro.org/components/toolchain/binaries/ - local -r LINARO_VERSION=7.5-2019.12 - local -r LINARO_ROOT_URL=https://releases.linaro.org/components/toolchain/binaries/${LINARO_VERSION} - - local -r GCC_VERSION=7.5.0-2019.12 - local -r GCC_URL=${LINARO_ROOT_URL}/${TARGET}/gcc-linaro-${GCC_VERSION}-x86_64_${TARGET}.tar.xz - local -r GCC_RELATIVE_DIR="gcc-linaro-${GCC_VERSION}-x86_64_${TARGET}" - unpack "${GCC_URL}" "${GCC_RELATIVE_DIR}" - - local -r SYSROOT_VERSION=2.25-2019.12 - local -r SYSROOT_URL=${LINARO_ROOT_URL}/${TARGET}/sysroot-glibc-linaro-${SYSROOT_VERSION}-${TARGET}.tar.xz - local -r SYSROOT_RELATIVE_DIR=sysroot-glibc-linaro-${SYSROOT_VERSION}-${TARGET} - unpack "${SYSROOT_URL}" "${SYSROOT_RELATIVE_DIR}" - - local -r SYSROOT_DIR=${ARCHIVE_DIR}/${SYSROOT_RELATIVE_DIR} - local -r STAGING_DIR=${ARCHIVE_DIR}/${SYSROOT_RELATIVE_DIR}-stage - local -r GCC_DIR=${ARCHIVE_DIR}/${GCC_RELATIVE_DIR} - - # Write a Toolchain file - # note: This is manadatory to use a file in order to have the CMake variable - # 'CMAKE_CROSSCOMPILING' set to TRUE. - # ref: https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-linux - cat >"$TOOLCHAIN_FILE" <