Commit Graph

1395 Commits

Author SHA1 Message Date
Thomas Nagy 34c6ee8c0e
loadFromSysPath -> with_sys_path 2015-08-28 22:43:38 +02:00
Thomas Nagy 48504f2c3d
Enable the wrapped method to be reentrant 2015-08-28 21:37:09 +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
ita1024 68585933f1 Merge pull request #1604 from mattfischer/waf-1602
Handle .. within paths in gccdeps
2015-07-28 09:37:09 +02: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 e10398fcd3
docs 2015-07-11 20:17:16 +02: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 1427497785
Docs 2015-07-05 20:24:39 +02:00
Thomas Nagy 19473a0721
env = conf.env.derive().detach() 2015-07-02 20:52:41 +02:00
ita1024 2011f4a852 Merge pull request #1591 from yotann/fix-exec-command
Fix exec_command and cmd_and_log when cmd is tuple
2015-06-29 06:40:21 +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 acf9032687
enable more tests on the build farm 2015-06-21 23:58:43 +02:00
Thomas Nagy f7b4940158
docs 2015-06-21 22:43:19 +02:00
Thomas Nagy 1ee400aca5
docs 2015-06-21 21:55:12 +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 57d804c16e
docs 2015-06-20 14:54:41 +02:00
Thomas Nagy dfd6f7e958
Grey color 2015-06-16 07:35:46 +02:00
ita1024 18d8c6025f Merge pull request #1585 from caitp/macplist
[macplist]: interpolate file
2015-06-14 22:09:10 +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
ita1024 a12bfc9a94 Merge pull request #1584 from nikoder/nikoder_fix_tool_caching
Add tooldir to cache-check on loading module in Configure context.
2015-06-10 17:54:28 +02:00
Nikolaus Lieb 9fc9464238 Add tooldir to cache-check on loading module in Configure context. 2015-06-10 21:44:37 +08:00
ita1024 4a9d2bb7b9 Merge pull request #1583 from cawka/feature-shlib
Change with shared library compatibility version handling
2015-06-06 13:23:27 +02:00