Commit Graph

165 Commits

Author SHA1 Message Date
Andrey Hippo
0abda7e938 bug 567: --enable-static does not work on i686 2009-05-19 15:39:15 +02:00
Gustavo J. A. M. Carneiro
e37a5eed7a Don't event try to enable -Wl,--soname option if we're not on linux. 2009-05-18 14:10:49 +01:00
Gustavo J. A. M. Carneiro
990960bbca Add -Wl,--soname=libns3.so to link flags to allow dlopen hacks
Mathieu's explanation:
"""
In python, I want to load the ns3 python bindings without having to
install libns3.so in /usr and without having to configure
LD_LIBRARY_PATH. So, I need to dlopen (RTLD_GLOBAL) libns3.so before
doing imp.find_module ('ns3') to ensure that python finds the libns3.so
library. To do the dlopen, I need to give a full path to libns3.so but,
if you do this without a soname, the dynamic loader does not know about
libns3.so: it knows only about /foo/bar/libns3.so.
"""
2009-05-18 11:06:26 +01:00
Mathieu Lacage
a41ad5c951 improve wording 2009-05-05 16:08:36 +02:00
Mathieu Lacage
0f13d33e4a enable static builds on cygwin 2009-05-05 14:47:08 +02:00
Mathieu Lacage
87c9c58765 enable darwin static builds 2009-05-05 12:00:29 +02:00
Mathieu Lacage
83eb1a3a33 attempt to detect broken --enable-static invocations. 2009-05-04 20:21:37 +02:00
Mathieu Lacage
5dff0e0ca6 enable static builds, even when python is enabled 2009-04-22 17:22:41 +02:00
Mathieu Lacage
7eda961b1f Backed out changeset 4d9d3ff807a9
Does not work on x86-64.
2009-04-22 13:59:10 +02:00
Mathieu Lacage
b00c5e751e enable static libns3 builds for python module 2009-04-22 13:06:22 +02:00
Mathieu Lacage
8f1bc5d5ad bug 537: no support to build static ns-3 binaries 2009-04-21 14:38:47 +02:00
Gustavo J. A. M. Carneiro
ba5c9355f6 Force valgrind to not be used for Python tests 2009-04-21 11:13:19 +01:00
Gustavo J. A. M. Carneiro
168515d842 Make sure the 'g++ -print-file-name' code does not break if gcc doesn't know anything about the libstdc++.so file. 2009-04-21 10:55:07 +01:00
Gustavo Carneiro
7004b72781 bug 553: Running code built with a special gcc 2009-04-21 09:58:58 +02:00
Gustavo J. A. M. Carneiro
1edb42fee9 Fix a build script bug 2009-04-20 19:08:41 +01:00
Gustavo J. A. M. Carneiro
21914357fb Upgrade to WAF 1.5.5 2009-04-20 17:39:54 +01:00
Gustavo J. A. M. Carneiro
1643605078 Make the --enable-sudo option work correctly again 2009-04-19 14:51:51 +01:00
Gustavo J. A. M. Carneiro
27cafe1db2 Now _really_ fix #551 2009-04-17 15:11:07 +01:00
Gustavo J. A. M. Carneiro
0ffb6a5549 Enable the link option --enable-auto-import on cygwin; closes #525. 2009-04-17 12:44:11 +01:00
Gustavo J. A. M. Carneiro
735164d2cd script typo fix; bug #551. 2009-04-16 22:20:37 +01:00
Gustavo J. A. M. Carneiro
7ddd83ed2c Detect valgrind memory leak reports; based on patch by Mathieu Lacage; closes bug #532 2009-04-16 16:47:02 +01:00
Gustavo J. A. M. Carneiro
fe935b18d2 waf fix 2009-04-16 12:02:11 +01:00
Gustavo J. A. M. Carneiro
62add283d4 Upgrade to WAF 1.5.4 2009-04-13 23:10:37 +01:00
Gustavo J. A. M. Carneiro
a559b31710 For regression testing, use python modules filecmp and difflib instead of an external diff command, to improve portability (e.g. mingw). Closes #330. 2009-02-21 22:50:04 +00:00
Gustavo J. A. M. Carneiro
07146ac480 WAF: fix Task.maxjobs=1 (for sudo); icc flags. 2009-02-14 14:02:40 +00:00
Craig Dowell
ee291dcfbe work around to allow FreeBSD to run tap-bridge 2009-02-11 18:07:52 -08:00
Craig Dowell
c7395b55e0 tweak wifi example, fix waf problems (thanks to Gustavo) 2009-02-03 08:31:48 -08:00
Craig Dowell
bc06ad1027 fixed previous wscript mods not entirely successful 2009-01-31 20:59:13 -08:00
Craig Dowell
c79b8da6e9 teach enable-sudo to be a config time thing 2009-01-31 20:48:05 -08:00
Craig Dowell
738d71e954 checkpoint tap bridge 2009-01-27 20:26:34 -08:00
Gustavo J. A. M. Carneiro
ca8a6c03df Bug #323: waf --valgrind doesn't check for valgrind first 2009-01-24 18:09:29 +00:00
Gustavo J. A. M. Carneiro
3cc5929ab6 (from Tom Henderson) make valgrind return an error exit code when problems are detected. Closes #449. 2009-01-24 15:51:09 +00:00
Gustavo J. A. M. Carneiro
2e2fd95111 Try to guess the location of the reference traces, when --with-regression-traces is not given (#478) 2009-01-24 12:52:58 +00:00
Gustavo J. A. M. Carneiro
b2c212c239 Run regression tests as WAF tasks, plus simplify how unit tests are declared. Closes #480. 2009-01-24 12:25:52 +00:00
Gustavo J. A. M. Carneiro
8e70ea9b96 Don't abuse os.chdir so much (not thread safe) 2009-01-18 22:47:25 +00:00
Gustavo J. A. M. Carneiro
ae5749aea7 Cleanup: remove regression reference traces downloading code (moved to allinone) 2009-01-18 22:18:49 +00:00
Gustavo J. A. M. Carneiro
587ee24f71 waf --run now takes either full path to a program or just the (flat) program name, for all C++ programs 2009-01-18 19:59:46 +00:00
Gustavo J. A. M. Carneiro
8731761fcd Remove no longer needed WAF command execution win32 workaround 2009-01-17 16:57:42 +00:00
Gustavo J. A. M. Carneiro
5ef24fc287 Remove the last remnants of local pybindgen handling (allinone takes care of pybindgen now) 2009-01-16 17:18:49 +00:00
Gustavo J. A. M. Carneiro
dd94e9fa76 Don't set a value for env['INCLUDEDIR']; pointless as it is not used. Should fix bug #466. 2009-01-12 18:46:28 +00:00
Gustavo J. A. M. Carneiro
9ae3c42512 Upgrade WAF; fix Darwin (OSX) build problems. 2009-01-11 17:51:20 +00:00
Gustavo J. A. M. Carneiro
baf080b530 Gracefully ignore missing pkg-config 2009-01-10 19:05:32 +00:00
Gustavo J. A. M. Carneiro
88d40d0dda Correct way to enable WAF autoconfigure 2009-01-03 23:14:32 +00:00
Gustavo J. A. M. Carneiro
4a6cf7bff1 New WAF cflags tool, to add back the compilation flags (debug/optimized) 2008-12-31 11:20:18 +00:00
Gustavo J. A. M. Carneiro
f19d54fddd Upgrade to new WAF, work in progress 2008-12-29 13:28:54 +00:00
Unknown
e79dc16688 gustavo's retcode patch for regression 2008-12-17 12:42:02 -08:00
Gustavo J. A. M. Carneiro
80b1ce258d Fix waf problem running programs with arguments. 2008-11-26 14:55:35 +00:00
Gustavo J. A. M. Carneiro
378f7e02be Make sure obj.name == obj.target for 'scratch' programs; fixes issue reported in ns-3-users with ./waf --run scratch/simple not working. 2008-11-26 11:44:47 +00:00
Gustavo J. A. M. Carneiro
35b28c656c Post-fix the last patch, to make sure invalid program names passed into --run trigger an informative error message as before. 2008-11-24 17:49:33 +00:00
Gustavo J. A. M. Carneiro
ee16e0ad83 When --run'ing a program, tell WAF to only build that program, nothing more.
This greatly speeds up compilation when all you want to do is run a test program, as it skips the time consuming linking to be done for all example programs.
2008-11-24 15:28:42 +00:00