From 15e655fa9eadfff202bce6e48c78e213b3fa38f5 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 5 May 2021 15:29:20 +0200 Subject: [PATCH] GitHub CI: parallel build of some deps --- .github/scripts/Linux/prepare.sh | 5 +++-- .github/scripts/Windows/build_live555.sh | 2 +- .github/scripts/Windows/install_spout.sh | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/scripts/Linux/prepare.sh b/.github/scripts/Linux/prepare.sh index 59050aa82..7dd44d273 100755 --- a/.github/scripts/Linux/prepare.sh +++ b/.github/scripts/Linux/prepare.sh @@ -57,7 +57,7 @@ if [ -n "$SDK_URL" ]; then mv /var/tmp/ntv2sdk* /var/tmp/ntv2sdk cd /var/tmp/ntv2sdk/ajalibraries/ajantv2 export CXX='g++ -std=gnu++11' - make + make -j $(nproc) fi fi @@ -77,7 +77,8 @@ git clone https://github.com/xanview/live555/ cd live555 git checkout 35c375 ./genMakefiles linux-64bit -sudo make install CPLUSPLUS_COMPILER="c++ -DXLOCALE_NOT_USED" +make -j $(nproc) CPLUSPLUS_COMPILER="c++ -DXLOCALE_NOT_USED" +sudo make install cd .. # Install cross-platform deps diff --git a/.github/scripts/Windows/build_live555.sh b/.github/scripts/Windows/build_live555.sh index 1e78a9f6e..e1788732c 100755 --- a/.github/scripts/Windows/build_live555.sh +++ b/.github/scripts/Windows/build_live555.sh @@ -5,5 +5,5 @@ git clone https://github.com/xanview/live555/ cd live555 git checkout 35c375 ./genMakefiles mingw -make +make -j $(nproc) diff --git a/.github/scripts/Windows/install_spout.sh b/.github/scripts/Windows/install_spout.sh index aa0884507..0bef368b8 100755 --- a/.github/scripts/Windows/install_spout.sh +++ b/.github/scripts/Windows/install_spout.sh @@ -5,7 +5,7 @@ git clone -b 2.006 --depth 1 https://github.com/leadedge/Spout2.git mkdir Spout2/SpoutSDK/Source/build cd Spout2/SpoutSDK/Source/build cmake -DBUILD_SHARED_LIBS=ON -G 'MSYS Makefiles' .. -cmake --build . +cmake --build . --parallel cp libSpout.dll /usr/local/bin cp libSpout.dll.a /usr/local/lib cd -