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

473 Commits

Author SHA1 Message Date
Vladimir Prus
0a1190e42c 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
d56e814877 Correctly compute bjam build dir on non-x86 Linux.
Patch from Niklaus Giger.


[SVN r26775]
2005-01-21 07:31:45 +00:00
Vladimir Prus
d4fa3d6092 Added Boostbook test
[SVN r26601]
2004-12-29 11:47:59 +00:00
Vladimir Prus
ded834410d Fix a recent regression: <location>. did not work.
[SVN r26598]
2004-12-29 11:04:09 +00:00
Vladimir Prus
29bc552733 Fix a regression in the 'glob' rule -- it is broken with the current bjam.
Handle ".." correctly.


[SVN r26595]
2004-12-28 17:54:35 +00:00
Vladimir Prus
6b91fc0e9f Usage requirements are now propagated all the way up, not only
to direct dependents. The previous behaviour can be confusing and
there are no use cases where the new behaviour will be bad.

It will add more include paths in some cases, but who cares?


[SVN r26528]
2004-12-16 13:02:35 +00:00
Vladimir Prus
5ec008ddbc 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
Vladimir Prus
4c7ff2913c 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
3f608c3e78 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
bc7ed1a9d5 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
58566b47bd * 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
a4f3de44f3 Allow Jamroot as alternative (and preferred) spelling of project-root.jam.
[SVN r26351]
2004-11-29 15:44:58 +00:00
Vladimir Prus
78365ce534 Fix some problems with project loading
* build/targets.jam
  (project-target.find): Better error reporting.

* build/project.jam
  (load-jamfile): Use 'path.native' when loading Jamfile,
   otherwise, target id with absolute directory name won't
   work for Windows.


[SVN r26271]
2004-11-22 09:02:52 +00:00
Vladimir Prus
daf4d58c63 * build/project.jam
(load-parent): New rule, extracted from 'initilize'.
  (load-jamfile): If loading project-root.jam, check for
      Jamfile and load it in the same module.
  (inherit-attributes): Simplify.
  (project-rules.constant, project-rules.path-constant): New rules.

* build/targets.jam
  (project-target.__init__): New paramater 'parent'.
  (project-target.inherit)
  (project-target.add-constant)
  (project-target.intern-constants): New rules

*


[SVN r26251]
2004-11-19 09:51:54 +00:00
Vladimir Prus
fad89f9023 Fix a bug which caused child project to be loaded before parents.
* build/project.jam
  (project-context.use-project): Just record parameters, don't do anything.
  (load): After Jamfile is loaded, use data recorded above to load
   additional projects.
* test/test_all.py: New test.


[SVN r26229]
2004-11-17 13:12:29 +00:00
Vladimir Prus
40a504ed4f 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
fb138e9ded When 'stage' is used with <traverse-dependencies>on, do not follow the <use>
property, since it's typically used when only headers are used.

* build/virtual-target.jam (subvariant.all-referenced-targets): Return
  the names of properties.
* tools/stage.jam (stage-target-class.collect-targets): Filter out <use>

Thanks to Jurgen Hunold for the bug report.


[SVN r26052]
2004-11-01 16:10:41 +00:00
Vladimir Prus
461a95fbc4 Remove tabs
[SVN r25968]
2004-10-30 08:31:48 +00:00
Vladimir Prus
c3185c4128 Exclude 'profile' variant from test, since it causes unidentified
problems on cygwin/gcc. The problem does not look to be related to V2.


[SVN r25804]
2004-10-20 12:06:20 +00:00
Vladimir Prus
9f07c0dc2c Handle the <library> property in the linking-generator, not in
lib-target-class and exe-target-class. This makes the 'unit-test' rule
work with <library>.


[SVN r25768]
2004-10-18 10:10:36 +00:00
Vladimir Prus
7e6b8e8424 Changed syntax of 'using gcc', allowing configuration of linker-type
* v2/tools/gcc.jam
    (init): parse the new options and call the new rule.
    (init-link-flags): new rule. Initialize flags based on linker type.
              put back -minpure-text
* v2/test/conditionals.py
     small modification to avoid empty binaries.

Patch from Andre Hentz.


[SVN r25764]
2004-10-18 06:41:50 +00:00
Vladimir Prus
4b8fa1648c Do not hardcode dll paths in libraries. That's not really needed, and
would force us to relink all libraries when staging.

Now that libraries do not hardcode dll paths, add a check that correct
-rpath-link options are added. When staging, we don't hardcode-dll-paths,
and libraries never hardcode dll paths, so if there's a long chain of
libraries, we should add -rpath-link, otherwise the linker won't find
the dynamic libraries and will complain.


[SVN r25756]
2004-10-16 09:31:58 +00:00
Vladimir Prus
17a685e035 Library improvements:
lib png : z : <name>png ;
  lib z : : <name>z ;

now works: if you link to 'png' you'll also link to 'z'.

  lib png : z : <file>png.a ;
  lib z : : <file>z.a ;

now works too. The 'prebuilt.jam' modules which used to handle <file> for
all target kinds is now removed.


