2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-01 20:32:17 +00:00
Commit Graph

1865 Commits

Author SHA1 Message Date
Vladimir Prus
4e9af774ce Revamp path.glob.
The problem with the previous implementation is that it would iterate
over all elements in a dir even if 'pattern' had no metacharacters. First,
that was slow -- if you handed

  /cygdrive/w/My Documents/boost/test/a.cpp

to it, it would crawl all the way to the top, listing each directory and
checking each file. Second, it would fail, because Cygwin is broken and
does not show 'cygdrive' is the list of directory elements of '/'.

Now we check if a pattern has metacharacters, and if not, just do
a simple 'timestamp' call.

The new glob is implemented as new 'GLOB-RECURSIVELY' builtin. I've decided
to use builtin since otherwise, we'd need 'does this name exist' builtin,
and if we need new builtin, why don't implement all globbing in core.


[SVN r29163]
2005-05-24 07:57:56 +00:00
Vladimir Prus
c7bce34d14 Don't use 'jam' in tests -- it's not built by default now.
[SVN r29157]
2005-05-23 11:09:31 +00:00
Vladimir Prus
63a403d05c Some commentary.
[SVN r29154]
2005-05-23 06:35:28 +00:00
Toon Knapen
d8a85aca97 xlf compiler has no preprocessing and the -D option is used for soth. else
[SVN r29056]
2005-05-19 06:51:42 +00:00
Toon Knapen
e0b33b5698 port to windows
[SVN r28859]
2005-05-13 10:18:28 +00:00
Rene Rivera
f6815f3145 Patch from snaury@narod.ru to fix "a bug in file filent.c' in function file_archscan', which causes long .o files in archives invisible to jam, and thus jam always recompiles such .o files, when using, for instance, mingw".
[SVN r28703]
2005-05-06 23:46:50 +00:00
Vladimir Prus
c54115e466 Remove dead code.
[SVN r28649]
2005-05-04 06:06:34 +00:00
Vladimir Prus
1ba752ef0a Adjust library suffixes for OSX.
[SVN r28631]
2005-05-03 14:58:24 +00:00
Vladimir Prus
7c853cb61e Clarify comments.
[SVN r28627]
2005-05-03 14:07:36 +00:00
Vladimir Prus
3f3d979ffd Support FreeBSD for Boost.Build self-tests.
Patch from Craig Rodrigues.


[SVN r28623]
2005-05-03 06:15:08 +00:00
Rene Rivera
eefe778ebc * Increase version, long overdue.
* Build bjam only by default, instead of all the other misc binaries.
* Implement disabling of splitting of imported variables. Not enable yet.
* Fix 7zip archiver search to work with newest 7z version.


[SVN r28541]
2005-04-30 06:28:38 +00:00
Vladimir Prus
de89d725b9 Allow "bjam hello.o" to work.
[SVN r28514]
2005-04-28 14:14:59 +00:00
Dave Abrahams
bea3e444d1 Some hacks to make things "work" on Windows. I'm not really sure what
I'm doing, though: this is all black magic, still.


[SVN r28513]
2005-04-28 13:18:52 +00:00
Vladimir Prus
17b369510a Handle spaces in paths.
[SVN r28512]
2005-04-28 13:16:09 +00:00
Vladimir Prus
05967f912f Don't relink exe on CYGWIN.
I believe no dynamic paths are hardcoded in shared libraries, so relinking
is not needed.


[SVN r28511]
2005-04-28 12:31:52 +00:00
Vladimir Prus
ca7a7cd351 Don't ever change target names in virtual-target.clone-action.
At the moment, the rule is used only by 'stage.relink'. In that case, we
just want to relink a target to a different location. The previous
version of clone-action, however, would create file-target with the original
name but without telling that the name is exact, so file-target would add
extension appropriate to the type.

This is only a problem when we relink a type which non-empty extension,
and there are no known uses -- we need relinking only for EXEs on Unix,
and exe extension is empty. But to avoid further problem, I'm fixing this.

This problem manifested itself because on cygwin, we incorrectly tried
to do relinking. This should not do any harm, in fact, only be inefficient,
but instead we got double ".exe" on staged binaries.


[SVN r28510]
2005-04-28 12:28:52 +00:00
Vladimir Prus
4447529606 Fix setting of DLL search path for testing on CYGWIN.
[SVN r28509]
2005-04-28 12:05:22 +00:00
Vladimir Prus
05baf3245d Fix path.glob on cygwin.
It was completely broken with absolute windows paths because /cygdrive
is valid cygwin path, but 'cygdrive' is not shown when listing the '/'
directory.


[SVN r28508]
2005-04-28 08:04:41 +00:00
Rene Rivera
0ed0573dac boostbook.jam; Make it possible to configure where to find boostbook files.
boostbook-config.jam; Find boostbook files using Boost install key.
quickbook-config.jam; Auto config of quickbook tool.


[SVN r28464]
2005-04-25 04:24:04 +00:00
Rene Rivera
834fa0f267 Make the version/variant tag conform to BBv1 behaviour.
[SVN r28439]
2005-04-23 16:36:59 +00:00
Vladimir Prus
b8e017d7cf Test for absolute glob patterns.
[SVN r28380]
2005-04-21 10:44:42 +00:00
Vladimir Prus
d2f1a4d7b3 Handle HOME that contains spaces.
[SVN r28379]
2005-04-21 10:37:58 +00:00
Vladimir Prus
a464abd291 Fix handling of build-dir attribute on windows. We did not correctly
recognize when it was absolute.


