2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 18:07:12 +01:00
Commit Graph

2183 Commits

Author SHA1 Message Date
Thomas Nagy
3938bb89aa
Missing parentheses in syms.py 2017-01-06 23:00:45 +01:00
Thomas Nagy
113fc8192e
Update the python version detection in waf.bat 2017-01-06 04:27:08 +01:00
Federico Pellegrin
17e1ef04ad Add qt5 5.8.x new libraries to qt5 tool (#1888) 2017-01-05 19:32:17 +01:00
Thomas Nagy
8fbb14356b simplification 2016-12-28 11:27:30 +01:00
Matt Selsky
dcc0a6a917 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:21:09 +01:00
montonero
b97681c110 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:15:53 +01:00
Thomas Nagy
974f59780d Prevent accidental data sharing on ext_in/ext_out/before/after 2016-12-27 14:42:54 +01:00
Thomas Nagy
b95cd931fd Improve process_rule cache accuracy 2016-12-23 18:06:57 +01:00
dffischer
15c45b365d 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-22 18:31:07 +01:00
Thomas Nagy
1c63e4d7ee Simplify TaskGen.process_rule 2016-12-22 18:28:03 +01:00
Thomas Nagy
3c22fd412e Fix chmod with tuple rules #1884 2016-12-22 12:07:08 +01:00
Thomas Nagy
c78d53a7a2 Include all vars in tuple rules #1883 2016-12-22 12:02:25 +01:00
montonero
e3e8e6b711 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-22 11:16:34 +01:00
Thomas Nagy
0dd0e17ecc Optimize Node.path_from 2016-12-21 19:50:29 +01:00
Thomas Nagy
ea032a73ae Update the gsettings schema cache without a shell 2016-12-20 14:01:17 +01:00
XZS
f0c5c732a7 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-20 13:54:54 +01:00
cconverse711
ec3bf9d046 Fix boost library naming conventions 2016-12-17 14:29:07 +01:00
Ricardo Crudo
b9dfbf3caf Tools/python: add option --nopycache (#1878)
Add option to not use __pycache__ dir when installing python objects.
2016-12-15 19:03:29 +01:00
montonero
0143b86505 correct static lib extension for emscripten (#1876) 2016-12-13 16:23:10 +01:00
Thomas Nagy
4095f1403a
waf-1.9.7 2016-12-13 10:26:11 +01:00
Thomas Nagy
ade48ed52e
Conceal Python 2.6 subprocess errors 2016-12-08 22:43:58 +01:00
Thomas Nagy
de7e8b758e
Read variables from self.vars #1873 2016-12-07 19:04:46 +01:00
Thomas Nagy
ad8f681072
docs 2016-12-04 01:37:18 +01:00
Matt Selsky
70899622e2 Fix grammar in ConfigSet pydoc (#1872) 2016-12-02 18:23:37 +01:00
Thomas Nagy
0bca3987ad
docs - waf 1.9.6 2016-11-27 14:23:37 +01:00
Thomas Nagy
dbcda7ec6a
Fix the inconsistent partial detection for #1865 2016-11-26 19:30:53 +01:00
Thomas Nagy
8dae660ec7
Allocate Utils.lru_cache lazily 2016-11-26 18:14:28 +01:00
Thomas Nagy
f0ef5624cc
waf 1.9.6 2016-11-26 15:27:18 +01:00
Thomas Nagy
283e7953cb
More cleanup for #1865 2016-11-26 14:23:04 +01:00
Thomas Nagy
aa88cd86a5
Update the -source version in java examples 2016-11-26 12:02:41 +01:00
Thomas Nagy
906bf781ac
Cleanup for #1865 2016-11-26 11:51:20 +01:00
Gustavo J. A. M. Carneiro
421e0e3ab9 Accept functools.partial() as a task rule #1862 (#1865)
Accept functools.partial() as task generator rules #1862
2016-11-26 11:00:01 +01:00
Thomas Nagy
57ee30760a
Increase the cache size for #1833 and #1859 2016-11-22 20:34:58 +01:00
Thomas Nagy
15c6d75393
./waf-light --interpreter "#! /usr/bin/env python3" - for #1856 2016-11-20 21:25:22 +01:00
Thomas Nagy
6c48f08e97
Simplify waflib/extras/force_build_directory.py 2016-11-20 13:47:31 +01:00
Thomas Nagy
c142062d69
docs 2016-11-20 10:11:09 +01:00
Thomas Nagy
c9b1329675
docs 2016-11-19 10:11:11 +01:00
Thomas Nagy
e1f700aee8
Missing ut_cwd value in example 2016-11-19 10:02:59 +01:00
Thomas Nagy
4699a7871d
Warn of single dots in ant_glob #1853 2016-11-19 09:12:33 +01:00
Thomas Nagy
af66a27da3
Specify shell usage in test script execution 2016-11-19 00:11:46 +01:00
Thomas Nagy
bdb18e8394
Changed --dump-test-runner to --dump-test-scripts 2016-11-19 00:03:55 +01:00
fedepell
e8942d7f22 waf_unit_test: add new option --dump-test-runner that creates python scripts to manually run or debug test executions
this can be very useful when debugging unit test problems as when run outside waf then the LD_LIBRARY_PATH (or PYTHONPATH if used with pytest extra) is set dynamically by waf and therefore running the executable manually or via gdb is not immediate
all the environment will be dumped in python script that can then be executed to run manually tests.
2016-11-18 23:40:59 +01:00
Thomas Nagy
24cc1dc057
missing import 2016-11-14 22:20:57 +01:00
Thomas Nagy
af7716f014
docstring for #1851 2016-11-14 22:13:26 +01:00
Thomas Nagy
0454ee677e
docs 2016-11-08 21:31:11 +01:00
Thomas Nagy
8bea637dc7
docs 2016-11-06 18:29:16 +01:00
Thomas Nagy
9ddb8c27ef
docs 2016-11-06 12:10:39 +01:00
Thomas Nagy
058b8f7f39
simplifications 2016-11-06 12:00:35 +01:00
Federico Pellegrin
90b66a4f04 cppcheck: fix extra forn multiple build rules are in a single wscript (#1844)
* cppcheck: fix extra forn multiple build rules are in a single wscript

When executed the output from cppcheck will be put inside cppcheck.xml and
then the generated error output inside cppcheck/index.html (and related
subfiles). Of course if two separate build rules are present the files
will clash with each other and data will be lost.

So this will not work in previous version:

bld.program(source=bld.path.ant_glob('src/ex-prog-*.cpp'), includes='src/', target='ex-prog-c')
bld.program(source=bld.path.ant_glob('src/ex-prog2-*.cpp'), includes='src/', target='ex-prog2-c')

In the output just one of the two results will be there (or in worst case
we will have files being deleted/garbled) as they both try to work on
cppcheck.xml and index.html (in build and build/cppcheck respectively)

With this commit the xml/html files have a reference to the task name (so
appended with a dash) so they are unique and don't clash. Also all the
messages to the user are corrected accordingly so the user is pointed to
the correct name of the file (and so are the internal links generated in
the html file).

In the previous case we will have:

ccpcheck detected (possible) problem(s) in task 'ex-prog2-c', see report for details:
    file:///home/fede/waf/cppc/build/cppcheck/index-ex-prog2-c.html

ccpcheck detected (possible) problem(s) in task 'ex-prog-c', see report for details:
    file:///home/fede/waf/cppc/build/cppcheck/index-ex-prog-c.html

* cppcheck: Provide as an option also old way of single index.html file for compatibility
2016-11-06 11:33:25 +01:00
Thomas Nagy
6ecf6390a8
Better error message on method cycle detection 2016-11-05 11:56:08 +01:00