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

767 Commits

Author SHA1 Message Date
Douglas Gregor
041807235d Updated BoostBook tools to reflect changes in BBv2
[SVN r26828]
2005-01-24 02:14:15 +00:00
Dave Abrahams
08a072ad62 Attempt to fix someone else's bug.
[SVN r26798]
2005-01-22 11:45:46 +00:00
Vladimir Prus
b34abc6bb0 Further 'stage' improvements.
- Fix the 'stage.rename' rule (not versioning yet).
- Don't even try to install searched libs, ever.
- Make top-level Boost Jamfile work.


[SVN r26783]
2005-01-21 16:05:22 +00:00
Vladimir Prus
84334a4cd0 Various 'stage' related improvements.
- Require @module.rule syntax for value of the <tag> feature.
- Don't support change of name in 'stage'.
- Cleanup in 'stage'.


[SVN r26782]
2005-01-21 15:03:08 +00:00
Vladimir Prus
f4b06edc27 Refactoring of virtual targets.
- Drop separate 'suffix' field in file targets. Store suffix as part of
  the name' field. This avoids the need to copy the suffix field and the
  name everywhere.
- Do not pass generated targets to constructor of 'action'. Instead,
  pass the acton to constructor of target.


[SVN r26778]
2005-01-21 08:42:51 +00:00
Vladimir Prus
23cb0b1aa7 Pass the -ps option when generating PostScript, otherwise we'd create PDF
file with .ps extension.


[SVN r26719]
2005-01-18 07:31:44 +00:00
Douglas Gregor
840eb28d2d Fix FOP processing
[SVN r26671]
2005-01-11 03:32:49 +00:00
Dave Abrahams
f25b0571ea Horrible hacks to work with a FOP that must be invoked from its
installation directory, and with a windows FOP from a Cygwin bjam.


[SVN r26610]
2004-12-30 05:09:21 +00:00
Toon Knapen
7d8e6031e5 hardcoded path to compiler for the moment
[SVN r26600]
2004-12-29 11:42:24 +00:00
Vladimir Prus
f3b1b11187 Fix thereading support on darwin -- don't add -lrt.
Patch from Pedro Ferreira.


[SVN r26585]
2004-12-27 09:23:25 +00:00
Vladimir Prus
31fb098473 Bugfix. The '_' var was not defined on the link action, only on link.dll.
[SVN r26584]
2004-12-27 09:07:04 +00:00
Vladimir Prus
aa05391a55 Avoid calling class.is-a when faster methods will do.
[SVN r26578]
2004-12-23 08:45:00 +00:00
Vladimir Prus
21b0be6bfc Kill the link-compatibility check completely. It just causes too much
problems, instead of helping.


[SVN r26576]
2004-12-22 09:42:44 +00:00
Vladimir Prus
2f2bae0448 Use icpc as default name of intel compiler. Version 8.1 requires this
to correctly link C++ programs, and earlier version don't care.

Thanks to Joao Abecasis for the bug report.


[SVN r26563]
2004-12-21 09:00:11 +00:00
Vladimir Prus
8cc138879c Optimization. Try to prune generators which are guaranteed to fail.
[SVN r26556]
2004-12-20 15:43:14 +00:00
Toon Knapen
b0aade801a intel fortran compiler
[SVN r26510]
2004-12-15 08:47:35 +00:00
Vladimir Prus
f53c70c0df Use property-set in more places
[SVN r26487]
2004-12-10 15:49:30 +00:00
Vladimir Prus
ee27fd4ee2 Bugfix: searched library was not found when
exe depended on obj and obj depended on a searched library.

Thanks to Caleb Epstein for the bug report.

* tools/builtin.jam
  (searched-lib-generator.extra-usage-requirements): Remove
  (archive-generator.run): Don't bother passing 'library-path' properties.
  (linking-generator.run): Add propery library-path properties for
    searched libraries.

* tools/unix.jam: Induced changes.

* test/searched_lib.py: New test.


[SVN r26486]
2004-12-10 10:17:56 +00:00
Dave Abrahams
42f4871b1b Factored html type out of boostbook.jam and in the process created a
modular system for registering new types.


