summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_deps.py
AgeCommit message (Collapse)AuthorFilesLines
2010-10-21waf: fixed expansion of direct_objects and direct_libsAndrew Tridgell1-2/+2
these do not need to be expanded in break_dependency_loops()
2010-10-21waf: rework expand_subsystem_deps()Andrew Tridgell1-18/+36
make the variable names a lot clearer, and restrict the expansion of subsystem deps to object style subsystems and modules. If a subsystem or a module is built as a library then we don't need to expand the dependencies across that boundary Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: added --show-deps and --show-duplicatesAndrew Tridgell1-1/+66
these options make it easier to examine our depenency tree, by showing any objects linked into more than one library, and by showing the dependency tree for a chosen target
2010-10-19waf: don't save deps on installAndrew Tridgell1-1/+2
this prevents an install triggering a new check of the project rules on the next build
2010-10-14s4-waf: automatically remove stale C and header filesAndrew Tridgell1-0/+1
this prevents stale .c and .h files in bin/ from causing build problems Thanks to Thomas Nagy for the example implementation! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 07:44:13 UTC 2010 on sn-devel-104
2010-10-13wafsamba: Don't allow circular dependencies involving libraries byJelmer Vernooij1-7/+17
default.
2010-10-12wafsamba: Warn about circular dependencies between libraries.Jelmer Vernooij1-1/+1
2010-06-15wafsamba: Improve assertion error message to include the module.Jelmer Vernooij1-1/+2
2010-05-03build: added a check for group ordering within target dependenciesAndrew Tridgell1-0/+47
If target A depends on target B, then target B must not be in a later build group from target A Pair-Programmed-With: Thomas Nagy
2010-04-26build: normalise paths in unique source checkingAndrew Tridgell1-1/+1
2010-04-21build: recalculate project deps when NONSHARED_BINARIES changesAndrew Tridgell1-0/+10
2010-04-21build: added --nonshared-binary=LIST optionAndrew Tridgell1-0/+13
This allows you to specify some binaries that should be built without shared libs. A non-shared smbtorture will make testing s3 in the build farm easier
2010-04-15build: ensure we don't recreate library loops in expansionsAndrew Tridgell1-1/+26
after removing library loops from the dependeny graph, we re-add parent dependencies. We need to ensure that we don't re-add a dependency which re-creates the loop we so carefully removed. This also adds a final check for library dependency loops, and shows an appropriate error if one is found.
2010-04-13build: check the type of implied dependenciesAndrew Tridgell1-1/+12
an implied dependency needs to be a library or module
2010-04-12wafsamba: don't add global dependencies to hostcc targetsStefan Metzmacher1-1/+2
metze
2010-04-09build: use Logs.error() and Logs.info() instead of print()Andrew Tridgell1-11/+12
this gives appropriate colors on output, and ensures it works with compiler output
2010-04-08build: the exceptions here are not usefulAndrew Tridgell1-3/+3
they just make the failure hard to spot
2010-04-08build: make the handling of relative paths a bit sanerAndrew Tridgell1-1/+1
This should fix a problem that Anatoliy has struck with the PIDL rules. It also brings us much closer to a working build for a true out of tree build (ie. with waf configure -b /tmp/build)
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy1-11/+10
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06build: loop until all object reductions are completeAndrew Tridgell1-2/+14
we will issue a warning if any object duplication remains
2010-04-06build: much simpler and faster rpath install handlerAndrew Tridgell1-48/+2
This avoids creating additional task generators at build time, and instead moves all the rpath logic into samba_install.py where it is triggered by the install_lib and install_bin features
2010-04-06build: only link install targets at install timeAndrew Tridgell1-6/+11
2010-04-06build: fixed the dependencies of the install targetsAndrew Tridgell1-3/+47
we want the install targets to have identical calculated dependencies to the build targets.
2010-04-06build: refactor the object reduction codeAndrew Tridgell1-30/+39
split it out into a separate function, and use the final_* attributes instead of the direct_* and indirect_* attributes
2010-04-06build: finally got LIBRARY<->LIBRARY reductions workingAndrew Tridgell1-2/+12
the install size is now 100M
2010-04-06build: add python library object reductionAndrew Tridgell1-1/+1
This reduces the install size of s4 from 393M down to 132M on my system. We had a lot of duplicate code in our python modules!
2010-04-06build: expand indirect includes to fix disable-shared buildAndrew Tridgell1-3/+32
2010-04-06build: removed debug lineAndrew Tridgell1-1/+0
2010-04-06s4-waf: added implied_deps for system librariesAndrew Tridgell1-1/+13
when we use a system version of a library such as talloc, then we no longer get the automtica dependency propogation of talloc implying libreplace. That means we don't get the includes for libreplace, which means things can fail to build. To fix this this change adds an implied_deps option to CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an implied dependency on the listed targets if the system library is chosen.
2010-04-06build: tidy up the wafsamba rules a bitAndrew Tridgell1-23/+1
use python string conventions for function comments
2010-04-06build: a better way of calculating syslib dependenciesAndrew Tridgell1-33/+15
2010-04-06build: fixed case of system library depsAndrew Tridgell1-1/+5
2010-04-06build: fixed the cflags for pkg_config libsAndrew Tridgell1-10/+21
2010-04-06build: python 2.4 doesn't support multiple union arguments for setsAndrew Tridgell1-2/+4
2010-04-06build: expand indirect syslibs after loop unrollingAndrew Tridgell1-1/+3
otherwide python libs in the disable-shared build don't get all the needed syslibs
2010-04-06build: fixed handling of full dependencies for --disable-sharedAndrew Tridgell1-119/+137
the subsystem dependency loops get quite complex when shared libs are disabled
2010-04-06build: optimise and re-enable check_duplicate_sourcesAndrew Tridgell1-18/+47
2010-04-06build: cope with subsystems with no enabled modulesAndrew Tridgell1-2/+8
This happens for the notify subsystem on non-Linux systems
2010-04-06build: make bin/sambadeps depend on samba_deps.py modtimeAndrew Tridgell1-1/+13
2010-04-06build: python modules need the libs from broken lib loops tooAndrew Tridgell1-1/+1
2010-04-06build: split build and install libraries/binariesAndrew Tridgell1-3/+16
we need to split these to avoid re-compilation on install as install has different rpath settings
2010-04-06build: allow waf to cache include lists more efficientlyAndrew Tridgell1-3/+17
Using include paths all based on the topdir is more efficient
2010-04-06build: try faster includes processingAndrew Tridgell1-4/+20
2010-04-06build: fixed samba_deps.py for python 2.4Andrew Tridgell1-0/+11
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-255/+568
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: separate out dependencies and python rulesAndrew Tridgell1-0/+390