Commit Graph

507 Commits

Author SHA1 Message Date
Bálint Aradi d1ebc6f308 Fixing version flag for NAG compiler. 2016-01-15 00:14:37 +01:00
Thomas Nagy adc1ce1375
Simplification: added Task.get_cwd() 2016-01-11 05:25:46 +01:00
Thomas Nagy 69e51290fd Made this project build on Linux 2016-01-03 06:54:21 +01:00
Thomas Nagy 8083205b81 Additional merges from #1666 2016-01-03 05:08:10 +01:00
Thomas Nagy 43e26b5bef
cwd must be a Node object 2016-01-02 01:54:52 +01:00
Thomas Nagy 5a3a89b4de Stop adding incompatible task data into the same dict objects 2015-12-24 18:36:48 +01:00
Thomas Nagy 06c7c09681 Provide node.exists() to increase filesystem abstraction 2015-12-24 18:36:42 +01:00
Thomas Nagy ddaf29b78d Process CPPFLAGS at the end of commands 2015-12-23 19:26:34 +01:00
Thomas Nagy 7681bddfb7 Remove Node.sig and Node.cache_sig 2015-12-23 17:55:44 +01:00
Thomas Nagy 2ab00f7f49 Removed Node.cache_sig 2015-12-23 17:55:44 +01:00
Thomas Nagy e1d82be8a5 The tool kde4 is not included by default in waf 1.9 2015-12-23 17:55:44 +01:00
Thomas Nagy 972d8e4904 The tool qt4 is not included by default in waf 1.9 2015-12-23 17:55:44 +01:00
Thomas Nagy d3f788da4c Added the tool called 'nobuild' to help troubleshoot build scripts 2015-12-23 17:55:44 +01:00
Thomas Nagy 8b74beb233 Removed the split functions from Node.py 2015-12-23 17:54:41 +01:00
Thomas Nagy a184a9e245 Experimental conf.define(key, val, comment='msg in config.h') 2015-12-20 14:26:14 +01:00
Thomas Nagy 95114ff205 wix.py - Issue 1666 2015-12-18 00:35:27 +01:00
Thomas Nagy bdca245588 Replace backslashes in resx.py - Issue 1666 2015-12-17 23:53:41 +01:00
Thomas Nagy 4293b8e19a
Compat - shorter version 2015-12-07 23:36:07 +01:00
Thomas Nagy d109ed4fc7
Additional fixes in extras/compat15.py 2015-12-05 14:00:56 +01:00
Thomas Nagy 2fb1e0cfb2
Let gccdeps work when a custom cwd is provided through bld.cwdx 2015-11-08 11:48:53 +01:00
Simon f3a20e293c Replaced 'source' arg to 'source_files'. Updated Docs and demo. Fixed bugs. 2015-11-08 10:06:03 +01:00
Thomas Nagy 8a3ff0e113
Missing Errors import in print_commands.py 2015-11-06 23:11:49 +01:00
Thomas Nagy ac226635d0
Quote arguments that contain spaces in print_commands.py, and use the latest version of exec_command 2015-11-06 23:07:23 +01:00
Thomas Nagy 7d25369e6c
Removed a leftover print statement 2015-11-06 22:55:45 +01:00
Thomas Nagy 18204eb963
Additional compatibility helpers in compat15.py 2015-11-05 00:57:37 +01:00
Thomas Nagy efbc47b434
Added a fake Constants module in compat15.py 2015-11-04 23:16:48 +01:00
Thomas Nagy cf334db465
Use options.enable_gccdeps if provided by user scripts 2015-10-31 11:24:53 +01:00
ita1024 975fdde91b Merge pull request #1648 from mimon/xcode6-gen
Xcode6 generator
2015-10-29 18:59:16 +01:00
Simon f1da3b34ef Updated useage and docs in xcode6 2015-10-29 11:53:19 +01:00
Simon 53cb70ec44 Renamed stuff in demos to xcode6 2015-10-29 11:52:58 +01:00
Simon 5fcda128b5 Updated documentation 2015-10-29 11:16:25 +01:00
Simon 24dbd3c43c Changed name for the new Xcode tool to xcode6 and kept the original xcode tool 2015-10-29 11:16:05 +01:00
Thomas Nagy 963c3b62c9
docs: apply_incpaths_emscripten will be removed in waf 1.9 2015-10-25 09:00:51 +01:00
Thomas Nagy 02423e440a
Make the emscripten option behave 2015-10-25 01:50:37 +02:00
Jérôme Carretero a0de0eacd5 extras: file_to_object: clean-up and fix issues (reported by Philippe Brais)
Changes:

