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

952 Commits

Author SHA1 Message Date
Rene Rivera
84a6dd5cd3 Default to mipspro compiler on Irix.
[SVN r22441]
2004-03-05 23:15:40 +00:00
Rene Rivera
fb5b1c7d67 Fix problem of setting JAMSHELL to % and executing quoted commands. That combination would cause spawn: invalid argument errors. Now quotes are removed from the command if they are present.
[SVN r22433]
2004-03-05 07:53:32 +00:00
Rene Rivera
b8d63e6457 Fix compilation with CodeWarrior. Even though it compiles the bootstrap jam0 compiling the full version now causes a compiler crash.
[SVN r22432]
2004-03-05 07:22:41 +00:00
Vladimir Prus
b775145d8f Darwin improvements.
Patch from Andre Hentz.

 * v2/build/toolset.jam
   (inherit-flags): Take an extra parameter describing properties that
   should not be inherited.

 * v2/build/type.jam
   (register-suffixes): Removed local qualifier.

 * v2/test/BoostBuild.py
   (prepare_suffix_map): Add .dylib if OS is Darwin.
   (Tester::_init_): path to bjam on Darwin.

 * v2/test/prebuilt.py
   make sure $toolset is expanded correctly.

 * v2/test/prebuilt/project-root.jam
   use $toolset instead of gcc.

 * v2/test/prebuilt/ext/project-root.jam
   use $toolset instead of gcc.

 * v2/test/prebuilt/ext/Jamfile2.jam
   handle extension .dylib.

 * v2/test/prebuilt/ext/Jamfile2.jam
   handle extension .dylib.

 * v2/tools/darwin.jam
   inline call to toolset.inherit.
   filter <debug-symbols>off because -s is not accepted for dlls.
   speficy that .dylib files are of type SHARED_LIB.
   (actions link): pass -s for static linkage.
   (actions link.dll): pass -L flag with path to libraries.
   (actions archive): -c inhibits warning.


[SVN r22332]
2004-02-20 08:51:33 +00:00
Vladimir Prus
21ffcb1c6c Property register sun toolset.
[SVN r22300]
2004-02-17 12:03:53 +00:00
Rene Rivera
11cffc67ec Add new file to dist.source file list.
[SVN r22292]
2004-02-16 14:34:05 +00:00
Vladimir Prus
53ca4fcb36 Move the logic for library ordering to a separate module. Add library
ordering to 'sun' toolset.


[SVN r22284]
2004-02-16 09:12:27 +00:00
Vladimir Prus
2d883c64d5 Optimize library ordering by native rules.
[SVN r22281]
2004-02-16 08:30:13 +00:00
Vladimir Prus
f641d2ca34 Remove code duplication. Optimize library ordering by not ordering sources
which are not of LIB type.


[SVN r22280]
2004-02-16 07:25:23 +00:00
Vladimir Prus
12e8adb917 Bugfix. Don't condirer <toolset-msvc:version>xxx to be conditional property.
[SVN r22172]
2004-02-05 13:31:54 +00:00
Vladimir Prus
f4d6b67bbb Disable 'unused sources' warning for LIBS which are sources of EXE.
[SVN r22168]
2004-02-05 10:45:30 +00:00
Vladimir Prus
a5edfddf3b Refactorings. The logic to generate dependencies was duplicated in two
methods.

* build/targets.jam
  (generate-dependency): Remove
  (basic-target.generate-sources): Remove.
  (basic-target.generate-dependencies): New method, contains
  common logic of the two removed methods.
  (basic-target.generate): Generate dependencies/sources using
  'generate-dependencies'
  (basic-target.compute-usage-requirements): Likewise.


[SVN r22147]
2004-02-03 09:24:56 +00:00
Vladimir Prus
36eb018984 Removed commented out debug prints
[SVN r22146]
2004-02-03 08:38:06 +00:00
Vladimir Prus
0da0a2e3a4 Disable order-sensitive properties for a while. They cause performance
degradation that should be investigated.


