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

1101 Commits

Author SHA1 Message Date
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
Jérôme Carretero
ce892773c6 context: fixup load_special_tools ban when using the zip 2015-10-13 00:58:39 -04:00
Thomas Nagy
f28426594e
Cleanup: removed most unused variables and imports 2015-10-11 11:32:27 +02:00
Thomas Nagy
1a47ae26c2
docs 2015-10-10 17:09:49 +02:00
Thomas Nagy
78403e3fbc
Enable relative paths to be processed in the --top and --out options 2015-10-10 17:05:13 +02:00
Thomas Nagy
fcec20c9fd
Do not link header tests - ruby detection is broken when the compiler includes the symbols 2015-10-10 10:18:02 +02:00
Thomas Nagy
1886e77063
Workaround for python-config bug 7352 - Issue 1636 2015-10-09 19:19:59 +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
Thomas Nagy
4708b1b730
Workaround for an IronPython pickle bug 2015-10-07 01:11:36 +02:00
Thomas Nagy
acc64df657
IronPython fix for VisualStudio detection 2015-10-07 00:16:11 +02:00
Thomas Nagy
f5b7209b02
Visual Studio detection in IronPython 2015-10-07 00:13:09 +02:00
Thomas Nagy
1fbac668cb
Pass a conf.env.env to check_cfg 2015-10-06 23:06:22 +02: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
a6b467d73e
Moved the command hashing logic into a utility function 2015-10-03 09:12:08 +02:00
Thomas Nagy
201b8ac38f
Enable rules mixing functions with scriptlets 2015-10-01 19:25:29 +02:00
Thomas Nagy
0e76f676be
Let compile_fun process lists of string commands 2015-09-30 23:38:33 +02:00
Thomas Nagy
1205f92a7f
Simplify the unicode type test for python 3 2015-09-28 21:33:48 +02:00
Thomas Nagy
7cba550826
Fixed a few Python3 compatibility issues in extras modules 2015-09-27 16:09:21 +02:00
Thomas Nagy
f9f5e85616
Indentation issues 2015-09-22 07:08:21 +02:00
Thomas Nagy
cf92a7bd24
waf 1.8.14 2015-09-20 12:18:01 +02:00
Thomas Nagy
dbdc95dfb6
The meaning of filter differs in Python 2/3 - Fixed MSVC builds without lazy for Python 3 2015-09-20 12:03:27 +02:00
Thomas Nagy
8ba068670a
Enable vala processing on a folder basis with the vala_dir parameter - Issue 1601 2015-09-19 19:53:46 +02:00
Thomas Nagy
19042c840e
clean up in demos/vala 2015-09-19 17:01:03 +02:00
Thomas Nagy
8ea1de44a7
Vala resources - Issue 1626 2015-09-19 09:53:53 +02:00
Mohammad Alsaleh
6de1ac07d5 c_config: Avoid warnings/errors when checking for C functions
The check for C functions fails with '-Werror' in GCC (5.2).

  return (int)p;
         ^
  The cast here triggers this error:
    error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]

  p=(void*)(%s);
    ^
  This conversion triggers another error with '-pedantic -Werror':
    error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic]

  This patch fixes both errors.

Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>
2015-09-13 22:45:32 +02:00
Thomas Nagy
c5952e19ab
waf 1.8.13 2015-09-13 22:14:31 +02:00
Thomas Nagy
002706431d
docs 2015-09-12 23:49:38 +02:00
Thomas Nagy
49f51d547b
Missing change -Kpic/-xcode=pic32 for sun compilers in c++ mode 2015-09-12 23:32:39 +02:00
Chen He
411672c069 Update the pic build flag used for Sun CC
`-Kpic` had been used to generate position-indenpendent code for Sun CC.
This permits only 2^10 unqiue symbols per shared object on 64-bit
systems.  This is an unreasonably small default. Switching to `-KPIC`
increases the number to 2^29.

According to
http://docs.oracle.com/cd/E37069_01/html/E37074/bjapp.html#OSSCGbjatt,
both `-Kpic` and `-KPIC` have been deprecated, and the `-xcode` option
should be used instead. `-xcode` has been available since at least Sun
Studio 8.
2015-09-10 10:37:40 -04:00
ita1024
b01ae4d98c Merge pull request #1624 from shoover/consolidate-mobile-targets
Consolidate mobile targets
2015-09-09 23:00:05 +02:00
Shawn Hoover
c376be6f61 Fix duplicate winphone 8.0 targets in the detected versions list. 2015-09-09 12:31:09 -04:00
Shawn Hoover
a8480cc2ff Fix to consolidate WinCE versions in the compiler versions list. 2015-09-09 12:30:23 -04:00
Shawn Hoover
eb18a77a5f Override lazy detection and save MSVC_INSTALLED_VERSIONS if get_msvc_versions is called directly. 2015-09-09 10:52:23 -04:00
Shawn Hoover
b00b9ab4e3 Don't save/print MSVC_INSTALLED_VERSIONS for lazy detection. 2015-09-09 10:52:20 -04:00
Thomas Nagy
48e48babb4
Override rule function outputs - Issue 1598 2015-09-07 21:03:16 +02:00
Thomas Nagy
c2f4f1b1e8
Force a chmod value for configuration tests executed 2015-09-03 21:31:46 +02:00
Thomas Nagy
eb13629bda
clang seems to provide llvm-ar 2015-09-03 20:58:47 +02:00
Shawn Hoover
fa41ac8213 Fixed a local variable shadowing the arch return switch for setup_msvc. 2015-09-02 09:16:48 -04: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
ita1024
36e07b3eaf Merge pull request #1614 from shoover/lazy-msvc-detect-1.8
Optionally lazily check installed msvc compilers' environments
2015-09-01 07:27:36 +02:00
Shawn Hoover
5e833ef3f8 Read the lazy autodetect option instead of passing a value everywhere. 2015-08-31 22:06:34 -04:00
Shawn Hoover
4b65d3f875 Optionally lazily check installed msvc compilers' environments and stop when one
is found that matches the user's options. This happens during autodetect only
when the new option msvc_lazy_autodetect or env.MSVC_LAZY_AUTODETECT is set.
2015-08-31 14:55:15 -04:00
Thomas Nagy
e72c310b7d
Ruby 2.x detection - Issue 1613 2015-08-30 20:05:38 +02:00
Thomas Nagy
ca5b8a8733
Env variables WAF_LOG_FORMAT/WAF_HOUR_FORMAT for custom log formats 2015-08-30 13:02:17 +02:00
Thomas Nagy
61f09a3f7c
Enable 'waf update' when use_config is provided - Issue 1541 2015-08-29 13:05:00 +02:00