From 4aec2b92048829dd8caa79023cfb44ffc338e77d Mon Sep 17 00:00:00 2001 From: mpromonet Date: Sun, 15 Mar 2020 19:11:50 +0100 Subject: [PATCH] fix circleci build --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 737274a1..cf2b814a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -154,8 +154,6 @@ jobs: - run: apt-get update; apt-get install -y --no-install-recommends autoconf automake libtool git make cmake g++ xz-utils - run: wget -qO- ${CROSSCOMPILER} | tar xz -C /opt - run: echo "export PATH=$(ls -d /opt/cross-pi-gcc-*/bin):\$PATH" >> $BASH_ENV - - run: cat $BASH_ENV - - run: which arm-linux-gnueabihf-gcc - run: echo 'export PATH=/depot_tools:$PATH' >> $BASH_ENV - run: ${WEBRTCROOT}/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm - run: cd ${WEBRTCROOT} && gclient sync @@ -188,6 +186,7 @@ jobs: - run: wget -qO- ${CROSSCOMPILER} | tar xz -C /opt - run: echo "export PATH=$(ls -d /opt/cross-pi-gcc-*/bin):\$PATH" >> $BASH_ENV - run: echo 'export PATH=/depot_tools:$PATH' >> $BASH_ENV + - run: ${WEBRTCROOT}/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm - run: cd ${WEBRTCROOT} && gclient sync - run: cmake -DCMAKE_SYSTEM_PROCESSOR=armv6l -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY -DWEBRTCDESKTOPCAPTURE=OFF . && make