[SVN r28378]
2005-04-21 09:23:14 +00:00
Vladimir Prus
bfa598ce5f Don't run abs_workdir from test_all.py, because that's internal test for
test system, not for Boost.Build itself. In addition, the test doesn't work
for Windows.


[SVN r28376]
2005-04-21 08:55:09 +00:00
Vladimir Prus
2216c20cf2 Escape backslashes, otherwise the test won't work on Windows.
[SVN r28375]
2005-04-21 08:50:39 +00:00
Vladimir Prus
ff00d258a6 Mark Jamfile as user module, so that errors.user-error works.
[SVN r28372]
2005-04-21 08:27:42 +00:00
Vladimir Prus
f2787a2a64 Handle more than one testing file in the 'run' rule. Not 100% final
solution, but works for the single case in Boost where it matters.


[SVN r28371]
2005-04-21 08:27:02 +00:00
Rene Rivera
eddde5ea0f Automatic configuration of tools.
[SVN r28351]
2005-04-21 01:12:18 +00:00
Rene Rivera
9ed4ae4d16 Automatic configuration of tools.
[SVN r28348]
2005-04-20 23:23:28 +00:00
Rene Rivera
546f23a071 Automatic configuration of tools.
[SVN r28345]
2005-04-20 20:48:15 +00:00
Vladimir Prus
383b12a6a7 Replace 'runtime-link' with 'link-runtime' everywhere.
[SVN r28335]
2005-04-20 11:48:48 +00:00
Vladimir Prus
cc90f76c92 Correctly include names of generating main target in 'duplicate target' error.
Thanks to Alexey Syomichev for the bug report.


[SVN r28319]
2005-04-19 13:45:08 +00:00
Vladimir Prus
66b423305a Added forgotten files
[SVN r28314]
2005-04-18 08:48:05 +00:00
Vladimir Prus
80f4b29b8c Make doxygen work even if it's initialized before boostbook.
The doxygen module is not really standalone, it requires Boost.Book XSL
stylesheets, and so needs to get their location from the boostbook module.
Previously, the doxygen.init module would get the stylesheet dir, and if
it's empty, would not declare some generators. So, if doxygen is initialized
before bookstbook, some conversion won't work.

Now, generators are defined in all cases, but when the action is run, we
check that boostbook was initialized.


[SVN r28313]
2005-04-18 07:42:33 +00:00
Vladimir Prus
a6d67a8e64 Fix --build-dir for invocation from subdirs.
[SVN r28237]
2005-04-14 10:53:54 +00:00
Vladimir Prus
1a4eacf99a Implemented the --build-dir option.
[SVN r28236]
2005-04-14 10:34:11 +00:00
Rene Rivera
a0a4ab7a52 Update link to tracker. Tidy into XHTML.
[SVN r28216]
2005-04-13 15:41:54 +00:00
Vladimir Prus
d6025c4363 Do not inherit standlone project from user-config.
Since standalone projects can be defined by toolset modules, invoked
from site-config.jam and user-config.jam, inheriting from not yet fully read
modules is tricky. Especially when toolset module is invoked from site-config.
We can't inherit from user-config, if we did not even start to load it!


[SVN r28212]
2005-04-13 11:38:22 +00:00
Vladimir Prus
f540e43f20 Small tweak.
* tools/common.jam (handle-options): Allow multi-token command name.


[SVN r28180]
2005-04-12 14:08:11 +00:00
Vladimir Prus
8a035f29a9 Test multi-token project constants.
[SVN r28179]
2005-04-12 14:06:45 +00:00
Vladimir Prus
1a877e8416 Generate a fully working test, not just code snipped
[SVN r28178]
2005-04-12 14:05:36 +00:00
Vladimir Prus
2c33cbdf96 Fix the location of PDF docs on sf
[SVN r28174]
2005-04-12 12:43:08 +00:00
Vladimir Prus
94379eb9cc New 'project-root' attribute. Needed for --dump-tests.
[SVN r28106]
2005-04-11 12:35:11 +00:00
Vladimir Prus
9cb7cee292 Tweak the generator pruning code that that generators with empty source
type list are considered to accept anything and never pruned.


[SVN r28103]
2005-04-11 11:59:10 +00:00
Vladimir Prus
26c3ff4315 Some further work on Python.
[SVN r28102]
2005-04-11 11:07:07 +00:00
Vladimir Prus
9b49448625 Output library name for --dump-tests.
[SVN r28099]
2005-04-11 10:10:37 +00:00
Vladimir Prus
b386f8d6c1 All projects without explicit root are now children of user-config
and user-config is a child of site-config.


[SVN r28095]
2005-04-11 06:35:08 +00:00
Vladimir Prus
83dafa7488 Don't crash on use of <tag> in directories containing dots.
The <tag> rule if often used in Jamfile like this: <tag>@$(__name__).rule.
The __name__ looks like Jamfile<jamfiles'directory>. When directory has
a dot, we we confused and took the part till the first dot as the
name of module.

Now, such values are processed closer to the definition point, where
we know the name of the module and don't need to guess it by looking at
the name.

Thanks to Juergen Hunold for the bug report.


[SVN r28063]
2005-04-08 13:23:05 +00:00
Vladimir Prus
adf2fa4533 Unbreak path.glob on Windows.
[SVN r28061]
2005-04-08 11:41:47 +00:00
Vladimir Prus
5ed8231d59 Cleanup path.glob and make it handle absolute paths without infinite looping.
[SVN r28018]
2005-04-06 15:27:41 +00:00