Commit 10e8e96c authored by Frederick Zhang's avatar Frederick Zhang
Browse files

explicitly use -j$(nproc)

parent e36e8481
......@@ -12,7 +12,7 @@ patch -p1 -i /builds/patches/boost/42.patch
cd /builds/boost_1_63_0
cp /builds/patches/boost/user-config.jam ./
./bootstrap.sh --with-toolset=gcc --with-python=/usr/bin/python2
./b2 -d+2 -q target-os=windows variant=release threading=multi threadapi=win32 link=static \
./b2 -d+2 -q -j$(nproc) target-os=windows variant=release threading=multi threadapi=win32 link=static \
runtime-link=shared --prefix=/usr/x86_64-w64-mingw32 --user-config=user-config.jam --without-python \
--without-mpi --without-graph_parallel \
cxxflags="-std=c++11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4" \
......
......@@ -12,4 +12,4 @@ patch bzlib.h < /builds/patches/bzip2/bzip2-use-cdecl-calling-convention.patch
patch bzip2.c < /builds/patches/bzip2/mingw32-bzip2-1.0.5-slash.patch
sh autogen.sh
./configure --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -33,4 +33,4 @@ cd /builds/curl-7.52.1
--enable-ipv6 \
--enable-sspi \
--enable-cookies
make && make install
make -j$(nproc) && make install
......@@ -10,4 +10,4 @@ cd /builds/libgit2-0.25.1/build
cmake .. -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres \
-DCMAKE_FIND_ROOT_PATH=/usr/x86_64-w64-mingw32 -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DDLLTOOL=/usr/bin/x86_64-w64-mingw32-dlltool -DCMAKE_INSTALL_PREFIX=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -7,4 +7,4 @@ curl -O -J http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
tar xf libiconv-1.14.tar.gz
cd /builds/libiconv-1.14
./configure --enable-extra-encodings --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -7,4 +7,4 @@ curl -O -J https://alpha.gnu.org/gnu/libidn/libidn-1.17.tar.gz
tar xf libidn-1.17.tar.gz
cd /builds/libidn-1.17
./configure --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -8,4 +8,4 @@ curl -O -J https://alpha.gnu.org/gnu/libidn/libidn2-0.11.tar.gz
tar xf libidn2-0.11.tar.gz
cd /builds/libidn2-0.11
./configure --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -7,4 +7,4 @@ curl -O -J https://www.libssh2.org/download/libssh2-1.8.0.tar.gz
tar xf libssh2-1.8.0.tar.gz
cd /builds/libssh2-1.8.0
LIBS="-lgdi32 -lcrypt32" ./configure --with-openssl --with-libz --prefix=/usr/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-shared --enable-static
make && make install
make -j$(nproc) && make install
......@@ -7,4 +7,4 @@ curl -O -J https://alpha.gnu.org/gnu/libidn/libstringprep-0.0.8.tar.gz
tar xf libstringprep-0.0.8.tar.gz
cd /builds/libstringprep-0.0.8
./configure --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -7,4 +7,4 @@ curl -O -J http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.7.tar.xz
tar xf libunistring-0.9.7.tar.xz
cd /builds/libunistring-0.9.7
./configure --enable-threads=windows --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -11,4 +11,4 @@ patch -Np1 -i /builds/patches/libxml2/libxml2-no-test.patch
sed -i "s| doc example | |g" Makefile.am
autoreconf -vfi
LIBS="-lz" LDFLAGS="-L/usr/x86_64-w64-mingw32/lib" ./configure --without-python --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -8,4 +8,4 @@ tar xf mingw-catgets-1.0.1-src.tar.gz
cd /builds/mingw-catgets-1.0.1
patch catopen.c /builds/patches/mingw-catgets-catopen-20170123.diff
./configure --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
......@@ -8,4 +8,4 @@ tar xf openssl-1.0.2j.tar.gz
cd /builds/openssl-1.0.2j
CROSS_COMPILE="x86_64-w64-mingw32-" ./Configure -DHAVE_STRUCT_TIMESPEC -lz -lws2_32 zlib threads shared no-asm mingw64 --prefix=/usr/x86_64-w64-mingw32
make depend
make && make install
make -j$(nproc) && make install
......@@ -8,4 +8,4 @@ tar xf openssl-1.1.0c.tar.gz
cd /builds/openssl-1.1.0c
CROSS_COMPILE="x86_64-w64-mingw32-" ./Configure -DHAVE_STRUCT_TIMESPEC -lz -lws2_32 zlib threads shared no-asm mingw64 --prefix=/usr/x86_64-w64-mingw32
make depend
make && make install
make -j$(nproc) && make install
......@@ -7,4 +7,4 @@ curl -O -J https://sqlite.org/2017/sqlite-autoconf-3160200.tar.gz
tar xf sqlite-autoconf-3160200.tar.gz
cd /builds/sqlite-autoconf-3160200
./configure --prefix=/usr/x86_64-w64-mingw32 --host=x86_64-w64-mingw32
make && make install
make -j$(nproc) && make install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment