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

4209 Commits

Author SHA1 Message Date
Rene Rivera
59d5566e29 Merge pull request #216 from boostorg/feature/features
Restructure built-in feature definitions.
2017-07-25 21:55:23 -05:00
Rene Rivera
76db93bb66 Lets be inclusinve and add values for intermediate C++ versions. 2017-07-25 16:31:42 -05:00
Rene Rivera
44aebcc61d Add dialect subfeature to cover the compiler extensions ot cxxstd. 2017-07-25 14:48:10 -05:00
Peter Dimov
56fd849fb7 Add xsltproc.name rule to retrieve the configured xsltproc 2017-07-25 14:47:54 +03:00
Peter Dimov
b460ee2b92 Add .xslt extension to type XSLT 2017-07-25 14:47:19 +03:00
Rene Rivera
4f5233911c Restructure built-in feature definitions to make it easier to add and document them.
This moves the built-in feature definitions into a subdirectory where each feature
(or cohesive set of features) are defined in their own file. Eventually
documentation can be added in the definitions files themselves and inported into the
full documentation. Not all features got move by this. There are some features
spread out through the toolset files. Those will also get moved as needed,
and as possible.
2017-07-24 21:36:07 -05:00
Steven Watanabe
4052b0d4cd Localize the right variable. Prior to this change, .active-generators could be incorrectly restored in nested calls to construct causing generators to vanish mysteriously. 2017-07-22 18:56:16 -06:00
Rene Rivera
8d8d0d9ba7 Remove defaul template depth of 128.
This was old code and hence was a default that doesn't make sense any
longer. The compiler defaults for some time have been considerably above
128. Which has actually meant that we've restricted this instead of
incrementing it.
2017-07-21 05:46:35 -06:00
Rene Rivera
6f6aa23b69 Merge pull request #197 from tee3/develop-doxygen-markdown
Add support for Markdown in doxygen target.
2017-07-17 16:28:09 -06:00
Rene Rivera
745c8f4c09 Merge pull request #202 from bmwiedemann/sortedlist
sort file lists
2017-07-17 16:26:48 -06:00
Rene Rivera
e9a367a5b9 Merge pull request #208 from rdoeffinger/lzma
Add lzma.jam file.
2017-07-17 16:23:47 -06:00
Raffi Enficiaud
4f521b5b97 Python.jam: Postpone the computation of python "major-minor" version out of the "version"
This fixes some issues on Windows when the function "configure" is called with an empty optional "version" filled in.
2017-07-17 21:09:45 +02:00
Alexander Shevchenko
4f0f683f63 Fix for bootstrap.bat failure for intel-win32.
See: fdbef0e3f0
2017-07-15 13:49:56 +03:00
Rene Rivera
fb11681055 Fix DLL static runtime link check not using host-os.
This replaces the last use of host-os to determine build. Which makes
gcc cross-compile clean. This now uses the target-os to do the
runtime-link static DLL check.
2017-07-11 05:51:20 -06:00
Rene Rivera
673051db35 Clean up link flags settings to work with alternate toolsets.
Rework the logic in initializing the link flags to use the action rule
override in the action class. This change simplifies the setting of the
flags based on the linker type. And works with doing cross-compiles
correctly.
2017-07-10 20:14:17 -06:00
Rene Rivera
8f46a07d14 Make it possible to register multiple variants of the same toolset.
This adds the requirements of a registered toolset to what is considered
the identifier of the toolset. Which allows one to register the same
toolset with different requirements to support toolsets that can be
configured through options to do different tasks. For example, that can
do multi-os compiles.
2017-07-10 20:09:25 -06:00
Rene Rivera
ea4ee77fe6 Move calling target action to an action method to allow override.
This moves the calling of the target action rule to an "execute" method
in the action class. This allows one to create a custom generator that
makes corresponding action classes. That in turn can override the
"execute" to do other work on the engine targets directly.
2017-07-10 20:06:26 -06:00
Peter Dimov
53869829d2 Add support for <arch-and-model> in common.format-name 2017-07-07 02:58:02 +03:00
Rene Rivera
5f4aba2655 Fix static link on Linux caused by incorrect SA-PFX var definition. 2017-07-05 08:33:04 -05:00
Reimar Döffinger
2f64036565 Add lzma.jam file.
Just a quick hack to allow to implement LZMA
compressor and decompressor in iostreams (see also
trac ticket 7534).
Probably needs to be refined at some point by someone
who knows what they are doing, but it seems to work in principle.
2017-07-03 19:53:43 +02:00
Rene Rivera
582c46bfec Remove debug print that was causing test failures. 2017-06-28 09:24:10 -05:00
Edward Diener
99be21b787 Merge pull request #199 from mkartashev/stlport-fix
Fix build errors with stdlib=sun-stlport on Linux
2017-06-27 14:39:47 -04: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
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
Peter Dimov
894385f7b3 Use cygpath in cygwin-to-windows-path 2017-06-14 03:39:10 +03: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
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
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
Maxim Kartashev
b4209d315e For sun-stlport, add -compat=5 to the command line in order to avoid build
errors on the platforms where it is not the default (like on Linux). Without
this additional option, the compiler exits with an error because
-library=stlport4 only works with the Sun ABI (-compat=5), while the default
might be GNU ABI (-compat=g).

Do the same for the stdcxx library that is also available only in -compat=5
mode. This change is not strictly necessary as the stdcxx library is only
available on Solaris, where the default is -compat=5 anyway. It has been added
as a precaution.
2017-05-22 16:52:07 +03:00
Bruno Turcksin
3aa21e1796 Replace pgCC with pgc++ 2017-05-17 21:13:46 -04:00
Thomas Brown
6572326bdb doxygen: Add Markdown type to file processed by doxygen. 2017-05-10 23:00:13 -04:00
Thomas Brown
f8e6b44826 types: Add a type for Markdown files. 2017-05-09 21:12:51 -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
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
Daniel James
f87158f383 Add a feature for using quickbook's strict mode 2017-04-25 21:59:52 +01:00
Matt Clarkson
be0e44373d Allow asmflags to pass through to GCC
This is especially useful when cross-compiling Boost.Context for
ARM32 as you need to pass the -mfpu=neon (or similar) to correctly
compile the assembly there
2017-04-25 16:47:47 +01:00