From 33a2d48888e685fb832ea9e3e30b2df218ab424b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 30 Oct 2020 14:59:57 -0400 Subject: [PATCH] build-test: Build with normal Ubuntu arm-eabi compiler Signed-off-by: Kevin O'Connor --- .github/workflows/build-test.yaml | 2 +- scripts/travis-build.sh | 1 - scripts/travis-install.sh | 22 ---------------------- 3 files changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 916741c9..be4d74c4 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - name: Install system dependencies - run: sudo apt-get install gcc-avr avr-libc pv libmpfr-dev libgmp-dev libmpc-dev texinfo libncurses5-dev bison flex python-virtualenv virtualenv python-dev libffi-dev build-essential + run: sudo apt-get install gcc-avr avr-libc pv libmpfr-dev libgmp-dev libmpc-dev texinfo libncurses5-dev bison flex python-virtualenv virtualenv python-dev libffi-dev build-essential libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi - name: Setup cache uses: actions/cache@v2 diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh index 19877bf6..913a2aa0 100755 --- a/scripts/travis-build.sh +++ b/scripts/travis-build.sh @@ -7,7 +7,6 @@ set -eu # Paths to tools installed by travis-install.sh MAIN_DIR=${PWD} BUILD_DIR=${PWD}/travis_build -export PATH=${BUILD_DIR}/gcc-arm-none-eabi-7-2017-q4-major/bin:${PATH} export PATH=${BUILD_DIR}/pru-gcc/bin:${PATH} PYTHON=${BUILD_DIR}/python-env/bin/python diff --git a/scripts/travis-install.sh b/scripts/travis-install.sh index d0f42c41..0bb1ff6d 100755 --- a/scripts/travis-install.sh +++ b/scripts/travis-install.sh @@ -11,28 +11,6 @@ CACHE_DIR=${PWD}/travis_cache mkdir -p ${BUILD_DIR} ${CACHE_DIR} -###################################################################### -# Install embedded arm gcc -###################################################################### - -echo -e "\n\n=============== Install embedded arm gcc\n\n" -GCC_ARM_URL="https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2017q4/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2" -GCC_ARM_SHA="96a029e2ae130a1210eaa69e309ea40463028eab18ba19c1086e4c2dafe69a6a gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2" -GCC_ARM_FILE="$(basename ${GCC_ARM_URL})" - -cd ${CACHE_DIR} -if [ ! -f ${GCC_ARM_FILE} ]; then - wget "$GCC_ARM_URL" -fi -FOUND_SHA=`sha256sum "$GCC_ARM_FILE"` -if [ "$FOUND_SHA" != "$GCC_ARM_SHA" ]; then - echo "ERROR: Mismatch on gcc arm sha256" - exit -1 -fi -cd ${BUILD_DIR} -tar xf "${CACHE_DIR}/${GCC_ARM_FILE}" - - ###################################################################### # Install (or build) pru gcc ######################################################################