mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-06 05:24:02 -06:00
build-test: Build with normal Ubuntu arm-eabi compiler
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
7ad36a2164
commit
33a2d48888
3 changed files with 1 additions and 24 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
######################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue