2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00
Commit Graph

1213 Commits

Author SHA1 Message Date
Refael Ackermann
99b01d131b extra ERRORLEVEL reset 2017-08-09 09:03:05 -05:00
Rene Rivera
ae0c5b7a57 Change block comment to #| comment |#. 2017-07-28 16:59:31 -05:00
Rene Rivera
edc18ece12 Add block comments to jam language.
This adds non-nested block comments wrapped with "#*" and "*#". This
should help in cleaning up embedded documentation and generally make
writing jam code easier.
2017-07-27 08:55:44 -05:00
Rene Rivera
745c8f4c09 Merge pull request #202 from bmwiedemann/sortedlist
sort file lists
2017-07-17 16:26:48 -06:00
Alexander Shevchenko
4f0f683f63 Fix for bootstrap.bat failure for intel-win32.
See: fdbef0e3f0
2017-07-15 13:49:56 +03:00
Refael Ackermann
dc9ecf3a71 fix regression from VS2017 detection 2017-06-27 10:46:26 -04:00
Rene Rivera
2e5e8d37f3 Merge pull request #192 from refack/develop
Try to detect VS2017 using vswhere
2017-06-27 06:54:50 -05:00
Rene Rivera
e45e7f588f Don't strip out EOL and other whitespace from action output. 2017-06-01 10:56:02 -05:00
Bernhard M. Wiedemann
7aa74e3029 Sort file lists
to enable more reproducible builds
without patching individual build definitions like
https://github.com/boostorg/container/pull/50
2017-06-01 16:16:27 +02:00
Rene Rivera
180981ccdf Clean command output before invoking callback to ACTION_RULE. 2017-05-31 18:04:21 -05: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
c6b219507a Merge branch 'vmrob-fix-eol-stripping' into develop 2017-05-08 23:00:14 -04:00
Refael Ackermann
6f63489198 Try to detect VS2017 using vswhere 2017-05-06 12:08:53 -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
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
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
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
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
Rene Rivera
af046405c5 Fix var declare errors from empty declaration on some compilers. 2016-11-29 06:46:32 -06:00
Rene Rivera
4ee16d44c2 Fix macro redef errors on some compilers. 2016-11-28 13:26:22 -06:00
Victor Robertson
851c19fa6b Fix strip-eol for long command output
Previously, when shell command output exceeded the 1024 character
buffer size, each chunk of output would be stripped. This had the
undesirable effect of sometimes breaking compilation by splitting on
whitespace boundaries. This patch addresses the issue by providing a
string_rtrim function and utilizing the function on the output string
instead of each buffered component.
2016-11-04 16:30:44 -07:00
Rene Rivera
a94e1d0727 Fix testing.time feature and add clock value to it.
The old testing.time feature was horribly broken in the face of the
current b2 virtual target design. This redoes the feature in a friendly
manner to the virtual targets. This also adds the clock (aka wall clock)
timing value to __TIMING_RULE__ invocations.
2016-10-11 23:29:20 -05:00
Rene Rivera
2effafb5df Better timing information. Add wall clock info to -d+4 output. And use
wait4 which gives better resource usage times on Nix.
2016-10-11 10:09:44 -05:00
Rene Rivera
590cbb42b5 Add some missing profile scopes in function_run. 2016-09-27 06:15:54 -05:00
Rene Rivera
8806da6416 Add support for perf meassuring native scopes. And add some perf scopes
for the main interpreter function.
2016-09-23 22:58:47 -05:00
Marcel Raad
ae5e63a131 Add support for upcoming Visual Studio "15"
This allows building with Visual Studio "15", expected to be released
in 2017. Tested with Visual Studio "15" Preview 3. The compiler itself is the
same as with Visual Studio 2015 Update 3, but if only Visual Studio "15" is
installed, the compiler could not be found.
2016-07-12 22:01:12 +02:00
Steven Watanabe
37ba13295c Remove wrong if. This case is already handled correctly by the next else if. 2016-03-24 08:57:22 -06:00
Steven Watanabe
25819cbda3 Make sure that explicit returns don't interfere with function rewriting. 2016-03-22 09:50:51 -06:00