Mathieu Lacage
ff225130aa
remove remaining mentions of RUN_SELF_TESTS
2010-02-19 08:18:12 +01:00
Gustavo J. A. M. Carneiro
277185599e
WAF: allow NS-3 modules to compile pure C code sources mixed with the C++ ones
2010-02-18 15:37:51 +00:00
Craig Dowell
9bdafa8c01
comparing with http://code.nsnam.org/ns-3-dev
...
searching for changes
changeset: 5930:0aaaaf92b988
user: Andrey Mazo <mazo@iitp.ru >
date: Fri Jan 29 21:28:04 2010 +0300
files: wscript wutils.py
description:
Introduce NS3_EXECUTABLE_PATH variable similar to NS3_MODULE_PATH
(e.g. may be used for various sock-creators).
2010-02-05 10:15:18 -08:00
Mathieu Lacage
0bab9a55cd
get rid of examples waf script
2009-12-11 15:53:54 +01:00
Gustavo J. A. M. Carneiro
58bd655612
Bring back the --doxygen-no-build option from the dead.
2009-10-29 11:12:12 +00:00
Andrey Mazo
c8bbfbcdac
omit -march=native for <gcc-4.2;
...
pass -fomit-frame-pointer and -march=native only to gcc and icc.
2009-10-27 13:56:38 +03:00
Andrey Mazo
68a2520733
append {CC,CXX,LINK,LD}FLAGS_EXTRA to corresponding {CC,CXX,LINK}FLAGS.
2009-10-23 17:35:38 +04:00
Andrey Mazo
f127c0da72
append -fomit-frame-pointer and -march=native to CXXFLAGS in release profile.
2009-10-23 17:31:36 +04:00
Andrey Mazo
87af1022ec
introduce new build profile "release": -O3 -g0.
2009-10-23 17:23:45 +04:00
Gustavo J. A. M. Carneiro
b52695e036
Merge in upgrade to WAF 1.5.9
2009-10-23 13:05:56 +01:00
Craig Dowell
94e51cf785
remind waf how to generate introspected doxygen
2009-10-08 17:57:06 -07:00
Craig Dowell
da3c615d6c
convince waf to run test.py on check command
2009-10-06 22:54:24 -07:00
Craig Dowell
69e1aaa1cf
split examples, add examples, tweak test.py to minimize builds
...
--HG--
rename : examples/csma-bridge-one-hop.cc => examples/csma/csma-bridge-one-hop.cc
rename : examples/csma-bridge.cc => examples/csma/csma-bridge.cc
rename : examples/csma-bridge.py => examples/csma/csma-bridge.py
rename : examples/csma-broadcast.cc => examples/csma/csma-broadcast.cc
rename : examples/csma-multicast.cc => examples/csma/csma-multicast.cc
rename : examples/csma-one-subnet.cc => examples/csma/csma-one-subnet.cc
rename : examples/csma-packet-socket.cc => examples/csma/csma-packet-socket.cc
rename : examples/csma-ping.cc => examples/csma/csma-ping.cc
rename : examples/csma-raw-ip-socket.cc => examples/csma/csma-raw-ip-socket.cc
rename : examples/csma-star.cc => examples/csma/csma-star.cc
rename : examples/emu-ping.cc => examples/emulation/emu-ping.cc
rename : examples/emu-udp-echo.cc => examples/emulation/emu-udp-echo.cc
rename : examples/simple-error-model.cc => examples/error-model/simple-error-model.cc
rename : examples/wifi-olsr-flowmon.py => examples/flowmon/wifi-olsr-flowmon.py
rename : examples/icmpv6-redirect.cc => examples/ipv6/icmpv6-redirect.cc
rename : examples/ping6.cc => examples/ipv6/ping6.cc
rename : examples/radvd-two-prefix.cc => examples/ipv6/radvd-two-prefix.cc
rename : examples/radvd.cc => examples/ipv6/radvd.cc
rename : examples/test-ipv6.cc => examples/ipv6/test-ipv6.cc
rename : examples/mesh.cc => examples/mesh/mesh.cc
rename : examples/object-names.cc => examples/naming/object-names.cc
rename : examples/realtime-udp-echo.cc => examples/realtime/realtime-udp-echo.cc
rename : examples/dynamic-global-routing.cc => examples/routing/dynamic-global-routing.cc
rename : examples/global-injection-slash32.cc => examples/routing/global-injection-slash32.cc
rename : examples/global-routing-slash32.cc => examples/routing/global-routing-slash32.cc
rename : examples/mixed-global-routing.cc => examples/routing/mixed-global-routing.cc
rename : examples/nix-simple.cc => examples/routing/nix-simple.cc
rename : examples/nms-p2p-nix.cc => examples/routing/nms-p2p-nix.cc
rename : examples/simple-alternate-routing.cc => examples/routing/simple-alternate-routing.cc
rename : examples/simple-global-routing.cc => examples/routing/simple-global-routing.cc
rename : examples/simple-point-to-point-olsr.cc => examples/routing/simple-point-to-point-olsr.cc
rename : examples/simple-routing-ping6.cc => examples/routing/simple-routing-ping6.cc
rename : examples/simple-routing-ping6.py => examples/routing/simple-routing-ping6.py
rename : examples/static-routing-slash32.cc => examples/routing/static-routing-slash32.cc
rename : examples/tap-wifi-dumbbell.cc => examples/tap/tap-wifi-dumbbell.cc
rename : examples/star.cc => examples/tcp/star.cc
rename : examples/tcp-large-transfer.cc => examples/tcp/tcp-large-transfer.cc
rename : examples/tcp-nsc-lfn.cc => examples/tcp/tcp-nsc-lfn.cc
rename : examples/tcp-nsc-zoo.cc => examples/tcp/tcp-nsc-zoo.cc
rename : examples/tcp-star-server.cc => examples/tcp/tcp-star-server.cc
rename : examples/virtual-net-device.cc => examples/tunneling/virtual-net-device.cc
rename : examples/first.cc => examples/tutorial/first.cc
rename : examples/first.py => examples/tutorial/first.py
rename : examples/hello-simulator.cc => examples/tutorial/hello-simulator.cc
rename : examples/second.cc => examples/tutorial/second.cc
rename : examples/third.cc => examples/tutorial/third.cc
rename : examples/udp-echo.cc => examples/udp/udp-echo.cc
rename : examples/mixed-wireless.cc => examples/wireless/mixed-wireless.cc
rename : examples/mixed-wireless.py => examples/wireless/mixed-wireless.py
rename : examples/multirate.cc => examples/wireless/multirate.cc
rename : examples/simple-wifi-frame-aggregation.cc => examples/wireless/simple-wifi-frame-aggregation.cc
rename : examples/wifi-adhoc.cc => examples/wireless/wifi-adhoc.cc
rename : examples/wifi-ap.cc => examples/wireless/wifi-ap.cc
rename : examples/wifi-ap.py => examples/wireless/wifi-ap.py
rename : examples/wifi-clear-channel-cmu.cc => examples/wireless/wifi-clear-channel-cmu.cc
rename : examples/wifi-wired-bridging.cc => examples/wireless/wifi-wired-bridging.cc
2009-10-06 19:34:29 -07:00
Gustavo J. A. M. Carneiro
17ee12e52d
typo
2009-10-05 15:32:12 +01:00
Craig Dowell
ed292b0d82
Doxygen and wscript messages point to test.py
2009-10-04 20:52:24 -07:00
Andrey Mazo
d67b733282
Bug 681: wrong compilation options for icpc (Intel C/C++ Compiler)
2009-09-25 12:28:32 +01:00
Gustavo J. A. M. Carneiro
1ece283d6e
Upgrade to upstream WAF 1.5.9 plus a bunch of 'waf tools' layered on top.
2009-09-21 10:59:21 +01:00
Gustavo J. A. M. Carneiro
be1af87f32
make sure we run the pybindgen command in --check and --regression
2009-09-16 14:26:46 +01:00
Craig Dowell
3375d82344
test framework should probably work on all supported machines
2009-09-12 20:00:36 -07:00
Gustavo J. A. M. Carneiro
beab916f61
Add a waf --doxygen-no-build option, for a quicker testing loop of doxygen documentation
2009-09-09 11:32:50 +01:00
Gustavo J. A. M. Carneiro
30fbe2a3f3
Fix waf --check error when python bindings are not enabled
2009-09-09 11:31:16 +01:00
Gustavo J. A. M. Carneiro
e34062cc1b
Bug #609 : --check and --regression should build only the required binaries
2009-09-07 11:59:10 +01:00
Gustavo J. A. M. Carneiro
ba4dfa1251
Bug #620 : Build system --run target seems to forget copying updated headers
2009-09-04 12:06:54 +01:00
Gustavo J. A. M. Carneiro
6a80ef786d
Print the names of unit tests that fail in the task collector
2009-06-30 10:46:57 +01:00
Mathieu Lacage
f6af7b5708
make dist generation work again
2009-06-25 14:15:27 +02:00
Mathieu Lacage
6d27614c45
remove dead code
2009-06-17 17:05:51 +02:00
Gustavo J. A. M. Carneiro
89cd710664
Bug #594 : cygwin won't build.
2009-06-17 11:26:36 +01:00
Gustavo J. A. M. Carneiro
35656ecd49
Run unit tests as indenpendent WAF tasks
2009-06-12 12:33:37 +01:00
Andrey Hippo
004b2e0c78
bug 567: --enable-static does not work on i686
2009-05-19 15:39:15 +02:00
Gustavo J. A. M. Carneiro
b70706157b
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
9ceabf66c0
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
b82b73b69d
improve wording
2009-05-05 16:08:36 +02:00
Mathieu Lacage
ee4bb6eaee
enable static builds on cygwin
2009-05-05 14:47:08 +02:00
Mathieu Lacage
3849226d90
enable darwin static builds
2009-05-05 12:00:29 +02:00
Mathieu Lacage
a84d860150
attempt to detect broken --enable-static invocations.
2009-05-04 20:21:37 +02:00
Mathieu Lacage
601ebfbcb9
enable static builds, even when python is enabled
2009-04-22 17:22:41 +02:00
Mathieu Lacage
813c247148
Backed out changeset 4d9d3ff807a9
...
Does not work on x86-64.
2009-04-22 13:59:10 +02:00
Mathieu Lacage
29eee5a487
enable static libns3 builds for python module
2009-04-22 13:06:22 +02:00
Mathieu Lacage
3e71ed9f98
bug 537: no support to build static ns-3 binaries
2009-04-21 14:38:47 +02:00
Gustavo J. A. M. Carneiro
b2ad45b199
Force valgrind to not be used for Python tests
2009-04-21 11:13:19 +01:00
Gustavo J. A. M. Carneiro
e993d90c0a
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
99a22f34e9
bug 553: Running code built with a special gcc
2009-04-21 09:58:58 +02:00
Gustavo J. A. M. Carneiro
e23624bdb4
Fix a build script bug
2009-04-20 19:08:41 +01:00
Gustavo J. A. M. Carneiro
0ae37b092c
Upgrade to WAF 1.5.5
2009-04-20 17:39:54 +01:00
Gustavo J. A. M. Carneiro
699f2bebcb
Make the --enable-sudo option work correctly again
2009-04-19 14:51:51 +01:00
Gustavo J. A. M. Carneiro
01d6fc0643
Now _really_ fix #551
2009-04-17 15:11:07 +01:00
Gustavo J. A. M. Carneiro
8076f28b75
Enable the link option --enable-auto-import on cygwin; closes #525 .
2009-04-17 12:44:11 +01:00
Gustavo J. A. M. Carneiro
bd6983648c
script typo fix; bug #551 .
2009-04-16 22:20:37 +01:00
Gustavo J. A. M. Carneiro
5f617b4a2b
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
0ecd5dcfaf
waf fix
2009-04-16 12:02:11 +01:00