diff --git a/circle.yml b/circle.yml index 715bc27..a65b56f 100644 --- a/circle.yml +++ b/circle.yml @@ -12,6 +12,7 @@ dependencies: - docker pull thewtex/cross-compiler-base - docker pull thewtex/cross-compiler-android-arm - docker pull thewtex/cross-compiler-browser-asmjs + - docker pull thewtex/cross-compiler-linux-armv5 - docker pull thewtex/cross-compiler-linux-armv6 - docker pull thewtex/cross-compiler-linux-armv7 - docker pull thewtex/cross-compiler-linux-ppc64le @@ -28,6 +29,8 @@ test: - docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-android-arm python /usr/src/test/run.py - make browser-asmjs - docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-browser-asmjs python /usr/src/test/run.py --emulator /usr/bin/node --exe-suffix ".js" + - make linux-armv5 + - docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-linux-armv5 python /usr/src/test/run.py --emulator /usr/bin/qemu-arm - make linux-armv6 - docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-linux-armv6 python /usr/src/test/run.py --emulator /usr/bin/qemu-arm - make linux-armv7 @@ -54,6 +57,7 @@ deployment: - docker push thewtex/cross-compiler-base - docker push thewtex/cross-compiler-android-arm - docker push thewtex/cross-compiler-browser-asmjs + - docker push thewtex/cross-compiler-linux-armv5 - docker push thewtex/cross-compiler-linux-armv6 - docker push thewtex/cross-compiler-linux-armv7 - docker push thewtex/cross-compiler-linux-ppc64le diff --git a/linux-armv5/Dockerfile b/linux-armv5/Dockerfile index 4d772f9..d6aad9a 100644 --- a/linux-armv5/Dockerfile +++ b/linux-armv5/Dockerfile @@ -27,3 +27,6 @@ ENV AS=/usr/bin/${CROSS_TRIPLE}-as \ ENV QEMU_LD_PREFIX ${CROSS_ROOT}/libc ENV QEMU_SET_ENV "LD_LIBRARY_PATH=${CROSS_ROOT}/lib:${CROSS_ROOT}/libc/lib/${CROSS_TRIPLE}/" + +COPY Toolchain.cmake ${CROSS_ROOT}/ +ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/Toolchain.cmake