Thomas Nagy
2b09852d9e
Cleanup #1943
2017-04-15 13:50:50 +02:00
Thomas Nagy
f060b33e59
Obtain NO_LOCK_IN_TOP/RUN/OUT from os.environ too
2017-04-14 22:04:57 +02:00
Thomas Nagy
9e9f41c613
Do not cast test outputs to integers with add_to_env
2017-04-14 02:47:44 +02:00
Thomas Nagy
98f051dfa4
Detect Python from conf.env.PYTHON
2017-04-14 02:47:30 +02:00
Thomas Nagy
a31b08615c
Ensure env.PYTHON is set (regression)
2017-04-13 21:10:47 +02:00
Thomas Nagy
25924554f2
Extract the distcheck command argument
2017-04-13 19:03:13 +02:00
Thomas Nagy
eda87cd5b5
Ignore empty lock files
2017-04-13 12:13:34 +02:00
Thomas Nagy
17015626e2
Keep opt.load('python') optional
2017-04-13 12:13:16 +02:00
Thomas Nagy
4c9ee84194
Ignore empty environment variables in find_program
2017-04-10 20:40:07 +02:00
Thomas Nagy
30de08ca8a
Make target declaration unnecessary #1943
2017-04-09 11:28:25 +02:00
Thomas Nagy
c106c929af
Detect the most recent msvc version first
2017-04-08 21:35:37 +02:00
Thomas Nagy
566b3fa644
Xcode 6 generator fixes #1939
2017-04-08 02:27:43 +02:00
Thomas Nagy
172cafa629
Docs for #1937
2017-04-02 09:57:18 +02:00
Thomas Nagy
a61bae1fca
Add -pie for parse_flags #1936
2017-04-02 09:57:02 +02:00
Thomas Nagy
058807ed9a
Add new entries for parse_flags #1936
2017-03-31 18:16:32 +02:00
Matt Selsky
b247ab1c83
Typos
2017-03-27 19:33:16 +02:00
Harald Klimach
648b10a749
Fixed Fortran module naming scheme (unexpected upper instead of lower).
2017-03-27 19:31:52 +02:00
yngwe@FRY
0233ec9c89
#1925 : improve support for Visual Studio 2017, added support for all cross compiler & added ARM64 target support
2017-03-25 23:23:06 +01:00
Thomas Nagy
33918da4f4
Order msvc compiler detection #1907
2017-03-25 13:33:54 +01:00
Thomas Nagy
a26236da2a
Improve Qt detection with frameworks
2017-03-25 12:51:53 +01:00
Jan Niklas Hasse
6ce33c7e53
Support CLICOLOR(_FORCE) to control colored output
2017-03-25 10:44:57 +01:00
Gordon Tisher
dfba301324
Update vs2017 support to correctly configure x64
2017-03-15 18:19:13 +01:00
Gordon Tisher
7c44ac1b3b
Add the ability to detect Visual Studio 2017 to msvc
2017-03-14 22:32:36 +01:00
Simon Guillot
069d5dca2e
Fix bug in the clang_compilation_database tool when no C compiler is loaded
2017-03-14 22:21:10 +01:00
Thomas Nagy
90ab7a2ae9
Cleanup
2017-03-08 18:27:29 +01:00
Justin Israel
6a4091718e
Extend ListContext to print TaskGen descriptions
...
Signed-off-by: Justin Israel <justinisrael@gmail.com>
2017-03-08 18:22:29 +01:00
fedepell
185530e170
cppcheck: fix Python3 incompatibilities (see #1921 )
2017-03-08 18:22:22 +01:00
Thomas Nagy
d625e2ac2a
Additional fortran extensions #1916
2017-03-04 12:08:22 +01:00
Thomas Nagy
c8d83954b7
Provide unity builds per task generator
2017-03-04 10:29:04 +01:00
Thomas Nagy
37af78a02b
Obtain run_build_cls from run_build/check parameters
2017-03-04 08:22:18 +01:00
Thomas Nagy
5d4074eb7f
Display commands as string with "WAF_CMD_FORMAT=string waf build -v"
2017-03-04 08:20:27 +01:00
Thomas Nagy
5fb2e21ccf
Remove smart_continue because it is the default behaviour
2017-03-02 20:47:45 +01:00
Thomas Nagy
65dc0c7a6f
Remove force_build_directory as it is the default behaviour
2017-03-02 20:47:22 +01:00
Thomas Nagy
e352fb05c0
UNC path fixes
2017-03-02 20:45:45 +01:00
Thomas Nagy
14197b713f
Cleanup
2017-03-02 20:43:44 +01:00
Thomas Nagy
121e2c29d1
Work around an annoying Python 3.6 regression #1889
2017-03-02 20:10:43 +01:00
Thomas Nagy
8560c18ccb
Process a given task group exactly one
2017-02-20 19:01:33 +01:00
Thomas Nagy
63a53064a3
Provide TaskGroups to replace mem_reducer
2017-02-19 19:58:19 +01:00
Thomas Nagy
1c3c49d0fb
Simplify task.inputs/task.outputs usage
2017-02-19 11:05:44 +01:00
DragoonX6
0c541f606a
Make clang_compilation_database add-on always output complete listings.
2017-02-18 13:04:59 +01:00
Alexander Afanasyev
acd41beef1
qt5: Workaround for QT5 detection on macOS (Bug #1910 )
2017-02-15 18:36:20 +01:00
Matt Selsky
c46ee9bfe3
Typo
2017-02-15 18:36:13 +01:00
Alexander Afanasyev
4e9c5cfa37
c_osx: Fix install task for mac_files
2017-02-15 18:36:05 +01:00
Thomas Nagy
30d5733c22
Better error message on missing macros
2017-02-14 22:44:09 +01:00
Thomas Nagy
2f64e0a273
Warn for missing cflags/cxxflags in gccdeps
2017-02-14 22:36:35 +01:00
Thomas Nagy
620f255b13
Fix the thread index in parallel_debug
2017-02-14 19:42:07 +01:00
Thomas Nagy
d7822a04de
Make Task.Task.hcode a hashable value
2017-02-12 15:42:40 +01:00
Thomas Nagy
497f028a95
Implement a new priority system
2017-02-12 15:29:16 +01:00
Thomas Nagy
ee98328c2f
Keep winres flags in subsequent detections #1908
2017-02-11 23:33:57 +01:00
Thomas Nagy
b7d93c3c4d
Update the year in headers to 2017
2017-02-11 16:13:37 +01:00
Thomas Nagy
5ac8e882e0
Remove the TaskBase class hierarchy level
2017-02-11 15:04:25 +01:00
Thomas Nagy
62fe305d04
Remove field_name, type_name, function_name from conf.check() tests #1906
2017-02-11 10:41:05 +01:00
Thomas Nagy
1ea2039c3a
cleanup
2017-02-05 13:00:36 +01:00
Yinon Ehrlich
cd20e6f0c2
Retain original trace-back ( #1903 )
2017-02-05 12:59:36 +01:00
Thomas Nagy
2d59e84687
Cleanup
2017-01-30 23:25:30 +01:00
Jan Niklas Hasse
3a7903cebd
Improve error message about version mismatch ( #1902 )
2017-01-30 23:25:18 +01:00
Thomas Nagy
f2eaf17089
Disable the detection of Qt debug libraries
2017-01-28 11:50:41 +01:00
Thomas Nagy
ee2c5865f9
Simplify the Qt5 library detection
2017-01-28 11:41:07 +01:00
Thomas Nagy
107b82a242
Remove the lib- prefix from created import libraries
2017-01-28 11:14:03 +01:00
DigitalDan05
90719cf63a
Allow numbers for Java compat attribute ( #1899 )
...
Force the java "compat" parameter as a string.
2017-01-24 20:51:56 +01:00
fedepell
ed3b943803
qt5: generate the list of Qt5 libraries by searching on the system, instead of hardcoded list in tool
...
This gives the possibility to search on the system (QT5_LIBDIR or library automatically
found) for libraries available instead of using the list hardcoded in the tool. The search is
done using a regexp that matches the same files as the ones used for library search with support
for dynamic/static and win32/unix.
This change makes the tool more versatile to new versions of Qt5 as we don't have to maintain the
library list anymore. It should also make configure faster as just the libraries phisically present
will be tested upon. Custom libraries installed on top of base Qt5 will be also recognized with this
method.
2017-01-24 18:26:45 +01:00
Thomas Nagy
1a8e5c881d
Simplify task un-installation
2017-01-22 14:40:36 +01:00
Thomas Nagy
57b406aaff
Add a task status 'canceled'
...
The purpose is to skip safely the tasks that have
missing dependencies due to build errors.
2017-01-21 23:47:44 +01:00
Thomas Nagy
f1487eab44
iso8859-1 -> latin-1
2017-01-21 13:28:06 +01:00
Thomas Nagy
1a0396ea88
Accept nested lists as bld(source=...)
2017-01-21 12:50:52 +01:00
Matt Selsky
0d63f15cde
Typo in docstring ( #1895 )
2017-01-16 18:42:09 +01:00
Thomas Nagy
cfbf539166
Let ant_glob(generator=True) return a generator object
2017-01-15 01:33:44 +01:00
Thomas Nagy
4226d0cf7b
Code cleanup
2017-01-15 01:16:44 +01:00
Federico Pellegrin
ed55a0c9ea
Remove .so extension from detected qt5 library ( #1892 )
2017-01-11 21:30:41 +01:00
fedepell
2128ce1bc1
qt5: add --qtextralibs option to add qt5 custom libraries on the system to the default libraries list present in the qt5 tool
...
example usages:
waf configure --qtextralibs Qt5OpcUA
waf configure --qtextralibs Qt5OpcUA,Qt5Dummy
2017-01-11 08:07:49 +01:00
Thomas Nagy
12b038833e
docs
2017-01-06 23:15:53 +01:00
Thomas Nagy
a3c44f5d9b
Fix the method specification in syms.py
2017-01-06 23:08:05 +01:00
Thomas Nagy
c2baf7f9bf
Missing parentheses in syms.py
2017-01-06 23:02:56 +01:00
Thomas Nagy
0d47689d97
Conceal Python 2.6 subprocess errors
2017-01-06 04:30:02 +01:00
Federico Pellegrin
627cdb705d
Add qt5 5.8.x new libraries to qt5 tool ( #1888 )
2017-01-05 19:33:02 +01:00
Thomas Nagy
fa145ed653
Find the order that follows the alphabet
2017-01-05 03:44:36 +01:00
Thomas Nagy
e5cafe6c7a
Change TaskGen.prec into a map of sets
2017-01-05 01:59:51 +01:00
Thomas Nagy
f322cfe569
Improve Utils.Timer on python >= 3.3
2017-01-03 15:48:35 +01:00
Thomas Nagy
3a68ccccff
Do not add -W warnings to cflags from check_cfg
2016-12-31 17:22:41 +01:00
Thomas Nagy
b6be90f555
Add -g and -W flags for #1887
2016-12-28 11:30:32 +01:00
Thomas Nagy
3180d81e86
simplification
2016-12-28 11:26:55 +01:00
Matt Selsky
0b971bdae5
Make sure to save compiler optimization flags from foo-config scripts ( #1887 )
...
python-config on openSUSE needs -O2 to match -D_FORTIFY_SOURCE
Fixes #1886
2016-12-28 11:23:08 +01:00
montonero
94a5f51e98
Added '-o' flag for emscripten linker ( #1885 )
...
* correct static lib extension for emscripten
* added space after '-o' flag for emscripten/clang
* removed empty line
* -o flag for linker
2016-12-27 20:19:06 +01:00
montonero
86dcfb3ee2
Fixed '-o' flag for emscripten/clang ( #1882 )
...
* correct static lib extension for emscripten
* added space after '-o' flag for emscripten/clang
* removed empty line
2016-12-27 20:18:24 +01:00
Thomas Nagy
c12947571d
Display sha256 instead of sha1 on 'waf dist'
2016-12-27 14:42:15 +01:00
Thomas Nagy
5c2db88730
Prevent accidental data sharing on ext_in/ext_out/before/after
2016-12-26 15:54:03 +01:00
dffischer
b521041eb4
glib2: Compile schemas per directory ( #1881 )
...
* glib2: Compile schemas per directory
By changing GSETTINGSSCHEMADIR during the build setup or on single tasks
or generators, the user may place schemas in various locations. Adding a
post build function for each of this location compiles all of them
instead of only one global directory.
* glib2: Notify user about failed schema compilation
* glib2: Demo schemas installed to multiple places
A new schema lacking lacking any enumerations was introduced. Installing
it isolated simplifies the generator creation to the essential
components demonstrated.
2016-12-23 17:45:12 +01:00
Thomas Nagy
2468850953
Improve process_rule cache accuracy
2016-12-22 18:14:36 +01:00
Thomas Nagy
2d6487883c
Fix chmod with tuple rules #1884
2016-12-22 15:21:26 +01:00
Thomas Nagy
dbe1a4ad78
Include all vars in tuple rules #1883
2016-12-22 15:21:16 +01:00
Thomas Nagy
900d6b891c
Optimize Node.path_from
2016-12-21 22:28:42 +01:00
Thomas Nagy
09713f49e4
Update the gsettings schema cache without a shell
2016-12-21 22:28:30 +01:00
XZS
af7f6c68d6
glib2: consider destdir when compiling schemas
...
When a destdir is set, the schemas are now not only installed below it,
but also compiled there.
2016-12-21 22:28:18 +01:00
montonero
29cc88faf1
correct static lib extension for emscripten ( #1876 )
2016-12-21 22:27:52 +01:00
Ricardo Crudo
2ea34191fb
Tools/python: add option --nopycache ( #1878 )
...
Add option to not use __pycache__ dir when installing python objects.
2016-12-21 22:27:29 +01:00
Thomas Nagy
9be4fa2c0c
Avoid hash() and __class__ usage in Task.hash_constraints
2016-12-07 23:18:53 +01:00
Thomas Nagy
ce78d67f9d
Simplification __class__.inst_to -> inst_to
2016-12-07 22:01:24 +01:00
Thomas Nagy
468f205bcd
Read variables from self.vars #1873
2016-12-07 19:09:30 +01:00
Thomas Nagy
d0c475462b
docs
2016-12-04 01:36:00 +01:00
Thomas Nagy
90993f1153
Remove c_preproc.trimquotes
2016-12-03 06:47:37 +01:00