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

1522 Commits

Author SHA1 Message Date
Vladimir Prus
2ce8b7a51f Miscellaneous improvements from Aaron Boman.
feature.py:

Use the feature's name in the error output. This helps in understanding the
error message.

project.py:

The original looked like the result of a bad merge as the return value was the
exact same as the return within the try...except block. The try...except
produces a better error message upon failure.

property_set.py:

The string module is unused.

virtual_target.py:

ARM's ar.exe would fail when passed a path to the -via file that had both
POSIX and Windows path separators. Normalizing the path on the target solved
the problem.

common.py:

The requirement parameter in check_init_parameters should be a container. The
original Jam signature marks it as a list with zero or more items. These
changes convert the requirement parameter to using only a container.

msvc.py:

The call to to_seq asserts that command is always some container. So, extend()
should always be used.

tools/rc.py:

Old style exceptions aren't allowed (at least in Python 2.7). This change just
uses the existing AlreadyDefined exception.

testing.py:

loaded_tool_module_path_ is empty upon initial import. Using the __file__
variable instead will always work (provided the import system doesn't change).
2014-10-07 11:24:20 +04:00
Aaron Boman
9821a98b50 Add C scanner 2014-10-07 11:17:36 +04:00
Aaron Boman
29273d767d Use __file__ variable for location. 2014-10-06 12:38:42 -05:00
Aaron Boman
e246c73936 Old style exceptions don't work. 2014-10-06 12:37:46 -05:00
Aaron Boman
0abdbd568b command is always a sequence, always use extend(). 2014-10-06 12:37:10 -05:00
Aaron Boman
905a816239 check_init_parameters: requirement should be a container. 2014-10-06 12:35:10 -05:00
jzmaddock
3ae16f3d46 Add support for Intel 15, fix Glob Bug, and compiler path selection bug.
This patch fixes 3 issues:

- Adds support for Intel-15 so MSVC version can be auto-selected.

- Changes GLOB to path.glob as for some reason the GLOB rule always
fails when used in this context (discovered when testing this patch).

- Changes selection logic for target-types variable - previous code
used the value of PROCESSOR_ARCHITECTURE to detect this, but that
appears to only tell you which sub-system bjam is running in. For
example on my system bjam is a 32-bit app (default for an msvc build),
but I only have the Intel 64-bit compiler installed (under /intel64/).
New logic checks whether the intel64 compiler exists and uses that if
it is - Intel's installer won't install this on 32 bit platforms in
which case the glob fails and things fall back to the ia32-intel64
cross compiler when address-model=64 is specified.
2014-09-22 23:07:21 +04:00
Vladimir Prus
f00db15346 Merge pull request #33 from frenchtoast747/features/bug-fixes
Python Port: Bug fixes
2014-09-08 16:10:20 +04:00
Aaron Boman
abbc562e4b Port asm.set_asm_type() 2014-09-04 13:22:53 -05:00
Aaron Boman
71da5c4d8c Second argmuent to type.register should be list. This registers the extensions t, l, and b instead of 'tlb'. 2014-09-04 10:45:41 -05:00
Aaron Boman
064448b381 Command param in init should be a list or handle when it is a string. 2014-09-04 10:38:52 -05:00
Aaron Boman
253c6f69c8 Init params should be unique with requirements. Variable name shadowing. 2014-09-04 10:33:52 -05:00
Aaron Boman
0339bd00ab Command in init should be a list, not a string 2014-09-04 08:45:52 -05:00
Dean Moldovan
473202d250 Fixed python 2to3 translation 2014-09-01 23:29:37 +02:00
bernhard-b
82d7b648eb Support dlls without import library.
This patch makes <suppress-import-lib> property
take effect as telling Boost.Build that no
import lib will be created.

Actually, I think the name is not good enough.
Also, it appears that NOENTRY is orthogonal to
import lib.
2014-08-25 22:14:11 +04:00
Vladimir Prus
fa46e4a700 Improve error reporting for docutils.
When docutils is not configured at all, produce an
error message as opposed to trying to invoke Python
without providing a script to run.

Even better would be to search for docutils in common
places, and do so even without explicit 'using', but that's
beyond 30 mins I have right now.
2014-08-25 19:34:09 +04:00
Edward Diener
6b0de5e5e7 Merge branch 'develop' of https://github.com/boostorg/build into develop 2014-08-18 20:06:45 -04:00
Edward Diener
ae3a8e449f Corrected code for setting up clang threading. 2014-08-18 20:06:06 -04:00
Axel Ismirlian
24471d5743 Fixed compatibility issues for 64-bit AIX 2014-08-14 16:53:15 +04:00
K. Noel Belcourt
a035bb74fb Revert to Cray only compile options, removed others. 2014-08-06 10:00:28 -06:00
bernhard-b
d65f02071d Use msvc setup script feature with intel compiler. 2014-07-25 09:53:20 +04:00
bernhard-b
705944cc05 Allow to specify a custom manifest file which gets embedded 2014-07-17 21:08:39 +02:00
Steve Gates
a2d6515a66 Use WindowsPhoneCore.lib on Windows Phone 2014-07-16 00:31:34 +04:00
Vladimir Prus
e179d7bd25 Merge pull request #19 from MSOpenTech/fix_dev10_break
Unbreak msvc initialization with versions less than 11.

There was an incorrect condition causing a search for phone support to be run, and fail,
on msvc versions known not to have such support in the first place.
2014-07-12 10:26:22 +04:00
Steve Gates
61ff12a49e Fixing problem preventing building on VS2010 due to locate-default-setup rule being passed an undefined value. 2014-07-11 12:50:58 -07:00
Edward Diener
08dab0f7ae Remove example file since changes have been integrated and tested in clang-linux.jam. 2014-07-11 15:19:55 -04:00
Edward Diener
db1678d408 Changes for clang on Windows using mingw/gcc 2014-07-11 14:40:57 -04:00
Edward Diener
757501d4d2 Merge branch 'develop' of https://github.com/boostorg/build into develop 2014-07-11 10:49:45 -04:00
Edward Diener
3675413e3c Updated to make the setup threading more robust. 2014-07-11 10:48:28 -04:00
Steve Gates
0ebd41e33e Fixing build break with Visual Studio if phone scripts aren't installed with VS 2012 or 2013. 2014-07-11 01:32:04 -07:00
Steve Gates
a198a6a4a1 Support building for the Windows Runtime.
This merges https://github.com/boostorg/build/pull/14.
2014-07-11 11:49:48 +04:00
Steve Gates
e6854b8363 Addressing feedback from review:
1. Fixing up a bit how the phone setup script location is calculated.
2. Reusing generate-setup-cmd rule in configure-really to avoid duplication and make cleaner.
3. Adding some more comments explaining.
2014-07-10 16:52:24 -07:00
Edward Diener
02fee367b1 This file is essentially clang-linux.jam with changes for clang on Windows in gcc/mingw target mode, which should also use clang-linux.jam. The changes are simply that multithreading should use the -pthread option rather than the -mthreads option on Windows. I could have directly updated clang-linux.jam, since the change only affects clang targeted to Windows but I am being conservative and showing the change in this file for others to look at first. 2014-07-09 11:28:11 -04:00
Edward Diener
39a45d305c Added version of common.jam to be used for clang in VC++ target mode. This is just a current example of changes which work when using clang in VC++ target mode in Windows, and should eventually be integrated into common.jam when we figure out how to support clang for both VC++ target mode and mingw/gcc target mode on Windows. 2014-07-09 10:45:56 -04:00
Edward Diener
1fd46a8046 Merge branch 'develop' of https://github.com/boostorg/build into develop 2014-07-08 15:29:17 -04:00
Edward Diener
88807c6866 Add a clang for Windows jam file for use with clang when the target is msvc. 2014-07-08 15:26:50 -04:00
Jürgen Hunold
566c65f1c6 Merge pull request #16 from jivancic/slow_msvc_setup_scripts_2
add support for MSVC setup script rewrite
2014-07-02 09:13:49 +02:00
Juraj Ivančić
164318ffba add support for MSVC setup script rewrite
MSVC setup scripts are very slow, so should not be used in build actions directly.
Rewrite these scripts into their fast equivalents and use those instead.
Add toolset initialization option <rewrite-setup-script> to customize/disable this new behavior.
2014-06-27 10:14:02 +02:00
Steve Gates
eb4a8a6d4f Updating to include support for Windows Phone 8.1. 2014-06-26 18:15:44 -07:00
Vladimir Prus
e581591514 Merge pull request #15 from MarcelRaad/develop
Add support for MSVC 14
2014-06-17 10:53:24 +04:00
Kohei Takahashi
521685d181 Specify linker flags in clang.jam like gcc.jam, close #5820
This is not clang's defect, however in most cases expects GNU ld as a
  backend linker.

  1. Use --{start,end}-group to avoid object linking order probrem.
  2. Use -Wl,-B{static,dynamic} to treat static library correctly.

  see also: https://svn.boost.org/trac/boost/ticket/5820
2014-06-17 10:04:26 +04:00
Steve Gates
b6e0c71875 Add testing.execution feature. 2014-06-17 09:56:38 +04:00
Jürgen Hunold
5420ce3a4c Add support for Qt builds using bundled ANGLE 2014-06-13 19:21:11 +02:00
Marcel Raad
a106dd3798 Add support for MSVC 14 2014-06-11 21:14:03 +02:00
Rene Rivera
708ceafa3d Add support for removing more testing binaries to reduce space
requirements for testers. This adds a new "--remove-test-targets" option
to enable the extra removals.
2014-06-08 21:08:49 -05:00
Steve Gates
d8e5c7fa7b Removing use of testing.execute feature until it gets added in separate pull request. 2014-05-28 11:42:48 -07:00
Steve Gates
f3896eb774 Adding a new feature to help support building for the Windows Runtime (Windows store/phone).
1. Adds a new feature <windows-api> for specifying the WINAPI_FAMILY API set to target. Defaults to desktop, which is how builds before my changes.
2. A few small changes for adding ARM support.
3. Changes to call to correct vcvars setup script for Windows Phone 8.
2014-05-27 16:59:59 -07:00
K. Noel Belcourt
59fd3b651e Mods to get Cray building cleanly, target native hardware
on compute nodes.
2014-05-16 23:06:32 -06:00
K. Noel Belcourt
8dcc9ce950 Begin adding Cray support to MPI jam. 2014-05-16 21:29:39 -06:00
Noel Belcourt
a4cd97b8a4 Merge pull request #8 from bernhard-b/develop
support newer intel >=12 versions. add auto detection

Seemed like working builds was the last hurdle, thanks!
2014-05-08 19:53:36 -06:00