Commit Graph

29 Commits

Author SHA1 Message Date
Tom Henderson
0258405cc6 build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak) 2019-08-12 16:55:34 -07:00
Davide Magrin
b08b3de670 Fix empty compile_commands.json
This commit re-enables the keep_last_cmd member variable in the TaskBase class
(which was disabled by default in Waf 2.0.9) when clang_compilation_database.py
is used. The clang_compilation_database.py file was correctly updated in the
relevant Waf commit introducing the change [1], but is missing in ns-3's bundled
version of Waf.

[1] 7778868718
2018-12-20 15:32:42 +01:00
Steve Smith
12a3af0e02 build: Updating Waf 1.8.19 to 2.0.9
*) Platform was no longer recognized as a attribute of Options.  Used waf
Utils call to obtain unversioned platform name.

*) Task classes renamed from <taskname>_task to <taskname>.

Waf was not finding the classes when named with _task suffix.

*) Waf removed check option for 'type_name' check.

Added explicit embedded code snippet based on previous Waf versions to perform uint128 checks.

*) Waf source attribute is now strings, need to convert to nodes to retrieve parent node.

# Orig 1.8.19 testdir = self.source[-1].parent.path_from(self.bld.srcnode)
testdir = self.to_nodes(self.source[-1])[0].parent.path_from(self.bld.srcnode)
2018-08-24 18:02:14 -07:00
Tom Henderson
ac46c69b92 build: Fix inconsistent indentation 2018-08-09 09:25:50 -07:00
Tom Henderson
b2158512ec build: (partial fix #2938) Add --disable-werror flag to Waf 2018-08-05 14:23:39 -07:00
Alexander Krotov
8d1b7b1391 Spellcheck the rest of ns-3 2018-06-28 12:51:39 +03:00
Alexander Afanasyev
d8066ab152 build: Remove newlines in task description 2018-03-14 22:05:53 -07:00
Tom Henderson
db56faaacd fix tabs/spaces alignment of previous commit 2016-01-07 07:35:44 -08:00
Tom Henderson
610b102fa7 add waf --check-profile option 2016-01-06 09:11:14 -08:00
Siddharth Santurkar
b5fde4107c port wscripts, test.py, and waf-tools to Python3 2015-09-03 21:14:55 -07:00
Tommaso Pecorella
84452d7d9e Waf - setup optimization and debug info for clang 2015-07-08 00:09:46 +02:00
Vedran Miletić
2006e41baa Fix Python bindings wscript and waf-tools for Waf 1.8 2015-06-23 14:34:53 +02:00
Matthieu Coudron
5506d60922 Update Waf to 1.8.11
Changes:
* run_c_code() is replaced by check()
* nice_path() got removed, and is replaced by bldpath()
* check_compilation_flag() is updated to work with 1.8 API
2015-06-23 14:32:41 +02:00
Tom Henderson
4ae98b0b1e Fix use of WafError in exceptions in waf-tools/boost.py 2015-04-05 14:35:43 +02:00
Vedran Miletić
203a80dd73 Handle broken versions of Clang better
Clang packages in Debian are sometimes broken. In that case, compiler fails
with "fatal error: 'bits/c++config.h' file not found". We should detect that
better. This patch updates boost.py to latest waf version which works, and also
handles empty apsican variable.
2015-04-03 22:18:44 +02:00
Alexander Afanasyev
894699eccf bug 1857: detect location of installed boost libraries 2014-05-03 15:56:25 -07:00
Tommaso Pecorella
46415c3ef0 Bug 1682 - ./waf crashes on FC10 2013-07-11 11:56:10 +02:00
Alexander Afanasyev
0e169c157f Fix Python bindings and openflow for waf 1.7.10 upgrade and take care about boost requirements globally 2013-04-01 22:34:50 +02:00
Vedran Miletić
bbdb4231b3 Upgrade waf to 1.7.10 and fix included wscripts
This is a massive upgrade removing almost all pre-waf 1.6 script code. In addition, this does away with custom pkgconfig.py script for making .pc files and replaces it with waf's builtin mechanism.

Massive thanks to Alex Afanasyev for ideas and bugfixing, to Alina Quereilhac for bugfixing and testing, and to Tom Henderson for thorough testing.
2013-04-01 22:33:46 +02:00
Gustavo J. A. M. Carneiro
4e54768c0d Remove the patched python waf tool, it has been fixed upstream. 2012-01-04 18:13:03 +00:00
Gustavo J. A. M. Carneiro
8cf8b0818e Bug 1270 - "Checking boost includes" weirdness 2011-09-28 14:03:25 +01:00
Gustavo J. A. M. Carneiro
c6077da00a Avoid installation of ns3modulegen-modular.py as a python module 2011-09-26 15:31:06 +01:00
Gustavo J. A. M. Carneiro
93e9291a9e Bug 1265 - Make ns-3 directory "movable" 2011-09-26 10:41:55 +01:00
Gustavo J. A. M. Carneiro
fbf0db7647 Correct some configuration Checking for... messages 2011-09-20 14:25:45 +01:00
Gustavo J. A. M. Carneiro
a16ebdd4ba waf 1.6: bring back -Wl,--soname, fix waf warnings 2011-09-12 16:19:24 +01:00
Gustavo J. A. M. Carneiro
0536f2416f More waf 1.6.7 build fixes 2011-09-12 14:54:27 +01:00
Gustavo J. A. M. Carneiro
c3059b6e68 Upgrade to waf-1.6.7, work in progress 2011-09-08 16:13:40 +01:00
Gustavo J. A. M. Carneiro
37be8d39e0 Bug 815 - waf shell file descriptor leak. Patch by Tom Goff, slightly modified. 2010-02-15 14:58:45 +00:00
Gustavo J. A. M. Carneiro
023fa2e874 Upgrade to upstream WAF 1.5.9 plus a bunch of 'waf tools' layered on top. 2009-09-21 10:59:21 +01:00