Rene Rivera
233df6e75b
Get clang init-lib callin to work.
...
Fixes using the proper toolset module instead of always gcc for the
flags in the init-lib rule. Creates the target-os/linker-type mapping on
new toolset kinds instead of just gcc.
2017-06-25 15:04:00 -05:00
Rene Rivera
eeb3f6a178
Add missing rpath option for gnu linker.
2017-06-19 22:46:42 -05:00
Rene Rivera
95f62c996c
Replace all uses of os.name with proper target-os declarations.
...
Make gcc almost fully work on OSX and adjust clang toolsets to deal with
gcc changes. Adjust test framework to deal with gcc running on OSX for
the first time.
2017-06-19 18:55:28 -05:00
Rene Rivera
26100079ac
Make linker type setup depend on target-os.
...
This fixes a long standing issue of the linker not working for
cross-compile.
2017-06-14 14:13:20 -05:00
Rene Rivera
450c25c3b5
Improve configure builds to allow changing relevant features.
...
This has to improvements to better support using configure build checks.
First subfeatures of the relevant features are automatically included as
being relevant. For example toolset subfeatures for controlling custom
options would now be considered. Second the relevant features are now
specified as components of a "configure" feature. Which allows adding to
the set of relevant features by adding to the composite set.
2017-06-11 21:29:05 -05:00
Rene Rivera
e45e7f588f
Don't strip out EOL and other whitespace from action output.
2017-06-01 10:56:02 -05:00
Rene Rivera
180981ccdf
Clean command output before invoking callback to ACTION_RULE.
2017-05-31 18:04:21 -05:00
Rene Rivera
dfd8a2f44c
Merge pull request #169 from ErofeevK/gcc_win_cross_compile_fix
...
cygwin-to-windows-path accepts full windows path
2017-05-30 07:00:20 -05:00
Rene Rivera
e9cd7ce4e1
Merge pull request #198 from Rombur/pgi
...
Replace pgCC with pgc++
2017-05-28 21:16:33 -05:00
K. Noel Belcourt
d33e0ec7c1
Move vectorize feature into builtin.jam, make propagated.
...
Removed vectorize feature from clang and intel on darwin.
Thanks Steven W. for the help.
2017-05-26 15:58:14 -06:00
Bruno Turcksin
3aa21e1796
Replace pgCC with pgc++
2017-05-17 21:13:46 -04:00
Steven Watanabe
f33cb39478
Add missing #include.
2017-05-09 17:38:52 -06:00
Edward Diener
952411352a
Merge pull request #195 from danieljames/quickbook-strict-mode
...
Add a feature for using quickbook's strict mode
2017-05-09 09:51:26 -04:00
Edward Diener
c6b219507a
Merge branch 'vmrob-fix-eol-stripping' into develop
2017-05-08 23:00:14 -04:00
Steven Watanabe
4aa88f9d5d
Merge branch 'debug' into develop
2017-05-02 16:03:45 -06:00
Edward Diener
b8b2b8a3a4
Merge branch 'fix-eol-stripping' of https://github.com/vmrob/build into vmrob-fix-eol-stripping
2017-05-02 07:44:15 -04:00
Steven Watanabe
8ae8407cfb
Fix incorrect return value from try_wait, which caused most parallel builds to fail.
2017-04-26 17:32:06 -06:00
Steven Watanabe
316e26ca71
Remove fixed limit to -j. Fixes #189 .
...
* execunix.c: Replace select with poll.
* execnt.c: Use RegisterWaitForSingleObject when the number of jobs exceeds MAXIMUM_WAIT_OBJECTS.
2017-04-26 14:22:06 -06:00
Daniel James
f87158f383
Add a feature for using quickbook's strict mode
2017-04-25 21:59:52 +01:00
Rene Rivera
781a3fe111
Add user warnings about VS2017 setup.
2017-04-07 12:29:13 -05:00
Rene Rivera
838c622939
Remove use of VS2017 detection helpers in favor of ENV+path detection.
2017-04-05 16:50:53 -05:00
Steven Watanabe
80c0f5f8d2
Tests for MI.
2017-03-30 13:24:09 -06:00
Arkadiy Shapkin
d2ff572c23
Fix error handling for VS2017 detection in GetCLPath.ps1. Closes #186
2017-03-30 12:32:13 +03:00
Rene Rivera
ac854420fb
Move vc 14.1 to the front as the default.
2017-03-21 21:35:12 -05:00
Thomas Kent
33024da7a8
Found changes moved out of build.bat
2017-03-20 21:45:31 -05:00
Thomas Kent
56c6d1f705
Merge branch 'develop' into use_141
2017-03-20 21:41:21 -05:00
Thomas Kent
cc63090b04
Missed a couple instances
2017-03-19 08:38:04 -05:00
Thomas Kent
4d2dcc7278
Updated all the references to 14.10 and 1410 to 14.1 and 141
2017-03-19 08:26:22 -05:00
Arkadiy Shapkin
00c23580af
Check Visual Studio 2017+ version in script
...
* Fixed `build.bat` stack overflow on some machines by splitting up to several files
* CSharp script simplified and now will check VC++ toolset version
2017-03-19 00:59:40 +08:00
Thomas Kent
1ee59bb4f0
Use the VS150COMNTOOLS variable if exists
...
This variable should be checked before running the search script, as if the user has manually started one of the "Visual Studio Command Prompt" versions, it will point to the correct build settings.
2017-03-15 16:30:32 -05:00
Thomas Kent
7ff4920eee
Merge remote-tracking branch 'upstream/develop' into common_program_files
2017-03-15 06:56:56 -05:00
Thomas Kent
a5fb976a7c
Using a common variable for Program Files
...
On 32-bit windows computers, visual studio is installed to %ProgramFiles% and
the %ProgramFiles(x86)% variable is not defined (I was mistaken in an earlier
issue thread). On 64-bit windows computers, visual studio is installed to
%ProgramFiles(x86)%. This commit uses the %VS_ProgramFiles% variable to search
the appropriate one.
2017-03-15 06:54:00 -05:00
Thomas Kent
0e3f390d24
Keep searching when the helper gives an error
...
I'm seeing the errorlevel set even when a good value is found.
Regardless, when there is an error we should move to the next check.
2017-03-15 06:26:57 -05:00
Rene Rivera
ba240cf4ca
Avoid vs2017.. The detection has some issues.
2017-03-12 23:54:05 -05:00
Rene Rivera
3a27b2d338
Avoid polluting with temp JSON file.
2017-03-12 10:24:34 -04:00
Steven Watanabe
0d7e0c9c27
Fix performance problems when not using the debugger.
2017-03-11 09:38:21 -07:00
Refael Ackermann
b2260a9901
fix #157 : detect vs2017 (vc141) and setup environment
2017-03-10 18:48:08 -05:00
Rene Rivera
dc2f03d608
Change vc15 to vc1410.
2017-03-10 08:01:09 -05:00
Steven Watanabe
27ec3bf2d8
Add documentation and test error conditions.
2017-03-09 12:16:30 -07:00
Steven Watanabe
8f92b128bd
Get mi working again. Improve tests and error handling.
2017-03-06 17:48:37 -07:00
Steven Watanabe
6f5522aaa5
Merge branch 'develop' into debug
...
Conflicts:
src/engine/function.c
src/engine/scan.h
2017-03-01 09:50:57 -07:00
Rene Rivera
5de8fc63d2
Fix bad python builds caused from global python version being forced.
2017-03-01 10:08:14 -06:00
Rene Rivera
ba5db666e5
Fix dynamic scoping bug and allow access to alternatives choices.
2017-03-01 09:46:22 -06:00
ErofeevK
d03365433f
cygwin-to-windows-path accepts full windows path
...
Still not work for UNC path.
2017-02-27 10:30:37 +07:00
Niklas Angare
be31aad5ff
Fixed setting of SONAME for toolset qcc
...
The SONAME is now set unconditionally. The use if HAVE_SONAME was probably mistakenly copied from gcc.jam.
2017-02-11 23:00:08 +01:00
Thomas Kent
d99f08fe5b
Fixed a typo in the paths to VC15 installs.
2017-02-08 16:35:52 -06:00
Thomas Kent
6a76ad35f8
Fixed paths for vc15 and arch variable
2017-02-02 16:21:00 -06:00
Arkadiy Shapkin
cb70dbeb5c
Some fixes for VS2017 #157
...
Path autodetection to VS works only if it installed to default path
2017-02-01 22:17:02 +03:00
Edward Diener
b8c9741dd6
Merge pull request #155 from Bagira80/clang-pch-fix
...
Fix generating pre-compiled headers (pch) with clang (on linux).
2017-01-21 09:15:22 -05:00
Rene Rivera
e0eea1133c
Fix errors with tool path with spaces when on Windows.
...
Like the gcc toolset this now quotes the command to check the compiler
version before SHELL'ing out to get the version info.
2017-01-20 21:10:20 -06:00