Open main menu

Difference between revisions of "Buildbot"

72 bytes added ,  15:05, 25 October 2018
m
Text replacement - "</source>" to "</syntaxhighlight>"
(The buildbot services are now managed using systemd)
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 59: Line 59:
systemctl start buildmaster
systemctl start buildmaster
systemctl start buildslave
systemctl start buildslave
</source>
</syntaxhighlight>


If problems arise, check if all files in the master (~buildbot/scummvm-master) and slave (~buildbot/scummvm-slave) directories are owned by the correct user (buildbot:buildbot). If the daemons were incorrectly started, new files might have been created under another user account. In that case:
If problems arise, check if all files in the master (~buildbot/scummvm-master) and slave (~buildbot/scummvm-slave) directories are owned by the correct user (buildbot:buildbot). If the daemons were incorrectly started, new files might have been created under another user account. In that case:
Line 68: Line 68:
chown -R buildbot:buildbot ~buildbot/scummvm-master/*
chown -R buildbot:buildbot ~buildbot/scummvm-master/*
chown -R buildbot:buildbot ~buildbot/scummvm-slave/*
chown -R buildbot:buildbot ~buildbot/scummvm-slave/*
</source>
</syntaxhighlight>
* start the daemons
* start the daemons


Line 100: Line 100:
<source lang="bash">
<source lang="bash">
tar -xvzf SDL-1.2.15.tar.gz -d /home/digitall
tar -xvzf SDL-1.2.15.tar.gz -d /home/digitall
</source>
</syntaxhighlight>


* Apply any required patches i.e. Currently libSDL-1.2.15 snapshot has a error in the Win32 version strings.. This may occur again on future releases :/
* Apply any required patches i.e. Currently libSDL-1.2.15 snapshot has a error in the Win32 version strings.. This may occur again on future releases :/
Line 106: Line 106:
<source lang="bash">
<source lang="bash">
patch -p0 < SDL-1.2.15-Fix-Windows-DLL-Version.patch
patch -p0 < SDL-1.2.15-Fix-Windows-DLL-Version.patch
</source>
</syntaxhighlight>


* Add toolchain binaries directory to path.
* Add toolchain binaries directory to path.
Line 113: Line 113:
PATH=/opt/toolchains/x86_64-w64-mingw32/bin:$PATH
PATH=/opt/toolchains/x86_64-w64-mingw32/bin:$PATH
export PATH
export PATH
</source>
</syntaxhighlight>


* Add out of tree build directory and configure the SDL codebase here with the host target and prefix to use the correct cross toolchain and target for make install.
* Add out of tree build directory and configure the SDL codebase here with the host target and prefix to use the correct cross toolchain and target for make install.
Line 121: Line 121:
cd SDL-1.2.15-x86_64-w64-mingw32
cd SDL-1.2.15-x86_64-w64-mingw32
../SDL-1.2.15/configure --host=x86_64-w64-mingw32 --prefix=/opt/toolchains/x86_64-w64-mingw32
../SDL-1.2.15/configure --host=x86_64-w64-mingw32 --prefix=/opt/toolchains/x86_64-w64-mingw32
</source>
</syntaxhighlight>


* Compile the codebase.
* Compile the codebase.
Line 127: Line 127:
<source lang="bash">
<source lang="bash">
make
make
</source>
</syntaxhighlight>


* Install the compiled files. As you become root, you need to make the same modification to the path to get the required cross toolchain tools such as ranlib.
* Install the compiled files. As you become root, you need to make the same modification to the path to get the required cross toolchain tools such as ranlib.
Line 136: Line 136:
export PATH
export PATH
make install
make install
</source>
</syntaxhighlight>
TrustedUser
2,147

edits