1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-02 13:43:18 +02:00

Make toolchain persistent accross runs

This commit is contained in:
Guillaume Chatelet
2018-02-14 09:59:29 +01:00
parent a25b5cbe7e
commit 5e016e4f1b
3 changed files with 7 additions and 3 deletions

View File

@ -14,7 +14,7 @@ if [[ -n "${CROSS_COMPILE}" ]]; then
: "${QEMU_ARCH:?Need to set QEMU_ARCH non-empty}"
${SCRIPT_FOLDER}/setup_qemu.sh
${SCRIPT_FOLDER}/setup_toolchain.sh
export TOOLCHAIN=${HOME}/${TOOLCHAIN_NAME}
export TOOLCHAIN=${HOME}/toolchains/${TOOLCHAIN_NAME}
export PATH=${TOOLCHAIN}/bin:${HOME}/qemu/bin:${PATH}
export CMAKE_TOOLCHAIN_FILE=cmake/${TARGET}.cmake
if [[ ! -f ${CMAKE_TOOLCHAIN_FILE} ]]; then