Thomas Nagy
d3f788da4c
Added the tool called 'nobuild' to help troubleshoot build scripts
2015-12-23 17:55:44 +01:00
Harald Klimach
c097fcc08a
Replaced spaces by tabs.
2015-12-23 15:38:48 +01:00
Harald Klimach
5c3a40d115
Loosened and simplified the regex for the version string of ifort as suggested by apthorpe
2015-12-23 15:28:43 +01:00
Harald Klimach
f5cb7c9e2e
Ensure the stdout and stderr attributes actually exist when capturing the
...
WafError in getoutput for the Fortran compilers.
2015-12-23 15:15:06 +01:00
Harald Klimach
2262f1009b
Ignore error codes from cmd_and_log in getoutput that is used to obtain
...
the version string of Fortran compilers.
Some compilers will fail and return an error code if not provided with
a source file, yet they print the desired version string.
Thus, in case of an error code we ignore it here and just pass on the
stdout and stderr of the called subprocess.
2015-12-23 14:32:52 +01:00
Thomas Nagy
a184a9e245
Experimental conf.define(key, val, comment='msg in config.h')
2015-12-20 14:26:14 +01:00
Mohammad AlSaleh
6eb836e03d
c_config: Fix regression in exec_cfg() introduced in 1fbac66
...
Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2015-12-11 21:52:38 +02:00
Thomas Nagy
41f005082f
Let msvc.py display encoding errors in the config.log file
2015-12-09 00:14:17 +01:00
Thomas Nagy
0e03aec82d
Unmask unicode errors in msvc - Issue 1657
2015-11-20 19:59:32 +01:00
Thomas Nagy
a46cb274a7
Intel fortran detection - Issue 1655
2015-11-18 19:12:15 +01:00
Thomas Nagy
e66cf563ce
Uninitialized variables when qt options are not used
2015-11-16 19:30:07 +01:00
Thomas Nagy
70be189ad2
Experimental option env.merge_config_header
...
This new option writes 'defines' into the test files
during the configuration tests for c/c++. This may
provide more readable config.log files.
2015-11-07 23:02:49 +01:00
Thomas Nagy
d4334adfb9
Let waf -v catch invalid string on hcode values in Python3
2015-11-03 22:35:33 +01:00
Thomas Nagy
3ff0277ea0
Enable global_define for conf.check() too
2015-10-27 22:22:35 +01:00
Thomas Nagy
722480b25c
Fixed the ruby detection for openindiana
2015-10-26 22:53:22 +01:00
Thomas Nagy
30336cd9ba
Reverted the changes to conf.check(header_name=) as this causes regressions. Use conf.check(header_name=, link_header_test=False) - #1647
2015-10-26 22:44:39 +01:00
Thomas Nagy
0c07ff91b0
Propagate ldflags/LDFLAGS besides linkflags/LINKFLAGS
2015-10-20 21:37:29 +02:00
Thomas Nagy
971b2d32b7
More Msys2 fun!
2015-10-16 22:45:27 +02:00
Thomas Nagy
b5ffe6be31
Enable bld.program to recognize .gs in the same way as .vala
2015-10-14 23:26:56 +02:00
Thomas Nagy
f28426594e
Cleanup: removed most unused variables and imports
2015-10-11 11:32:27 +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
Thomas Nagy
acc64df657
IronPython fix for VisualStudio detection
2015-10-07 00:16:11 +02:00
Thomas Nagy
1fbac668cb
Pass a conf.env.env to check_cfg
2015-10-06 23:06:22 +02:00
Thomas Nagy
f9f5e85616
Indentation issues
2015-09-22 07:08:21 +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
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
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
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
3e6b3bc5ca
Added fortran detection and warn when no link is possible - Issue 1603 and Issue 1610
2015-08-29 11:01:47 +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
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