Commit Graph

1049 Commits

Author SHA1 Message Date
Thomas Nagy 34c6ee8c0e
loadFromSysPath -> with_sys_path 2015-08-28 22:43:38 +02:00
Thomas Nagy cadd260a9e
Always remove the timeout and input arguments from the Popen constructor 2015-08-23 18:52:45 +02:00
Thomas Nagy 03ad2fff74
Adding input to cmd_and_log/exec_command enables stdin=PIPE 2015-08-23 17:39:25 +02:00
Thomas Nagy bfbcc73eb2
C/FC detection and outputs to be written in config.log 2015-08-23 17:16:03 +02:00
Thomas Nagy 274fba398c
Fixed the invalid docstring 2015-08-23 17:05:57 +02:00
Thomas Nagy a08b9fe26a
Added new parameters input/timeout to cmd_and_log/exec_command 2015-08-23 17:01:25 +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
Thomas Nagy 6ca1c7cad4
Simplify Clang macro detection 2015-08-07 10:51:45 +02:00
Thomas Nagy 45ffae6d4e
Ensure __GNUC_PATCHLEVEL__ is always of str type 2015-08-07 10:48:22 +02:00
Thomas Nagy a98baba3e8
Unused code fragment 2015-08-07 10:47:06 +02: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
ita1024 bc8840e0df Merge pull request #1595 from nikoder/increase_control_over_tool_loading
Disable regular sys.path when loading tool with specified tooldir.
2015-07-28 13:28:34 +02:00
Nikolaus Lieb 64f557a17e Ensure restoration of sys.path in Context.load_module() 2015-07-28 16:47:46 +08:00
Nikolaus Lieb b22118a2de Add an option to skip searching the regular sys.path when loading waf tools.
Granting this control allows the avoidance of issues such as accidentally
loading the "cython" module from from Cython itself, rather than the
"cython" waf tool.
Conflicts:
	waflib/Configure.py
	waflib/Context.py
2015-07-28 16:47:35 +08: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
Thomas Nagy 0d9a9b7e77
Let write_config_header use env.WAF_CONFIG_H_PRELUDE
A prelude will be added from the variable env.WAF_CONFIG_H_PRELUDE if provided. This
can be used to insert complex macros or include guards::

    def configure(conf):
        conf.env.WAF_CONFIG_H_PRELUDE = '#include <unistd.h>\\n'
        conf.write_config_header('config.h')
2015-07-11 12:01:26 +02:00
Thomas Nagy 4f93b4e814
docs 2015-07-07 22:30:00 +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
Thomas Nagy 140453a959
Prevent installation tasks having postpone=False from running twice 2015-07-07 20:58:58 +02:00
Thomas Nagy 19473a0721
env = conf.env.derive().detach() 2015-07-02 20:52:41 +02:00
Sean Bartell 03a510f480 Fix exec_command and cmd_and_log when cmd is tuple 2015-06-28 14:59:49 -05:00
Thomas Nagy 933feab352
Glob mac_app resource trees - Issue 1586 2015-06-27 15:18:57 +02:00
Thomas Nagy 705404211a
Removed the unnecessary executable bit on files 2015-06-27 14:04:36 +02:00
Thomas Nagy a946ca8383
Removed the executable bit on c_config.py 2015-06-27 14:03:04 +02:00
Thomas Nagy f8a3d56775
Preparations for Waf 1.8.12 2015-06-27 12:41:16 +02:00
Thomas Nagy ae508f2f82
Building in subdirectory broke in 1.8.10 #1590 2015-06-24 18:54:03 +02:00
Thomas Nagy f7b4940158
docs 2015-06-21 22:43:19 +02:00
Thomas Nagy 1debaf5f03
Better error message when the c compiler is clang and gcc is not found 2015-06-20 23:17:24 +02:00
Thomas Nagy a336bb1b8b
waf 1.8.11 2015-06-20 22:24:30 +02:00
Thomas Nagy d761ad1397
Better error message when the c compiler is clang and gcc is not found 2015-06-20 22:21:43 +02:00
Thomas Nagy 42fb4f08a0
Hide the command update that appears in the logs 2015-06-20 14:55:08 +02:00
Thomas Nagy dfd6f7e958
Grey color 2015-06-16 07:35:46 +02:00
Caitlin Potter 9d763fc74f [macplist]: interpolate file
Rather than using an inline interpolated heredoc string, or generating
the file in a pre-build step, allow the macplist task itself to
perform string interpolation on the contents of a plist file.
2015-06-14 15:53:46 -04:00
Thomas Nagy 65150769cd
Cleanup 2015-06-14 11:48:05 +02:00
Thomas Nagy c91214e216
generated .py files might need to be byte-compiled and installed 2015-06-11 18:15:10 +02:00
Nikolaus Lieb 9fc9464238 Add tooldir to cache-check on loading module in Configure context. 2015-06-10 21:44:37 +08:00
Alexander Afanasyev 728205fe3c Change with shared library compatibility version handling
For ELF binaries (e.g., Linux): default compatible version (SONAME =
`<library-name>.so.<MAJOR>`) can be specialized using additional `cnum`
parameter to `<library-name>.so.<MAJOR>.<MINOR>` or
`<library-name>.so.<MAJOR>.<MINOR>.<PATCH>`.

For Mach-O binaries (e.g., OS X):

- (bugfix) install-name points to compatible version (not absolute path
  to a non-versioned library)
- Default install-name `<install-path>/<library-name>.<MAJOR>.dylib` can
  be specialized using `cnum` parameter to
  `<install-path>/<library-name>.<MAJOR>.<MINOR>.dylib` or
  `<install-path>/<library-name>.<MAJOR>.<MINOR>.<PATCH>.dylib`
- `-Wl,-compatibility_version` and `-Wl,-current_version` flags use
  version from cnum/vnum (default cnum is vnum.split('.')[0])
2015-06-05 17:27:32 -07:00
Thomas Nagy 92f584fd8f
Repeated failures remove signatures - Issue 1580 2015-05-31 16:51:44 +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
Guillaume Poirier-Morency f14678f3e6 Fix the '--threading' option for valac.
The actual compiler option is named '--thread', not '--threading'.

Renames the waf option for 'thread': it shouldn't be breaking anyone as
it was not even working.
2015-05-26 03:25:33 -04:00
Thomas Nagy 3886c70929
waf 1.8.10 2015-05-24 15:39:46 +02:00
Thomas Nagy ea59b302c5
Fixed conf.multicheck error handling 2015-05-23 15:09:37 +02:00
Thomas Nagy f048d6d20f
Do not duplicate flags from the OS environment - https://github.com/waf-project/waf/issues/1574 2015-05-16 14:26:43 +02:00
Dale Stewart 1bc6c745c9 qt5: cope with library names like 'Qt5Core' instead of 'QtCore5', as in Qt 5.4 on Windows 2015-05-14 16:15:57 -05:00
Thomas Nagy 802e937d73
Regression caused by 588f809ffa - https://github.com/waf-project/waf/pull/1572 2015-05-08 18:16:48 +02:00
Syl 8ef1fa7733 cpplint: keep the old import 2015-05-06 22:33:31 +02:00