- Use Node.read('rb') to get bytes (!)

- Remove use of binascii and generate better-looking C.
Binascii returns bytes if input is bytes, requiring a decode()...
There's not benefit in using it, especially if we want to make
better-looking code.

- Remove dead code
2015-10-20 08:19:41 -04:00
Thomas Nagy 26348711f0
Eliminated the last unused variables from the code 2015-10-13 22:57:45 +02:00
Jérôme Carretero bd0008f252 extras: file_to_object: default to safer C code generation
Using asm links makes sense with big files, and if that's the case,
the user can specify it.
The C method also works on all compilers.
2015-10-13 11:46:28 -04:00
Thomas Nagy f28426594e
Cleanup: removed most unused variables and imports 2015-10-11 11:32:27 +02:00
Jérôme Carretero 0f0da92a59 extras: cfg_cross_gnu: fix a typo... again 2015-10-08 16:18:15 -04:00
Thomas Nagy 807a193db6
build_logs disable colors - Issue 1631 2015-10-08 21:57:46 +02:00
Jérôme Carretero 996aca8b8f extras: cfg_cross_gnu: now use conf.env.env, and also clarify the way envars are gotten 2015-10-06 21:21:14 -04:00
Jérôme Carretero 5e7a7794c3 extras: cfg_cross_gnu: fixup typsdqdo 2015-10-06 10:27:19 -04:00
Jérôme Carretero 8da42b9365 extras: cfg_cross_gnu: improve environment variable passing
Changes:

- Can pass environment variables in the form `i686_pc_linux_gnu_AR`...
Dash didn't work...

