2017-10-22 03:16:46 +05:30
|
|
|
#!/bin/bash -ex
|
|
|
|
|
|
|
|
cd /citra
|
|
|
|
|
|
|
|
apt-get update
|
2018-04-11 08:39:35 +05:30
|
|
|
apt-get install -y build-essential wget git python-launchpadlib ccache
|
2017-10-22 03:16:46 +05:30
|
|
|
|
|
|
|
# Install specific versions of packages with their dependencies
|
|
|
|
# The apt repositories remove older versions regularly, so we can't use
|
|
|
|
# apt-get and have to pull the packages directly from the archives.
|
2018-05-11 23:12:23 +05:30
|
|
|
# qt5-qmltooling-plugins and qtdeclarative5-dev are required for qtmultimedia5-dev
|
2017-10-22 03:16:46 +05:30
|
|
|
/citra/.travis/linux-frozen/install_package.py \
|
2018-02-06 17:55:39 +05:30
|
|
|
libsdl2-dev 2.0.7+dfsg1-3ubuntu1 bionic \
|
|
|
|
qtbase5-dev 5.9.3+dfsg-0ubuntu2 bionic \
|
|
|
|
libqt5opengl5-dev 5.9.3+dfsg-0ubuntu2 bionic \
|
2018-05-11 23:12:23 +05:30
|
|
|
qt5-qmltooling-plugins 5.9.3-0ubuntu1 bionic \
|
|
|
|
qtdeclarative5-dev 5.9.3-0ubuntu1 bionic \
|
|
|
|
qtmultimedia5-dev 5.9.3-0ubuntu3 bionic \
|
2018-05-13 11:08:18 +05:30
|
|
|
libicu57 57.1-6ubuntu0.2 bionic \
|
|
|
|
cmake 3.10.2-1ubuntu2 bionic
|
2017-10-22 03:16:46 +05:30
|
|
|
|
|
|
|
mkdir build && cd build
|
2018-04-16 04:12:58 +05:30
|
|
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DCITRA_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
|
2017-10-22 03:16:46 +05:30
|
|
|
make -j4
|
|
|
|
|
|
|
|
ctest -VV -C Release
|