[SVN r26484]
2004-12-10 02:39:57 +00:00
Dave Abrahams
0e7707514e initial checkin
[SVN r26482]
2004-12-09 21:58:42 +00:00
Vladimir Prus
5c3471d243 Bugfix. Call 'xsltproc.xslt' instead of just 'xslt'. Now that main
target rule for xslt is automatically defined, this call uses that
rule, not the 'action rule' which is intended to call.

In addition, 'xslt' was called without including xslproc, and xsltproc
was injecting internal rules into global namespace.


[SVN r26481]
2004-12-09 13:52:19 +00:00
Vladimir Prus
988802a0ab Improved Boost.Python support. Actually, already committed python.jam
(accidentally), so this commit just removed declarations of PYTHON_EXTENSION
from builtin.jam.


[SVN r26452]
2004-12-06 14:16:22 +00:00
Vladimir Prus
648b30b73c Don't pass 'main' during type registration in two more cases
[SVN r26450]
2004-12-06 14:03:25 +00:00
Vladimir Prus
6155a88116 More type declaration cleanup.
* build/type.jam (register): Remove the 'main' parameter.
* other files: Don't pass the 'main' parameter.


[SVN r26449]
2004-12-06 13:59:51 +00:00
Vladimir Prus
990560fbab Bugfix: <library> was ignored for static linking.
Thanks to Toon Knapen for the bug report.

* tools/builtin.jam
  (archiving-generator.run): Add <library> properties to sources.

* test/library_chain.py: New test.


[SVN r26447]
2004-12-06 09:40:56 +00:00
Vladimir Prus
0656ab2818 Supress 'link-compatibility' warning for:
stage a1 : a1.txt : <location>dist ;
  stage a2 : a2.txt : <location>dist <dependency>a1 ;

The problem is that 'a1' is requested with <os>LINUX but the returned target
have <location>dist as the only property, which causes this bogus warning.


[SVN r26421]
2004-12-03 14:30:56 +00:00
Vladimir Prus
6f86fbc1f4 Handle <dependency> for 'stage'.
* tools/stage.jam
  (copy-file, relink-file): Add stage's dependency properies to
  the staged targets properties, so that <dependency> is copied too.

* test/stage.py: New test.


[SVN r26420]
2004-12-03 14:24:32 +00:00
Vladimir Prus
7d8f3051b8 Add variant/compiler part to the names of installed targets.
[SVN r26419]
2004-12-03 12:35:53 +00:00
Vladimir Prus
27c7ab37fa Add explicit generator override to save work.
[SVN r26416]
2004-12-03 11:25:02 +00:00
Vladimir Prus
d2b38551f3 Create symbolic links the <so-version> is specified.
* tools/stage.jam
  (symlink-lib): New rule.
  (stage-shared-linking-generator.run): Use the above to
  create symlinks.


[SVN r26415]
2004-12-03 11:23:13 +00:00
Vladimir Prus
6afa38681d Don't hardcode '.so' suffix.
* tools/stage.jam
  (stage-shared-linking-generator.run): Don't hardcode 'so' suffix.
* build/virtual-target.jam
  (abstract-file-target.suffix): Compute and return the real suffix
  that will be used. Previously, it would return something only if the
  suffix was explicitly set.


[SVN r26414]
2004-12-03 11:02:56 +00:00
Vladimir Prus
fc9f31c127 * tools/common.jam (path-variable-setting-command): Allow to refer to
enviroment variables in the list of values. No it's possible to add
  an element to a variable.
* build/project.jam: Remove obsolete test.
* build/toolset.jam (find-property-subset): No longer local,
  so that test can call it.
* test/test.jam: Import 'print' and 'common'.
* util/print.jam: Comment out failing unit test.


[SVN r26413]
2004-12-03 10:46:05 +00:00
Vladimir Prus
2600f1c728 Cleanup stage rule.
* tools/stage.jam
  (stage-target-class.targets-to-stage): New rule, partly extracted
  from construct, and former 'select-included'.
  (stage-target-class.construct): Cleanup.
* build/virtual-target.jam
  (file-target.path): If <location> feature is present, use the
   value as the path.