- Use PKG_CONFIG_LIBDIR only if available
2015-10-05 15:34:30 -04:00
Thomas Nagy 7cba550826
Fixed a few Python3 compatibility issues in extras modules 2015-09-27 16:09:21 +02:00
ita1024 b6af6c5919 Merge pull request #1619 from srouquette/boost
boost: check Boost.Log in check_boost if the user uses it.
2015-09-02 02:30:29 +02:00
Syl 973863e418 boost: check Boost.Log in check_boost if the user uses it. 2015-09-01 20:52:03 +02:00
Thomas Nagy 143ccb7a74
Pull request 1618 - cpplint 2015-09-01 19:40:26 +02:00
Thomas Nagy 61f09a3f7c
Enable 'waf update' when use_config is provided - Issue 1541 2015-08-29 13:05:00 +02:00
Thomas Nagy 41bd22ebfa
Update use_config - Issue 1608 2015-08-29 10:31:02 +02:00
Thomas Nagy e9e8df28a4
iteritems does not work in python3 2015-08-12 18:31:14 +02:00
Thomas Nagy ccdbd79ffa
Python3 fix 2015-08-09 23:50:49 +02:00
Jérôme Carretero c913b779f5 extras: c_emscripten: use emar as AR 2015-08-07 08:50:15 -04:00
Jérôme Carretero ae07720a6d extras: add c_emscripten tool 2015-08-06 23:28:19 -04:00
Jérôme Carretero 699b836728 extras: cfg_cross_gnu: make pkg-config also use PKG_CONFIG_LIBDIR...
... to avoid having the default stuff prepended, and system libs found
when you want to do x-compilation.
2015-08-02 19:14:17 -04:00
Matt Fischer 2424393afd Handle .. within paths in gccdeps
The current code handles .. at the beginning of a path, but not within the path
2015-07-27 17:26:53 -05:00
Simon 70b294f2e1 Added unique_fileref() method to get reference of already existing file references 2015-07-17 00:23:27 +02:00
Simon 70fa79b181 Clean-up 2015-07-15 12:53:30 +02:00
Simon 64405a8c1a Reduced the ConfigureContext to a configure() func. Also replaced dependencies cxx/cxxprogram with ccroot 2015-07-13 13:43:15 +02:00
Simon 3924f60974 Added more target types. Added bld wrappers 2015-07-13 12:47:01 +02:00
Simon 7d50934a8e Removed unused method 2015-07-13 02:25:13 +02:00
Simon 47b5783be5 Docs 2015-07-13 02:24:49 +02:00
Simon a3a74e59c1 Added default values for required build settings 2015-07-13 02:16:52 +02:00
Simon dd19e4b1ee Fixes 2015-07-13 00:51:55 +02:00
Simon da9a86d2a6 Clean up 2015-07-12 22:31:10 +02:00
Simon a59e38835d Clean up 2015-07-12 22:17:26 +02:00
Simon e44ab6e6ec Support for framework,lib,stlib, etc. 2015-07-12 22:06:51 +02:00
Simon 6891ebb7c9 Switched over to use tmp_use_seen istead of link_framework 2015-07-11 16:04:10 +02:00
Thomas Nagy 4949c0d894
Ensure Doxygen outputs are installed even when the task is not run 2015-07-07 21:00:18 +02:00
Simon b8330b29cb Improved Project -> Configuration API 2015-07-07 18:21:35 +02:00
Simon 5f9a900dc1 Made better integrations with the standard INCPATHS variable 2015-07-07 18:07:21 +02:00
Simon ae4f1f5e27 Fixed some issues 2015-07-07 17:54:08 +02:00
Simon 9563da7875 Streamlined API more 2015-07-07 12:17:43 +02:00
Simon 79c91daffc Improved include paths. Added support for c_config files 2015-07-06 13:38:27 +02:00
Simon 1f918ce546 Added documentation 2015-07-05 16:57:27 +02:00
Simon 4167c43c2a Getting Custom file grouping reworked 2015-07-05 15:53:59 +02:00
Simon db2587ea61 Getting Custom source/include heirarchy to work - fixes 2015-07-05 12:37:25 +02:00
Simon d0279469df Getting Custom source/include heirarchy to work 2015-07-05 00:06:56 +02:00
Simon 922be2ff58 Custom source/include heirarchy 2015-07-04 22:56:54 +02:00
Simon d5c5db686a Custom project build configurations fix 2015-07-04 22:23:16 +02:00
Simon 0c864ecaac Custom project build configurations fix 2015-07-04 22:22:19 +02:00
Simon b7e4aed28b Custom project build configurations 2015-07-04 19:13:11 +02:00
Simon a62bef1323 Target dependecies now works 2015-07-04 12:11:10 +02:00
Simon 2424b81f30 Clean-up 2015-07-03 23:41:05 +02:00
Simon 7992473f7d Found out and made some fixes to parent build configurations 2015-07-03 21:16:27 +02:00
Simon ce6a58cd5f Removed recusive writing 2015-06-29 18:31:37 +02:00
Thomas Nagy 705404211a
Removed the unnecessary executable bit on files 2015-06-27 14:04:36 +02:00
Simon 616dd559ec Added ID print wrapper 2015-06-26 23:16:37 +02:00
Simon 11d85e44ee Removed duplicate elements being written 2015-06-26 21:42:02 +02:00
Simon b5b1d520ad Added headers search paths and support for other build settings 2015-06-25 00:44:28 +02:00
Simon c34269bb8c Initial impl. for Xcode 6 - basic tests 2015-06-24 19:32:46 +02:00
Thomas Nagy 65150769cd
Cleanup 2015-06-14 11:48:05 +02:00
Thomas Nagy f6b6191480
Additional crutches for protoc 2015-05-28 23:08:07 +02:00
Thomas Nagy 04556a4d28
Use adequate variable for include paths in protoc.py 2015-05-27 18:45:20 +02:00
Syl 8ef1fa7733 cpplint: keep the old import 2015-05-06 22:33:31 +02:00
Syl 085b80fdb3 cpplint: fixed import. The version on pypi is now up to date and works with Python3. 2015-05-06 19:19:05 +02:00
christophe.duvernois 533599b7ba swig tool can handle -outdir parameter 2015-05-03 16:58:50 +02:00
Thomas Nagy de6b9bde38
Replace cygwin paths in solution files - https://github.com/waf-project/waf/issues/1562 2015-05-01 13:00:45 +02:00
Thomas Nagy 3e3c84abfb
hcode in why.py - https://github.com/waf-project/waf/issues/1561 2015-04-30 20:58:44 +02:00
Jérôme Carretero 01f0ee1005 extras: file_to_object: allow source=[...] 2015-03-18 22:27:53 -04:00
Thomas Nagy fb1d5440ea
cleanup 2015-03-12 19:24:02 +01:00
Daniel Vollmer b1a606c8e6
Generate doxygen into a sub-folder of build
When no OUTPUT_DIRECTORY was set for doxygen, then the parent
directory of the doxyfile was used. If the doxyfile is in the
root-directory, then this was the build-directory itself, which
led to the complete build-directory (including all other build
artifacts) to be installed.

