2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-02 15:00:35 +01:00
Commit Graph

1384 Commits

Author SHA1 Message Date
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
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
ita1024
c5d0619c9e Merge pull request #1577 from arteymix/master
Fix the '--threading' option for valac.
2015-05-26 16:59:34 +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
ita1024
be7c6103dc Merge pull request #1573 from dale-stewart/master
qt5: cope with library names like 'Qt5Core' instead of 'QtCore5'
2015-05-14 23:53:12 +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