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

927 Commits

Author SHA1 Message Date
Vladimir Prus
bb73dfd63a Bugfix: recognize '.a' as valid extension for libraries, on Cygwin.
Bug reported by Wieger Wesselink.


[SVN r18559]
2003-05-27 14:23:51 +00:00
Vladimir Prus
3fb20369d8 Add infrastructure which allows project-root.jam to fulfil Jamfile
role as well, so that small projects can use only one file.

* new/project.jam
  (load): Load project root at the very start, in case it wants to
     be Jamfile.
  (act-as-jamfile): New rule.
  (module-name): Allow to tweak the name of module associated with a location.


[SVN r18557]
2003-05-27 07:00:32 +00:00
Vladimir Prus
f93a741446 Refactorings.
* new/project.jam
  (load): Prevent loading jamfile twice here, since we have all the
     necessary data.
  (load-jamfile): Don't try to check for duplicate loading (the check
     was a bit clumsy, anywhay). Remove 'loaded-var' parameter.


[SVN r18556]
2003-05-27 06:35:48 +00:00
Vladimir Prus
c1aa2a6273 Update the railsys tests for recent QT changes.
[SVN r18555]
2003-05-27 06:08:09 +00:00
Vladimir Prus
2459873857 Change the QT toolset to use new standalone project feature.
[SVN r18545]
2003-05-26 14:44:24 +00:00
Vladimir Prus
e8463abada Allow 'standalone' projects.
* new/project.jam
  (inherit-attribute): New rule, extracted from 'initialize'.
  (initialize): Allow 'jamfile' parameter to be empty, in which case
    the project is 'standalone'.


[SVN r18544]
2003-05-26 14:30:26 +00:00
Vladimir Prus
13c385b491 Refactorings. Use module name to identify Jamfiles, not the directory where
they are located. The problem with using the directory name is that we might
want toolset modules to act as project, and directory name is not unique then.
We might even want to declare two projects in the same module.


[SVN r18542]
2003-05-26 13:51:21 +00:00
Vladimir Prus
88370d5a63 Refactorings: remove 'project-root' attribute of project, for lack of any
use.

* new/project.jam
  (initialize): Register with project root here. Don't initialize the
   'project-root' attribute.
  (project-attributes.set): Don't allow 'project-root' and 'project-root-module'.


[SVN r18541]
2003-05-26 12:56:24 +00:00
Vladimir Prus
1d0317cd2e Introduce 'profile' variant.
[SVN r18509]
2003-05-23 11:36:27 +00:00
Vladimir Prus
5dc40cd49a Bugfix.
* new/stage.jam
  (stage-target-class.construct): Pass the result via
  'virtual-target.register'. I wonder if virtual targets should
   be create via 'virtual-target.create' which will invoke
  'virtual-target.register' internally. Passing via 'register' was forgotten
   in many places.

* test/stage.py: New test.


[SVN r18497]
2003-05-22 13:23:40 +00:00
Vladimir Prus
c052b1ad2b Add/clarify comments.
[SVN r18496]
2003-05-22 11:50:10 +00:00
Vladimir Prus
fcbb3a32f2 Add missing import.
[SVN r18495]
2003-05-22 11:48:39 +00:00
Vladimir Prus
2e2d1a1685 Fix debian package build.
[SVN r18492]
2003-05-22 08:41:18 +00:00
Vladimir Prus
db4f219cb0 Fix typo, reported by Sam Partington.
[SVN r18480]
2003-05-21 09:44:26 +00:00
Vladimir Prus
d7d68b98ed Correct SF download location URL.
[SVN r18479]
2003-05-21 07:03:41 +00:00
Vladimir Prus
57b93d881f Bugfix: add "bin" to explicitly provided path.
[SVN r18477]
2003-05-21 06:20:43 +00:00
Vladimir Prus
eaa52a9be4 Don't warn about multiple msvc installations when --quiet is passed,
to avoid spirious test failures.


[SVN r18476]
2003-05-21 05:41:04 +00:00
Vladimir Prus
220713e082 Use the previous approach for finding generator's match rank, now
that we have a use case. Add an explanation in code. More details
will be posted to the list.