[SVN r25703]
2004-10-13 10:46:53 +00:00
Vladimir Prus
a1753dcec1 Additional test
[SVN r25702]
2004-10-13 08:03:59 +00:00
Vladimir Prus
8f7c1dde3d Restore the gcc specific link generators.
* build/toolset.jam (inherit-generator): New parameter 'generators-to-ignore'.
* tools/gcc.jam: Ignore *link* generators when inheriting. Declare the
  gcc specific generator.
* test/gcc_runtime.py: Test that <link-runtime>static is correctly handled.
  The gcc specific generator is necessary exactly for that reason.


[SVN r25700]
2004-10-13 08:02:23 +00:00
Vladimir Prus
e646c5b8f8 Ignore <library>, except for "exe" and "lib" targets.
[SVN r25661]
2004-10-11 12:13:48 +00:00
Vladimir Prus
2a64d512a2 Rename lib.err.cpp to lib-err.cpp.
[SVN r25655]
2004-10-11 06:57:05 +00:00
Vladimir Prus
fc48453c63 Rename test-config.jam.in to test-config-example.jam.
[SVN r25654]
2004-10-11 06:52:10 +00:00
Aleksey Gurtovoy
8ba474bdcf c++boost.gif -> boost.png replacement
[SVN r25572]
2004-10-05 15:23:19 +00:00
Vladimir Prus
1e7af707c3 Reduce directory depth, for CD FS benefit.
[SVN r25565]
2004-10-05 07:55:20 +00:00
Vladimir Prus
3f30646c81 Remove one directory level in testcase, so stay below 8-level limit of some
broken systems.


[SVN r25563]
2004-10-05 07:12:26 +00:00
Vladimir Prus
b86474fe8e Change the way generators selection works. Now, instead of computing
'rank' for each viable generator, we use explicit information of the
form 'generator A is better than generator B', which is provided by
the user. The obvious goal is to fix 'custom_generator' failure on
msvc, but generally, I'm fixing BB76 -- which says that current generators
selection is very broken.


[SVN r25361]
2004-09-23 07:44:59 +00:00
Vladimir Prus
8066b6a56e Support the && syntax in the property.translate-paths rule.
[SVN r25339]
2004-09-22 14:25:04 +00:00
Vladimir Prus
41a6ad007c Support AIX and IRIX.
[SVN r25301]
2004-09-21 13:36:36 +00:00
Vladimir Prus
b91aafa44c Revert the previous behaviour of unit-test: it does not store output into
a file but shows it on the screen. However, the proper setting of run
paths is not done for unit-test too.


[SVN r25035]
2004-09-13 09:32:37 +00:00
John Maddock
93a525dc98 BSL update.
[SVN r25016]
2004-09-11 12:12:38 +00:00
Vladimir Prus
553e750fce Another attempt to kill SunCC's warning.
[SVN r25004]
2004-09-10 12:44:00 +00:00
Vladimir Prus
28b4b7adb4 Don't generate empty source file -- SunCC warns in that case.
[SVN r25000]
2004-09-10 11:46:22 +00:00
Vladimir Prus
45d30cdade Add some missing newlines. Sun compiler generates warning otherwise.
[SVN r24998]
2004-09-10 11:42:04 +00:00
Vladimir Prus
197d88d856 Use windows file extensions under cygwin.
[SVN r24988]
2004-09-09 12:23:00 +00:00
Vladimir Prus
6d7b79da48 Simplify the test, and avoid conflicts with the 'RC' type defined in
'msvc.jam/rc.jam'.


[SVN r24986]
2004-09-09 10:55:59 +00:00
Vladimir Prus
474a7fdbef Robustify Tester.expect_content: don't crash when the file does not
exist.


[SVN r24985]
2004-09-09 10:50:52 +00:00
Vladimir Prus
b474060d8e Add missing dllexport/dllimport.
[SVN r24974]
2004-09-08 14:56:04 +00:00
Vladimir Prus
692ec14ece Only SystemExit exception from test module indicates failure. Other exceptions
indicator error in the test, so should not be caught.


[SVN r24973]
2004-09-08 14:48:46 +00:00
Vladimir Prus
95f617c6a2 Work around generators_test failure on msvc
[SVN r24885]
2004-09-03 08:03:26 +00:00
Vladimir Prus
62b3b18c4c Do no check for return status of build at all. For some reason, on
msvc, 0 is returned and that broke the test. But really, we're interested
only if user-defined generator is run, not that the result is compiled.


[SVN r24779]
2004-08-27 08:16:38 +00:00
Vladimir Prus
c14c9b8e6c BSL
[SVN r24749]
2004-08-26 11:19:23 +00:00
Vladimir Prus
834d66a456 Fix the <link-runtime>static property on gcc.
[SVN r24665]
2004-08-23 12:40:23 +00:00
Vladimir Prus
3641f8988f Add a specific test for issue BB60, so that I can close it.
[SVN r24662]
2004-08-23 11:20:43 +00:00
John Maddock
c06ce55478 removed the last boost.org copyright
[SVN r24615]
2004-08-20 11:32:03 +00:00