Buildbot? - Page 4

Buildbot?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Buildbot?

Post by Argh »

Yay!
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Buildbot?

Post by imbaczek »

http://www.osdev.org/phpBB2/viewtopic.php?t=12074

IMHO the buildbot should be compiling with debug symbols and provide them as a separate download (on my box it's 12MB 7zipped.)
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Buildbot?

Post by bibim »

imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Buildbot?

Post by imbaczek »

exactly this, thanks.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Buildbot?

Post by bibim »

BuildServ is now using mingw32 4.2.1-sjlj to cross compile Spring (since release R5889). Debug symbols are much bigger now however :/
I moved all files generated previously with mingw32 3.4.5 into http://planetspring.free.fr/spring_old/ .
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Buildbot?

Post by bibim »

I just added an optionnal revision parameter for command "!rebuild":
!rebuild [<revision>]

It makes BuildServ build a specific revision instead of the latest available on SVN repository.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Buildbot?

Post by Argh »

Excellent! :-)
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Buildbot?

Post by Tobi »

the real buildbot is finally making installers (+ debugging symbols) again:

http://spring.clan-sy.com/dl/buildbot
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Buildbot?

Post by bibim »

Nice to see the buildbot builds back online.
Time has come to stop buildserv uploads ;)
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Buildbot?

Post by Argh »

Meh, I am just glad that you provided this service to the community of developers and game designers during this period. Being without SVN builds really hampers development for a lot of people trying to keep abreast of what's going on with Spring, and I really appreciated the effort to keep such resources available during the outage caused by unknown-files going down.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Buildbot?

Post by Argh »

Um, I hate to whine and complain about the mighty Buildbot returning from its coma, but it's 4 revs behind Bibim, has it failed to compile?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Buildbot?

Post by LordMatt »

Well, we thought it had returned, but then Fnordia's server ran out of space so we need him to install a new HD.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Buildbot?

Post by Argh »

Doh :roll:

Ok, then I'll just, erm, hope that Bibim's host works still...
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Buildbot?

Post by bibim »

Argh wrote:Meh, I am just glad that you provided this service to the community of developers and game designers during this period. Being without SVN builds really hampers development for a lot of people trying to keep abreast of what's going on with Spring, and I really appreciated the effort to keep such resources available during the outage caused by unknown-files going down.
Actually I already had the SVN Spring build system for my own needs. I also already had the Spring bot engine for my Linux AutoHost. All I did was linking this together and adding auto-uploads with a few lines of Perl ;)
Argh wrote:Ok, then I'll just, erm, hope that Bibim's host works still...
I was just reactivating BuildServ uploads while you were typing this message ;)
I will deactivate uploads again when the new HD is installed to avoid confusing ppl with multiple SVN builds download locations. But I think I will keep the bot running because it's still useful for me for generating Windows binaries easily and for autoupdating my Linux AutoHost.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Buildbot?

Post by bibim »

I've changed the rebuild command syntax:

Code: Select all

!rebuild [sys=windows|windows64|linux] [rev=<revision>|HEAD] [upload=yes|no] [branch=<branchName>] [tag=<tagName>]
All parameters are optional and can be put in any order:
_ sys: system for which binaries must be built (default value: "windows")
_ rev: revision to build (default value: "HEAD" => latest commit)
_ upload: tells if binaries must be uploaded (default value: "yes" if sys="windows" and branch/tag are undefined, "no" else)
_ branch: branch to build (default value: undefined => trunk)
_ tag: tag to build (default value: undefined => trunk)

I kept backward compatibility, so:
"!rebuild linux" is handled as "!rebuild sys=linux"
"!rebuild 1234" is handled as "!rebuild rev=1234"

Compiler version depends on target system:
_ windows: i586-mingw32msvc-g++ (GCC) 4.2.1-sjlj (mingw32-2)
_ linux: g++ (Debian 4.3.1-2) 4.3.1
_ windows64: x86_64-pc-mingw32-g++ (GCC) 4.4.0 20080806 (experimental)
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Buildbot?

Post by bibim »

stacktrace translator command added:

Code: Select all

!translate file=<URL> [rev=<revision>|LAST] [branch=<branch>] [tag=<tag>]
It translates the stack trace pointed by <URL>, and uploads the result to http://planetspring.free.fr/spring/stacktrace (<URL> can also be a pastebin link). The default behavior is to use the latest debug symbols for trunk (rev=LAST). This behavior can be changed by using "rev", "branch" or "tag" optional parameters (as for "rebuild" command).
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Buildbot?

Post by imbaczek »

you've won one free internets with this one. great stuff.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Buildbot?

Post by hoijui »

yes, really nice. :-)
thank you!
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Buildbot?

Post by bibim »

2 new commands added for BuildServ build profiles management.

A build profile is a set of configure flags used by BuildServ during build process. The profile named "default" is used by default when no profile is given for !rebuild and !translate commands.

You can create your own build profile with the "defineProfile" command:

Code: Select all

Syntax:
!defineProfile <profileName> <configFlag>=<value> [<configFlag>=<value> [...]]
It (re)defines the build profile named <profileName>, with its associated configure flags (<configFlag>=<value> ...). New build profiles are based on the "default" one, so there is no need to declare a config flag if it has the same value as in the default build profile.

Code: Select all

Exemple:
!defineProfile GML gml=true
You can list existing build profiles with the "listProfiles" command. It lists BuildServ build profiles with their associated configure flags.

Code: Select all

Exemple:
!listProfiles
 * BuildServ * Available build profiles:
 * BuildServ *   GML: gml=true debug=yes optimize=yes debugdefines=no
 * BuildServ *   default: gml=false debug=yes optimize=yes debugdefines=no
So now, to build Spring with GML, you just have to enter "!rebuild profile=GML" (uploaded files will be prefixed with "[<profileName>]", so each build profile is totally independent).
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Buildbot?

Post by imbaczek »

<3
Post Reply

Return to “Engine”