[SVN r18475]
2003-05-21 05:37:39 +00:00
Vladimir Prus
179bcfd272 Set 'x' bit on jam_src/build.bat, so that it's executable under cygwin.
[SVN r18465]
2003-05-20 10:23:44 +00:00
Dave Abrahams
aa4dacd6b6 added missing includes
[SVN r18457]
2003-05-19 21:25:34 +00:00
Vladimir Prus
db0e5275e5 Add msvc and borland to default user-config.jam.
[SVN r18449]
2003-05-19 12:57:29 +00:00
Vladimir Prus
95ec8bfc41 Ignore borland debug symbols.
[SVN r18448]
2003-05-19 12:39:06 +00:00
Vladimir Prus
cf46e57f64 Improve distro roller.
[SVN r18447]
2003-05-19 12:26:27 +00:00
Vladimir Prus
c9b3a8449a Make toolset.using accessible in project-root. It's a great convenience
for testing.


[SVN r18441]
2003-05-19 10:52:31 +00:00
Vladimir Prus
51d8568b7c Fix a couple of fallouts from the default build change.
* new/make.jam
  (make): Pass 'default-build' in the right position.

* new/targets.jam
  (basic-target): Use empty property-set if no default-build is passed.
  (main-target): Use 'raw' to test property-set for emptines. The string
  emptyness test that use to be there does not works for property-sets.


[SVN r18440]
2003-05-19 10:28:02 +00:00
Vladimir Prus
26a1bae954 Check for bjam 3.1.5.
[SVN r18439]
2003-05-19 10:09:56 +00:00
Vladimir Prus
2f3cd9913e Bump bjam version to 3.1.5. The current V2 codebase won't work with
older bjams, at all.


[SVN r18437]
2003-05-19 10:07:00 +00:00
Vladimir Prus
1d14f245bf Fix a bug with default build handling. The bug was caused by the fact that
default build was stored as plain list, and implied properties were not
converted. E.g. we had "debug release", not "<variant>debug <variant>release",
which was assumed.

* new/targets.jam
  (main-target, basic-target): Store 'property-set' as default-build
  attribute.
  (main-target-default-build): Use 'property-set.create-with-validation'.

* new/property-set.jam
  (create-with-validation): New rule.

* test/default_build.py: More tests.


[SVN r18436]
2003-05-19 09:54:08 +00:00
Vladimir Prus
defd336b87 Add missing imports.
[SVN r18435]
2003-05-19 09:01:11 +00:00
Dave Abrahams
4ee5b15a5d * expand.c - Implemented :W modifier for Cygwin->Windows path
translation.  Cleaned up indentation and idiomatic use of string.

* index.html - documented recent features including VARNAMES and
  DELETE_MODULE

* borland.jam, msvc.jam - use the new :W modifier to simplify
  code (but only somewhat)

* BoostBuild.py - ignore MSVC .ilk files under Cygwin and NT


[SVN r18434]
2003-05-19 06:30:44 +00:00
Dave Abrahams
1722b16700 * Restored the printing of qualified names from invoked actions.
Consequently rolled back the workaround in make_rule.py

* Added new indirect rule invocation module for encoding the module to
  invoke a rule from as well as the exact name to invoke it by, and
  for subsequent invocation.

* Fixed module __test__ rules so they really do execute in a separate
  module.  Associated tweaks to __test__ in path.jam


[SVN r18427]
2003-05-16 16:30:13 +00:00
Dave Abrahams
f649657300 Added missing import
[SVN r18426]
2003-05-16 15:51:36 +00:00
Dave Abrahams
2da99c1a86 Fixed scoping of invocations to typechecking rules. They weren't being
executed in the right module.


[SVN r18425]
2003-05-16 15:51:08 +00:00
Vladimir Prus
cd49e5bc38 Unbreak 'searched_lib.py'.
* new/virtual-target.jam
  (null-action): Pass '.no-action' as action name, not 'no-action'. The
  action name is really dummy, it's not used at all. However, when it does
  not include dot, the smart 'action' ctor will assume it's local and prepend
  module name to it. The calling module will be 'null-action' instance module,
  always unique, and as result, no two targets with null actions will be
  equal, as far as 'virtual-target.register' is concerned.