[SVN r26411]
2004-12-03 10:12:31 +00:00
Vladimir Prus
db137f4034 The 'stage' rule now understands the <tag> feauture.
[SVN r26409]
2004-12-03 08:42:05 +00:00
Vladimir Prus
230ec44483 Refactor/improve <tag> support.
* build/targets.jam (generate-realy):
  After applying tag, we used to 'temporary' change self.name,
  which is horrible. How pass the name to 'construct'.

  (construct): New parameter 'name'.

  (tag-name): New rule, extracted from basic-target. This needs to be
  separate rule so that we can call it from 'stage'. Check for a value of
  from '@something' and interpret 'something' as a rule which returns the
  new name.


[SVN r26408]
2004-12-03 08:28:37 +00:00
Vladimir Prus
9e6512273b Added <so-version> feature, and make stage add the version and relink
shared libraries when needed.

* tools/stage.jam
  (copy-file, relink-file): New rules, extracted from other classes.
  (STAGED_SHARED_LIB): New type.
  (stage-shared-lib-generator): New class


[SVN r26399]
2004-12-02 11:32:07 +00:00
Vladimir Prus
7015ebb122 Unbreak stlport for msvc, and for 'hostios' configuration.
[SVN r26396]
2004-12-02 07:35:23 +00:00
Dave Abrahams
b4c6c27664 Make changes at Doug's request.
[SVN r26394]
2004-12-01 16:50:56 +00:00
Vladimir Prus
323da7935d Really allow to configure different versions of STLPort.
Thanks to Reece Dunn for the bug report.


[SVN r26389]
2004-12-01 09:42:06 +00:00
Vladimir Prus
39fb2277a2 Problem: Long command line problem using msvc toolset on BoostBuild V2
Description: If the number of characters exceeds 2047, the cl command fails.
             Plattform: MSYS shell, VC++ 7.1

Resolution: Using of the response file facility

* tools/msvc.jam
  Change *compile* generators to produce RSP target too.
  Change compile actions to use RSP file
  And compile rules to call common.response-file
* tools/common.jam
  (response-file): Write defines and includes.

Thanks to Johannes Brunen for the patch.


[SVN r26275]
2004-11-23 09:57:33 +00:00
Vladimir Prus
6b0bc477f9 The 'stdlib' feature is no longer link-incompatible, as I generally
don't think link-compatibility check does any good.


[SVN r26270]
2004-11-22 07:52:11 +00:00
Toon Knapen
d18e739630 IBM fortran compiler toolset
[SVN r26219]
2004-11-15 16:20:26 +00:00
Vladimir Prus
a21b636efd Fix typo.
Thanks to Van Nguyen for the bug report.


[SVN r26210]
2004-11-15 07:22:47 +00:00
Vladimir Prus
25f6fb91e3 Revive boostbook.
[SVN r26196]
2004-11-13 09:29:55 +00:00
Toon Knapen
7e76d6cd3a toolset definition for gnu fortran compiler
[SVN r26194]
2004-11-12 13:41:45 +00:00
Toon Knapen
00b76d8f50 common settings for all fortran toolsets
[SVN r26193]
2004-11-12 13:41:28 +00:00
Vladimir Prus
28867fecac Allow a generator's 'run' method to return additional usage requirements
as the first elements of result. Those usage requirements will be combined
with explicitly specified for the main target.

This is yet another step towards making 'main target classes' unnecessary.

* build/generators.jam
  (try-one-generator): Check if generator returned usage requirements or not.
  (construct): Make sure first element of result is always property set.
  (many other methods): Induced changes

* tools/builtin.jam
  (exe-target-class, lib-target-class): Remove.
  (linking-generator, seached-lib-generator): Compute usage requirements.
  (archiving-generator): New class


[SVN r26192]
2004-11-12 08:11:14 +00:00
Vladimir Prus
1c17c6acfd Add comment.
[SVN r26156]
2004-11-09 08:02:43 +00:00
Vladimir Prus
1ccdad1403 Make gettext use generator, not main target class.
* tools/gettext.jam: The above change.
* build/generators.jam (construct): Allow a generator to produce a target
  without type.


[SVN r26103]
2004-11-03 09:42:57 +00:00
Vladimir Prus
3d42ee5bea * tools/boostbook.jam
Use generator instead of main target class.


[SVN r26101]
2004-11-03 08:51:06 +00:00