Skip to contentSkip to conversation

Buildbot build flags

Openvpn-devel Samuli Seppänen 2 participants 3 messages Mar 30, 2012 – Apr 2, 2012

lore
Share & tools
lore
#0 lore raw

Hi all,

Before Alon's buildsystem overhaul our buildbot farm tested building with all unique combinations of the following build flags:

--disable-lzo --disable-ssl, --disable-crypto, --disable-management

In addition, each commit triggerer a build which used no build flags (i.e. just ran "./configure").

What build flags should we test now?

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw

Safest is to go with all combinations...
Or at least:
--disable-lzo --enable-lzo
--enable-pkcs11 --disable-pkcs11
--enable-selinux --disable-selinux
--enable-iproute2 --disable-iproute2
--disable-server
--enable-small
--disable-plugins
--disable-management

--disable-crypto --disable-ssl --with-crypto-library=openssl --enable-crypo --enable-ssl --with-crypto-library=openssl --enable-crypo --disable-ssl --with-crypto-library=polarssl --enable-crypo --enable-ssl --with-crypto-library=polarssl --enable-crypo --disable-ssl

And... for windows, you can use the build-complete script to produce a complete installer on Linux, if that's work you are good.

Anyway... I want to question [again] these options... I think openvpn provides more flexibility than it should... there is no point to disable plugins nor management, cryptoless operation is also somewhat always required... It can make the code much simpler!

2012/3/30 Samuli Seppänen <[email protected]...>:

Quoted 28 lines

Hi all,

Before Alon's buildsystem overhaul our buildbot farm tested building with all unique combinations of the following build flags:

--disable-lzo --disable-ssl, --disable-crypto, --disable-management

In addition, each commit triggerer a build which used no build flags (i.e. just ran "./configure").

What build flags should we test now?

--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw

Hi Alon,

Quoted 1 line

Safest is to go with all combinations...

Testing all combinations would be best, but there are a _lot_ of them... then you need to multiply that with the number of buildslaves (atm ~10) :).

Quoted 10 lines

Or at least:
--disable-lzo --enable-lzo
--enable-pkcs11 --disable-pkcs11
--enable-selinux --disable-selinux
--enable-iproute2 --disable-iproute2
--disable-server
--enable-small
--disable-plugins
--disable-management

Quoted 5 lines

--disable-crypto --disable-ssl --with-crypto-library=openssl --enable-crypo --enable-ssl --with-crypto-library=openssl --enable-crypo --disable-ssl --with-crypto-library=polarssl --enable-crypo --enable-ssl --with-crypto-library=polarssl --enable-crypo --disable-ssl

Sounds good to me. Any additions / opinions from somebody else?

Quoted 2 lines

And... for windows, you can use the build-complete script to produce a complete installer on Linux, if that's work you are good.

Buildbot 0.8.5 (current version) supports Windows buildslaves, so that's on my TODO... might take a while, though. With cross-compiling on *NIX for Windows working properly, I could perhaps repurpose the Windows build computer as a buildslave.

Samuli