[SVN r18424]
2003-05-16 12:57:40 +00:00
Vladimir Prus
a9b3747ed1 Add a (terrible verbose, but hopefully clear) commentary.
[SVN r18423]
2003-05-16 12:49:59 +00:00
Vladimir Prus
db91ec9eeb Unbreak make_rule.py. The change in actions reporting broke it.
[SVN r18422]
2003-05-16 12:38:50 +00:00
Vladimir Prus
b651eb1fee Run 'unused' now that it works.
[SVN r18421]
2003-05-16 12:15:36 +00:00
Vladimir Prus
bb4b314443 Add missing import.
[SVN r18420]
2003-05-16 12:14:56 +00:00
Vladimir Prus
8bcd63ab24 Remove ECHO. I'm not sure if it was for debugging or not, but the list
of all actions that jam could possibly execute is not good-looking. E.g:

    gcc.compile
    gcc.link-dll
    gcc.compile
    gcc.link
    ...found 19 targets...
    ...updating 9 targets...
    MkDir1 app/bin/gcc
    MkDir1 app/bin/gcc/debug
    MkDir1 app/bin/gcc/debug/main-target-app
    compile app/bin/gcc/debug/main-target-app/app.o


[SVN r18418]
2003-05-16 12:00:50 +00:00
Vladimir Prus
23078d9d4a Add forgotten files.
[SVN r18417]
2003-05-16 11:23:17 +00:00
Vladimir Prus
ec1ae4a42d More changes to accomodate more strict import semantics and changes
to feature.action.


[SVN r18416]
2003-05-16 11:05:42 +00:00
Dave Abrahams
b0e68b86a4 Improved comment for Volodya
[SVN r18415]
2003-05-15 23:15:41 +00:00
Dave Abrahams
7555f7e166 added missing import
[SVN r18412]
2003-05-15 22:31:03 +00:00
Dave Abrahams
ce112daf23 Workaround svn_tree deficiency on Cygwin
[SVN r18411]
2003-05-15 22:30:47 +00:00
Dave Abrahams
3bb7442512 * added new builtin tests
* handle the absence of QT more gracefully

* flush stdout after each test so that emacs shows progress

****** Commented out tests which appear to be failing outside my control ******


[SVN r18410]
2003-05-15 22:30:08 +00:00
Dave Abrahams
1e2b34c928 tests for new builtin rules
[SVN r18409]
2003-05-15 22:27:47 +00:00
Dave Abrahams
acb95541c1 * Prefer to test with a debug version of bjam if one is available
* Always dump stdio/stderr when there's a failure


[SVN r18408]
2003-05-15 22:27:25 +00:00
Dave Abrahams
6ebded3459 Note: there is currently a circular dependency between type.jam and
virtual-target.jam.

- Added the missing explicit imports, now that we don't dump
  everything into the global module with qualification

- stopped using the feature-space hack for temporary testing states of
  the feature module.  Instead we move its global variable definitions
  to a temporary module.

- the way feature.action was invoking the rule it was being passed was
  evil.  Now you pass (even local) rules without qualification and
  they are invoked in the source module context.

- module __test__ rules are always executed in a separate module, so
  that their import dependencies can be separated from those of the
  module being tested.

- better reporting of circular module-loading dependencies
  implemented.

- minor changes:

    property-set.jam:  moved .empty initialization to avert circular
    load dependency .

    symlink.jam: fixed global variable naming.


[SVN r18407]
2003-05-15 22:22:13 +00:00
Dave Abrahams
91f796fa72 * builtins.c/h, modules.c/h - Added VARNAMES and DELETE_MODULE rules,
for getting the list of variable names and for clearing all rule and
  variable storage.

* compile.c - better error reporting for unknown rules; now it is a
  hard error.

* hash.c/h - added hash_free to allow removal of elements from a hash

* rule.c/h - implemented rule freeing; stopped exporting rules to the
  global module by default.

* variable.c - reclaim variable storage when disposing of variable
  hash.

* build.jam - make grammar building work under NT


[SVN r18405]
2003-05-15 20:53:16 +00:00
Dave Abrahams
ab3a315a73 Don't look for 'yacc' without an '.exe' extension on NT, because we
might find the Cygwin script which isn't executable through the NT
shell.


[SVN r18404]
2003-05-15 20:07:44 +00:00