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

1059 Commits

Author SHA1 Message Date
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
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
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
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
Kohei Takahashi
8b9dbbe418 Add support for FreeBSD 10 or later.
Since FreeBSD 10, it uses clang as a system default compiler.
freebsd-version is used to detect FreeBSD version.
2016-03-10 09:30:04 +03:00
Michał Górny
de9a600167 Do not pass -Ofast to pathscale toolset
Do not pass -Ofast when using the pathscale toolset. It enables insecure
optimizations, and that is probably why no other toolset uses this
option. It also causes internal compiler problems with current pathcc
versions.
2016-03-09 09:55:40 +03:00
Steven Watanabe
aaeedea9cc Fix a leak and a missing copy when building with the global string table disabled. 2016-03-04 12:28:42 -07:00
Steven Watanabe
b015a40847 Don't close the file automatically in yyline. We need yylval.file to survive until the parser is really done. 2016-03-04 11:38:50 -07:00
Steven Watanabe
f00b27cf5a NDEBUG disables OBJECT_MAGIC. 2016-03-04 11:11:40 -07:00
Steven Watanabe
8f39cdebc9 Fix two memory leaks and a double free. 2016-03-04 11:08:28 -07:00
Steven Watanabe
f5e005e8f3 Fix memory leak on cygwin and vms. path_copy initializes a new string. It should never be used on a string that is already initialized. 2016-03-01 11:32:34 -07:00
Steven Watanabe
9da5a06af8 Add missing header. Without this OS_CYGWIN is not defined which causes the :W modifier to fail. 2016-03-01 11:22:20 -07:00
Vladimir Prus
2f8e4ae868 Do not use 'mingw' as bootstrap toolchain name.
Instead, use gcc everywhere and detect the target to decide whether we need
to use POSIX or Windows runtime.
2016-02-17 16:27:28 +03:00
Vladimir Prus
4a5cf7f909 OpenVMS support.
See https://github.com/boostorg/build/pull/100
2015-12-14 02:46:44 -05:00
Aaron Boman
55593971a8 Provide error message and stacktrace with bad parameter to bjam.call() 2015-12-14 02:15:32 -05:00
wmarquesr
0cb7b16543 Refactoring conditional directives for incomplete if conditions. 2015-12-14 02:05:55 -05:00
Artur Shepilko
63021f6d64 Add GLOB_ARCHIVE builtin. 2015-10-24 12:21:31 -05:00
Artur Shepilko
c696419e2a Add bootstrap on VMS, use POSIX-style path handling. 2015-10-24 12:21:31 -05:00
Artur Shepilko
4cf86b31ca Exit program with a consistent error status. 2015-10-24 12:21:30 -05:00
Aaron Boman
b04bfcf171 Add type checking to help ease porting.
- Adds python optimization by default with a "-z" disable flag.
- Add type checking to bjam_signature and type checking asserts.
- Fix a type assertion in testing.
2015-09-17 09:54:46 +03:00
Artur Shepilko
04553d1ed4 Add missing defines to enable bootstrapping with vc8 toolset. 2015-09-03 14:16:29 +03:00
Vladimir Prus
bd97806025 Report Python paths used for build. 2015-08-19 11:16:23 +03:00
Vladimir Prus
688607d5db Split bjam_call into smaller functions. 2015-08-19 11:13:51 +03:00
Matthaus Owens
eefd58579e Use test_path instead of which
which was used to detect icc, but on some platforms such as solaris 10
which always returns 0, even when the command is not found on the path.
This commit updates the invocation to use the test_path function
instead, which does return non-zero on solaris 10 in the failure case.
2015-08-10 12:38:20 -07:00
Matthaus Owens
bcdb695438 Use sh compliant subshells
In commit d21102f2a1, the icc detection
was updated to use bash style subshells, which breaks on systems that
have just sh, such as solaris 10. This commit updates the detection to
use `` style subshells instead of $().
2015-08-10 12:38:20 -07:00
Rene Rivera
f191b3cc7e Merge pull request #82 from camorton2/xlcpp-toolset-build
Xlcpp toolset build
2015-07-22 11:19:23 -06:00
Jürgen Hunold
0956e85395 Bump version number to 2015.07
And change -svn to -git
2015-07-18 10:40:22 +02:00
Catherine Morton
1f61ae4edb fix permissions 2015-06-02 15:29:22 -04:00
Catherine Morton
78c2632878 adding toolset for xlcpp 2015-06-02 12:58:39 -04:00
Steven Watanabe
ae1183ee2d Return really returns now. Also implement break/continue. 2015-04-18 14:30:43 -06:00
Rene Rivera
5f22da72aa Reporpous "-o" option to mirror all BB output to the specified file.
Useful for script control and for users to obtain a log in an easier
cross-platform manner.
2015-04-10 09:07:56 -05:00
Steven Watanabe
2585b08e7e Remove unused variables from TARGET and shuffle some of its other members so they pack more efficiently. 2015-03-24 11:44:40 -06:00
Steven Watanabe
1a87fc9da1 Adjust the alignment check to account for platforms with lower alignment requirements for pointers. Fixes #8993. 2015-03-13 20:13:27 -06:00
Steven Watanabe
30d35ce80d Make order stable. This restores the old behavior of printing includes in alphabetical order. When I added the topological sort for includes, it caused directories with no constraints to be printed in reverse alphabetical order under some circumstances. This broke existing users who relied on the original order. While I believe that users should not depend on any order for include directories that is not explicitly stated, I'd rather not gratuitously break such uses. This is especially true since explicitly ordered includes only worked in the simplest cases prior to my topological sort patch. 2015-02-28 14:16:34 -07:00
Oliver Kowalke
4a3a99bf30 check __aarch64__ for ARM
Macro __arm__ is not set on Aarch64 architecture
2015-02-25 12:23:40 +03:00
K. Noel Belcourt
f5b31b30aa Block signals to end of exec_cmd. 2015-01-02 16:25:18 -07:00
K. Noel Belcourt
87fa34a0c8 Fix typo in the cleanup to setpgid in parent process. 2014-12-29 08:40:51 -07:00