summaryrefslogtreecommitdiff
path: root/buildtools/scripts
AgeCommit message (Collapse)AuthorFilesLines
2022-03-29configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scriptsStefan Metzmacher2-4/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-02-22buildtools: Reformat shell scriptsAndreas Schneider2-14/+14
shfmt -f buildtools | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-02-15builtools: Make abi_gen.sh less prone to errorsAndreas Schneider1-2/+7
The mold linker has more hidden symbols and we would need to filter them out with nm, where objdump tells us which symbols are actually hidden. So we just need to filter out whatever is hidden. The use of awk makes it also easier to get what we want. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
2019-02-02abi_gen.sh: ignore gdb customisations when comparing signaturesDouglas Bagnall1-1/+1
If a .gdbinit file says "set print pretty on", the signatures are printed over several lines, and the abi_check fails. So let's ignore .gdbinit files. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Sat Feb 2 20:19:05 CET 2019 on sn-devel-144
2012-09-07gen_abi.sh: filter out symbols not needed for ABIAlexander Bokovoy1-1/+1
gdb does not allow to print definitions of certain section names and special symbols used for dynamic loading machinery: __bss_start _edata _init _fini _end Please note the space before the pattern, it is needed to avoid hungry matches of valid symbols with these as substrings (foo_init, for example). Without this patch gdb on Fedora 18 breaks when attempting to print function and struct signature.
2011-06-10waf: fixed 'make bin/XXX' for the remaining binariesAndrew Tridgell1-1/+1
this fixes 'make bin/smbd' to work correctly with the waf build. It didn't work before as smbd is actually 'smbd/smbd' internally and we tried to use the target name 'smbd'. The new approach reads the symlink to get the right target. This also speeds up the null build by quite a lot
2011-02-08waf: bring back shared Makefile and configure (needed by s3-waf).Günther Deschner3-0/+113
Guenther Revert "build: removed unused build scripts" This reverts commit 2e520ca91180920e4c8b71be4eaa7fabb56d2a12.
2011-02-07build: removed unused build scriptsAndrew Tridgell3-113/+0
each library has its own configure/Makefile now Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-11abi: force TERM=none in abi generationAndrew Tridgell1-1/+2
on Fedora12 gdb puts out a bit of binary garbage at the front of script output when TERM=xterm, presumably trying something like a clear screen. luckily it doesn't do it for unknown terminal types Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jan 11 06:48:56 CET 2011 on sn-devel-104
2010-12-01waf: added a help target for the other waf buildsAndrew Tridgell1-1/+6
this lets the s3 waf build use "make help" Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 1 01:47:50 CET 2010 on sn-devel-104
2010-11-21waf: fixed the build with a space in the source directoryAndrew Tridgell1-2/+2
2010-10-06waf: allow for commands like "make bin/smbtorture"Andrew Tridgell1-0/+4
I finally worked out the GNU make syntax for this
2010-09-07waf-abi: fixed small uninitialised data on PPC64 Andrew Tridgell1-1/+1
on PPC64 Linux systems a 'S' line from nm means "small object uninitialised data"
2010-07-10s4:buildtools: add 'make show_waf_options'Stefan Metzmacher1-0/+3
metze
2010-07-10s4:buildtools: make it possible to use advanced test options via the make ↵Stefan Metzmacher1-3/+3
waf wrapper You can to do thinks like this now: make test TEST_OPTIONS="--valgrind-server" TESTS=wbinfo metze
2010-05-09buildtools: Add 'make testenv' to Samba4 make targetsAndrew Bartlett1-0/+3
I'm still too addicted to this as my standard debugging environment, and while I can learn the new command, this helps the muscle-memory. Andrew Bartlett
2010-05-06build: added a reconfigure targetAndrew Tridgell1-0/+3
this is meant to be used by the s3 build, to allow jelmers work on smbtorture4 in s3 to avoid re-running configure unless its needed
2010-05-05build: added a distcheck targetAndrew Tridgell1-0/+3
2010-05-05build: exit with an error if waf configure failsAndrew Tridgell1-2/+2
We don't want configure in the build farm to show green when it fails
2010-04-26build: automatically run autogen-waf.sh when neededAndrew Tridgell1-4/+2
2010-04-23build: use 'waf distclean' for make distcleanAndrew Tridgell1-2/+2
this cleans up the more than rm -rf bin
2010-04-22build: we don't need this makefile magic any moreAndrew Tridgell1-2/+2
The waf build now checks for all A=B variables passed via make and sets the same waf internal variable. This means all waf options are available via make. Removing this from the Makefile makes us less reliant on a modern version of make. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-20build: include uninitialised data in the ABI symbolsAndrew Tridgell1-1/+1
This is needed for symbols like tdb_null in tdb, which are part of the public ABI Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-18build: don't depend on the word size of nm outputAndrew Tridgell1-1/+1
the first column varies in length for different architectures
2010-04-18build: added a script for generating ABI signatures from shared librariesAndrew Tridgell1-0/+20
2010-04-14build: try to honor MAKEFLAGS from makeAndrew Tridgell1-6/+1
This means "make -j" and "make -k" now do roughly what is expected make -j will use the number of CPUs on the system, regardless of the number after the -j (as MAKEFLAGS doesn't contain that value). make -k will will continue on errors
2010-04-13build: cope with spaces in options passed to ./configureAndrew Tridgell1-1/+1
2010-04-12build: use a common autogen-waf.sh for all buildsAndrew Tridgell1-0/+27
the symlink will get updated with the right target when waf dist is used in each directory
2010-04-10s4:autogen-waf: generate 'Makefile' instead of 'makefile'Stefan Metzmacher1-0/+7
This hopefully fixes the build on MacOS 10. metze
2010-04-08s4:WAF buildsystem - support out of "source4" directory buildsMatthias Dieter Wallnöfer1-0/+3
Bug: https://bugzilla.samba.org/show_bug.cgi?id=4081 With this patch we are able to invoke s4 builds from the outside of the "source4" directory (but the target remains the "source4/bin" path). One constraint: all commands: "autogen-waf.sh", "configure", "make" have to be run from the same directory! Regarding "make": you have to run it using "make -C <source4 path> [targets]" if the invoke directory is not "source4" itself.
2010-04-08s4-waf: Add dist target.Jelmer Vernooij1-0/+3
2010-04-07Support 'make test TESTS=foo' again.Jelmer Vernooij1-2/+2
2010-04-06s4-waf: new autogen-waf.shAndrew Tridgell2-0/+59
this one will work with the tdb, talloc, etc directories