summaryrefslogtreecommitdiff
path: root/buildtools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scriptsStefan Metzmacher2022-03-292-4/+11
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* buildtools: Reformat shell scriptsAndreas Schneider2022-02-222-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>
* builtools: Make abi_gen.sh less prone to errorsAndreas Schneider2022-02-151-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>
* abi_gen.sh: ignore gdb customisations when comparing signaturesDouglas Bagnall2019-02-021-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
* gen_abi.sh: filter out symbols not needed for ABIAlexander Bokovoy2012-09-071-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.
* waf: fixed 'make bin/XXX' for the remaining binariesAndrew Tridgell2011-06-101-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
* waf: bring back shared Makefile and configure (needed by s3-waf).Günther Deschner2011-02-083-0/+113
| | | | | | | | Guenther Revert "build: removed unused build scripts" This reverts commit 2e520ca91180920e4c8b71be4eaa7fabb56d2a12.
* build: removed unused build scriptsAndrew Tridgell2011-02-073-113/+0
| | | | | | each library has its own configure/Makefile now Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* abi: force TERM=none in abi generationAndrew Tridgell2011-01-111-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
* waf: added a help target for the other waf buildsAndrew Tridgell2010-12-011-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
* waf: fixed the build with a space in the source directoryAndrew Tridgell2010-11-211-2/+2
|
* waf: allow for commands like "make bin/smbtorture"Andrew Tridgell2010-10-061-0/+4
| | | | I finally worked out the GNU make syntax for this
* waf-abi: fixed small uninitialised data on PPC64 Andrew Tridgell2010-09-071-1/+1
| | | | | on PPC64 Linux systems a 'S' line from nm means "small object uninitialised data"
* s4:buildtools: add 'make show_waf_options'Stefan Metzmacher2010-07-101-0/+3
| | | | metze
* s4:buildtools: make it possible to use advanced test options via the make ↵Stefan Metzmacher2010-07-101-3/+3
| | | | | | | | | waf wrapper You can to do thinks like this now: make test TEST_OPTIONS="--valgrind-server" TESTS=wbinfo metze
* buildtools: Add 'make testenv' to Samba4 make targetsAndrew Bartlett2010-05-091-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
* build: added a reconfigure targetAndrew Tridgell2010-05-061-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
* build: added a distcheck targetAndrew Tridgell2010-05-051-0/+3
|
* build: exit with an error if waf configure failsAndrew Tridgell2010-05-051-2/+2
| | | | We don't want configure in the build farm to show green when it fails
* build: automatically run autogen-waf.sh when neededAndrew Tridgell2010-04-261-4/+2
|
* build: use 'waf distclean' for make distcleanAndrew Tridgell2010-04-231-2/+2
| | | | this cleans up the more than rm -rf bin
* build: we don't need this makefile magic any moreAndrew Tridgell2010-04-221-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>
* build: include uninitialised data in the ABI symbolsAndrew Tridgell2010-04-201-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>
* build: don't depend on the word size of nm outputAndrew Tridgell2010-04-181-1/+1
| | | | the first column varies in length for different architectures
* build: added a script for generating ABI signatures from shared librariesAndrew Tridgell2010-04-181-0/+20
|
* build: try to honor MAKEFLAGS from makeAndrew Tridgell2010-04-141-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
* build: cope with spaces in options passed to ./configureAndrew Tridgell2010-04-131-1/+1
|
* build: use a common autogen-waf.sh for all buildsAndrew Tridgell2010-04-121-0/+27
| | | | | the symlink will get updated with the right target when waf dist is used in each directory
* s4:autogen-waf: generate 'Makefile' instead of 'makefile'Stefan Metzmacher2010-04-101-0/+7
| | | | | | This hopefully fixes the build on MacOS 10. metze
* s4:WAF buildsystem - support out of "source4" directory buildsMatthias Dieter Wallnöfer2010-04-081-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.
* s4-waf: Add dist target.Jelmer Vernooij2010-04-081-0/+3
|
* Support 'make test TESTS=foo' again.Jelmer Vernooij2010-04-071-2/+2
|
* s4-waf: new autogen-waf.shAndrew Tridgell2010-04-062-0/+59
this one will work with the tdb, talloc, etc directories