The OUTPUT_DIRECTORY set (if not given) now includes the name
of the doxyfile itself (+ suffix '.doxy').

The install of doxygen-generated files also did not preserve
the directory structure.

The doxy playground example was simplified and updated, as
separate installation is no longer needed.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-03-05 15:14:22 +01:00
Thomas Nagy df379d3ecd
Look up doxygen inputs relative to the doxygen file - Issue 1542 2015-03-04 19:25:35 +01:00
Harald Klimach 8d788d3e28 Make the NEC Fortran compiler detection flexible to cover the sxf03 as well as the sxf90. 2015-03-04 09:23:00 +01:00
Thomas Nagy 80344dee5e
Use splitlines when possible 2015-03-03 12:19:25 +01:00
Jérôme Carretero 340551d8a0 extras: file_to_object: basic file name escape (fixes issue on Windows) 2015-03-02 18:22:24 -05:00
Thomas Nagy c47b9bcd85
Configuration test for gccdeps flags 2015-03-02 16:54:56 +01:00
Thomas Nagy fa139c5d09
Invalid indentation in Python 3 and regexp enhancements 2015-02-26 23:05:27 +01:00
Thomas Nagy e5056b9ade
Example to how how to obtain build dependencies through strace 2015-02-26 22:30:47 +01:00
Harald Klimach d0c1333396 Corrected the module name convention for the NEC SX compiler. 2015-02-25 15:46:54 +01:00
Harald Klimach 8b58f728b9 Merge branch 'master' of https://code.google.com/p/waf 2015-02-25 11:21:01 +01:00
Harald Klimach 7775cda5c3 Added NEC compiler descriptions for SX machines. 2015-02-25 11:15:55 +01:00
Thomas Nagy b9e3d25918
Issue 1537 - batched_cc /Fo option requires a trailing path separator 2015-02-24 17:50:01 +01:00
Thomas Nagy a933244f48
Enable unity builds for C too 2015-02-23 10:44:57 +01:00
Thomas Nagy 17ab93f32a
Enable Visual Studio support in batched_cc for Issue 1537 (the unity tool provides best performance though) 2015-02-22 13:30:25 +01:00
Jérôme Carretero 49911f72a8 extras: file_to_object: support using the C compiler to support the feature more portably (WIP) 2015-02-20 12:05:08 -05:00
Thomas Nagy e8ae9c1a59
Enable gccdeps for clang too 2015-02-20 14:43:55 +01:00
Thomas Nagy 269c90fe1a
Cache the files read in c_dumbpreproc.py 2015-02-20 12:06:08 +01:00
Thomas Nagy 68a1bab004
Let the forked processes drop closed connections immediately - prefork 2015-02-17 17:10:47 +01:00
Thomas Nagy 412a677e06
Allow prefork.py builds to run concurrently (use random ports) 2015-02-14 15:29:58 +01:00
Thomas Nagy f8ff53ef02
Terminate preforked process if the parent terminates abruptly 2015-02-14 15:04:09 +01:00
Thomas Nagy 5716e35fdd
Slightly better error handling in prefork and preforkunix 2015-02-14 14:04:57 +01:00
Thomas Nagy ad5a6cb0e4
Issue 1467 2015-02-12 00:13:18 +01:00
Jérôme Carretero e1acde1bfb extras: file_to_object: fixup file extension of generated file
- append, don't change
- file extension is .s (don't run preprocessor)
2015-02-09 17:34:19 -05:00
Thomas Nagy e22f7b0cc2
reverting r522e3fb43a1dca184aa346a0cf00ac6bc83b3366 - Issue 1338 2015-02-08 18:51:39 +01:00
Thomas Nagy 1985579cb4
Example of tracking files in the build directory to force partial rebuilds 2015-02-08 11:05:28 +01:00
Thomas Nagy 004b866789
Updated the netcache client/server 2015-01-29 00:00:01 +01:00
Thomas Nagy 8bb6b1d299
Updated netcache_client to waf 1.8 2015-01-28 00:54:06 +01:00
Robert 57ea6be9fc
Issue 1526 - handle reasons for rebuild indepently in extas/why.py
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-01-22 23:21:41 +01:00
Thomas Nagy 0c66df0fab
New option --pin-process for the preforks 2015-01-20 23:13:31 +01:00
Thomas Nagy e044142c8e
Disable preforkunix on w* systems 2015-01-20 22:13:50 +01:00
Thomas Nagy 0bf605e194
Cleanup in the prefork scripts 2015-01-20 21:48:41 +01:00
Thomas Nagy d9908f38ef
Python 3 fixes 2015-01-20 18:47:31 +01:00
Thomas Nagy f10accf861
cleanup 2015-01-19 22:35:20 +01:00
Thomas Nagy fa8d113d41
Additional notes on preforked build processes 2015-01-18 23:56:51 +01:00
Thomas Nagy 8d9e7fda30
New tool nobuild for profiling, and a unix-only version of prefork.py 2015-01-18 13:51:06 +01:00
Thomas Nagy 760b34e264
Do not run processes with file descriptors on the server 2015-01-16 22:14:29 +01:00
Thomas Nagy 59974469fc
Report errors from prefork.py 2015-01-16 21:32:58 +01:00
Thomas Nagy 2d43b3416c
Prevent external connections to the servers 2015-01-16 19:21:20 +01:00
Jérôme Carretero 7c33626306 extras: cfg_cross_gnu: update docs 2015-01-13 13:27:54 -05:00
Jérôme Carretero 0f4a1d5f7d extras: file_to_object: rerun on DEST_CPU change 2015-01-13 13:27:38 -05:00
Thomas Nagy 45d21e96a1
prefork example for executing commands - this can improve full build performance quite a bit 2015-01-11 15:42:27 +01:00
Jérôme Carretero 5746e9a99a extras: cfg_cross_gnu: parse LDFLAGS environment variable 2015-01-06 13:10:28 -05:00
Jérôme Carretero f3320a4b07 extras: cfg_altoptions: use option group 2015-01-06 13:10:20 -05:00
Thomas Nagy 149653a937
First commit of the year 2015 2015-01-01 16:24:54 +01:00
Thomas Nagy 90e7031d2d
blender.py belongs to extras/ 2014-12-20 18:46:55 +01:00
Thomas Nagy 20a1ed6146
Advanced example of library propagation in distnet 2014-11-22 11:53:13 +01:00
Thomas Nagy 2fa4078c47
Clean orphan Qt files 2014-10-31 22:47:58 +01:00
Thomas Nagy 7ffd53b803
Use EnvironmentError more often 2014-10-30 19:09:53 +01:00
Thomas Nagy 2e98ef1313
stale.py improvements 2014-10-30 07:49:59 +01:00
Thomas Nagy ddfabfd80a
Enable the stale.py tool to work with Qt projects 2014-10-25 13:19:22 +02:00