[SVN r22145]
2004-02-03 08:36:46 +00:00
Vladimir Prus
9e97b4a117 Fix a bug which preverten inheriting from gcc.
[SVN r22137]
2004-02-02 15:02:32 +00:00
Vladimir Prus
d02fe33b11 Make the 'search' feature order-sensitive.
[SVN r22134]
2004-02-02 13:18:51 +00:00
Vladimir Prus
93c3c932e2 Instroduce order-sensitive properties.
* build/feature.jam: New feature attribute 'order-sensitive'.

* jam_src/modules/property-set.c: (property_set_create): Don't sort
  order-sensitive attributes.


[SVN r22132]
2004-02-02 13:12:30 +00:00
Vladimir Prus
528962d877 Refactorings.
* jam_src/compile.c
  (call_rule): New function.

* jam_src/modules/property-set.c
  (property_set_create): Use 'call_rule'.


[SVN r22131]
2004-02-02 11:50:31 +00:00
Vladimir Prus
960156f204 Simplification. Now that non-searched libraries are directly
passes to action (not via property), there's no need to explicitly
set dependency on such targets.

* tools/builtin.jam
  (link-action): Remove
  (linking-generator.action-class): Don't override.
  (linking-generator.generated-targets): Don't pass searched-libraries
  as sources.


[SVN r22130]
2004-02-02 09:29:22 +00:00
Vladimir Prus
ff886e38a9 Move the 'location-prefix' feature declaration to builtin.jam.
[SVN r22129]
2004-02-02 07:33:02 +00:00
Vladimir Prus
9034f3ba61 First version of proper library ordering for gcc.
[SVN r22079]
2004-01-30 14:10:24 +00:00
Vladimir Prus
fdb27d6c1a Add paths to all dependent libs to uic command line.
[SVN r22071]
2004-01-30 12:14:57 +00:00
Vladimir Prus
b3fff372ce Make some of the features incidental, since they have no effect on
built targets.


[SVN r22068]
2004-01-30 08:08:24 +00:00
Vladimir Prus
c82c080f9a Refactorings.
* build/property-set.jam
  (property-set): Make dependency/non-dependency classification independent
  from base/free/incidental.

* build/targets.jam
  Induced change.


[SVN r22051]
2004-01-29 14:59:17 +00:00
Vladimir Prus
ded2f35dbd * utils/paths.jam
(glob): Accept several directories, like builtin GLOB does.


[SVN r22050]
2004-01-29 13:49:14 +00:00
Douglas Gregor
f7f5b24781 Glob in multiple directories correctly
[SVN r22014]
2004-01-28 01:41:31 +00:00
Vladimir Prus
7885ee04d1 Register generators inside 'init'. Issue warning of Boost.Book XSL dir
is not found.


[SVN r21972]
2004-01-26 14:48:51 +00:00
Vladimir Prus
58985d4994 Weaken check for unused sources for libraries -- so that we don't warn
the statically linked library bypasses library sources.


[SVN r21960]
2004-01-26 11:32:58 +00:00
Vladimir Prus
26f585d7bf Robustify Boost.Book a little more. Don't register generators unless
'init' rule is called, so that we don't get into half-initialized state.

Revert previous change to doxygen.jam, since importing boostbook now is
harmless.


[SVN r21957]
2004-01-26 11:20:45 +00:00
Vladimir Prus
4c3b5a626f Don't import boostbook. The reason is that importing toolset module makes
Boost.Build believe the module is property loaded, but without 'init' call,
the module will not work. In this case, if doxygen is configured but
boostbook is not, it causes strange errors.

This commit temporary breaks doxygen -- I'm gonne fix that in a minute.


[SVN r21954]
2004-01-26 10:51:54 +00:00
Vladimir Prus
cfaf316d78 Don't crash when BOOST_ROOT is not set. Print interesting things when
--debug-configuration is specified.


[SVN r21953]
2004-01-26 10:29:09 +00:00
Rene Rivera
9dd3c82270 Add some missing files to distribution building.
[SVN r21942]
2004-01-26 05:46:32 +00:00
Vladimir Prus
d119534a0c Fix file:line printing so that Emacs and other tools are not confused.
Patch from Samuel Krempp.


