2017-10-06 12:58:48 -07:00
|
|
|
#!/bin/bash -ex
|
2017-08-04 03:11:47 -07:00
|
|
|
|
|
|
|
apt-get update
|
2018-12-28 16:29:44 -08:00
|
|
|
apt-get install --no-install-recommends -y build-essential git libqt5opengl5-dev libsdl2-dev libssl-dev python qtbase5-dev qtwebengine5-dev wget cmake ninja-build ccache
|
2018-01-13 13:37:06 -08:00
|
|
|
|
|
|
|
cd /yuzu
|
2017-08-04 03:11:47 -07:00
|
|
|
|
|
|
|
mkdir build && cd build
|
2018-12-24 13:24:01 -08:00
|
|
|
cmake .. -DYUZU_USE_BUNDLED_UNICORN=ON -DYUZU_USE_QT_WEB_ENGINE=ON -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 -G Ninja
|
2018-05-28 02:34:47 -07:00
|
|
|
ninja
|
2017-08-04 03:11:47 -07:00
|
|
|
|
2018-08-31 11:08:03 -07:00
|
|
|
ccache -s
|
|
|
|
|
2017-08-04 03:11:47 -07:00
|
|
|
ctest -VV -C Release
|