From 41e505d99b5d754e85f9682e9cbb329e4b58ad18 Mon Sep 17 00:00:00 2001 From: Faraz Fallahi Date: Tue, 3 Oct 2017 16:59:39 -0500 Subject: [PATCH] Update Dockerfile --- windows/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows/Dockerfile b/windows/Dockerfile index 58dd332..d4a52a4 100644 --- a/windows/Dockerfile +++ b/windows/Dockerfile @@ -16,7 +16,8 @@ apt -y clean && \ cd /opt && \ git clone https://github.com/mxe/mxe.git && \ cd mxe && \ -make -j $(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+2)) MXE_TARGETS='i686-w64-mingw32.static' qtbase && \ +NPROC=$(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+4)) && \ +make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='i686-w64-mingw32.static' qtbase && \ /opt/mxe/usr/bin/i686-w64-mingw32.static-qmake-qt5 --version && \ exit 0 ENV PATH="${PATH}:/opt/mxe/usr/bin"