[SVN r21887]
2004-01-23 14:16:29 +00:00
Vladimir Prus
eeae34dce4 When --debug-configuration is specified, output where boost-build.jam
and bootstrap.jam were found.


[SVN r21886]
2004-01-23 14:02:19 +00:00
Vladimir Prus
0ef095eb21 Don't pass -x flag to gcc when it's know that gcc will select the
same language from the file extension. This works around distcc's dislike
of the -x option: whenever it sees it, it resorts to local compilation.


[SVN r21839]
2004-01-20 12:46:00 +00:00
Vladimir Prus
4ca7977418 Use common.file-creation-command for creating a file signalling
that unit test has executed without errors. Using 'touch' is not
portable to Windows, in general.


[SVN r21837]
2004-01-20 08:16:51 +00:00
Vladimir Prus
3a9e08dddb Remove the concept of 'active' features, for lack of any use.
* build/feature.jam
  (action, run-actions): Remove.

* build/targets.jam
  (basic-target.refined-properties): Don't call 'run-actions'.


[SVN r21667]
2004-01-13 10:24:11 +00:00
Vladimir Prus
a3ac522cd1 Improve NDEBUG handling. Specify <define>NDEBUG as part of <variant>release,
instead of setting it on when there's <optimization>speed. Also, now we
don't use active features at all.


[SVN r21666]
2004-01-13 10:18:09 +00:00
Vladimir Prus
427174eaab Use "rm -f" for RM variable on Linux. For now, this does not change much,
but in fugure we can use just $RM inside various actions, instead of testing
for file existance before.

Patch from Michael Stevens.


[SVN r21664]
2004-01-13 09:34:16 +00:00
Vladimir Prus
4bd54c3c79 Unbreak 'absolute_sources.py' on Windows.
[SVN r21621]
2004-01-12 10:54:54 +00:00
Vladimir Prus
a8b18c0799 Instead of don't returning targets which are not of requested type
from generators.construct, return them with 'intermediate' flag.


[SVN r21565]
2004-01-09 11:55:32 +00:00
Vladimir Prus
d162d7d854 Remove some obsolete code.
[SVN r21561]
2004-01-09 11:16:49 +00:00
Vladimir Prus
1baab343b9 Unbreak searched_lib.py and library_chain.py. Pass proper -rpath-link
options to the linker.

* tools/builtin.jam
  (lib-target-class.compute-usage-requirements): Add xdll-path
  properties instead of dll-path. Add them unconditionally,
  not only when hardcode-dll-paths is true.

  (linking-generator.run): When hardcode-dll-paths is true, add
  dll-path property for each xdll-path property.

* tools/gcc.jam
  Convert xdll-path properties into -rpath-link option.


[SVN r21560]
2004-01-09 10:50:07 +00:00
Vladimir Prus
3086648616 Fix BB65: includes of the form
# include "a.h"

(note the space), were not considered during dependency scanning.


[SVN r21541]
2004-01-08 08:00:00 +00:00
Dave Abrahams
2f43f44507 Fixed bugs
[SVN r21521]
2004-01-07 03:47:11 +00:00
Rene Rivera
8d40b4d45f Ignore all whitespace at end of archive entries, not just space and newlines.
[SVN r21395]
2003-12-25 16:11:44 +00:00
Rene Rivera
2fd898bb66 Add eols to skipped chars between archive entries, bug #840659.
[SVN r21393]
2003-12-24 22:45:55 +00:00
Vladimir Prus
7659fa4681 Allow <include-type> to select staged targets, even
with <traverse-dependencies>off.

Patch from Pedro Ferreira.


[SVN r21322]
2003-12-18 14:54:04 +00:00
Vladimir Prus
7e561521af Refactorings.
* tools/stage.jam
  (update-location,construct-special-target,construct-regular-target): New
  methods
  (construct): Rewrite in terms of the above methods.

Patch from Pedro Ferreira.


[SVN r21318]
2003-12-18 06:55:53 +00:00
Vladimir Prus
7798afcd88 Unbreak doc.jam, broken by third argument to header scanning rule.
[SVN r21313]
2003-12-18 05:15:27 +00:00