diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-18 00:19:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 00:19:25 -0700 |
commit | 9e7713c150d4d0596ef60ec005fecb4544314c1f (patch) | |
tree | 4c4c36bc74f6d380928f5c529d086401fc6bdd16 | |
parent | 2a2a578932cb8e08d804f9c39c2025317860e58e (diff) | |
parent | 7d0d2af3faff3e7fa1ca5fe95153fecfefb0f198 (diff) |
Merge pull request #6208 from lat9nq/boost-static
ci: linux: Link Boost statically
-rwxr-xr-x | .ci/scripts/linux/docker.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.ci/scripts/linux/docker.sh b/.ci/scripts/linux/docker.sh index 39b1f77d7f..1af5ded3da 100755 --- a/.ci/scripts/linux/docker.sh +++ b/.ci/scripts/linux/docker.sh @@ -8,7 +8,17 @@ cd /yuzu ccache -s mkdir build || true && cd build -cmake .. -DDISPLAY_VERSION=$1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DCMAKE_INSTALL_PREFIX="/usr" +cmake .. \ + -DBoost_USE_STATIC_LIBS=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ \ + -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DDISPLAY_VERSION=$1 \ + -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \ + -DENABLE_QT_TRANSLATION=ON \ + -DUSE_DISCORD_PRESENCE=ON \ + -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} make -j$(nproc) |