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

366 Commits

Author SHA1 Message Date
Rene Rivera
2856b43ee6 Remove non-platform sources from bootstrap build.
[SVN r30361]
2005-08-01 14:14:43 +00:00
Rene Rivera
334d9aba95 Don't compile extra non-platform files during bootstrap.
[SVN r30358]
2005-08-01 13:39:46 +00:00
Vladimir Prus
d4f3ef3066 Include <unistd.h> to get definition of _exit.
Patch from Craig Rodrigues.


[SVN r30308]
2005-07-29 09:30:12 +00:00
Vladimir Prus
24c5f2114d Remove mention of "jam.exe", that's no longer is built.
Patch from Craig Rodrigues.


[SVN r30214]
2005-07-22 12:42:20 +00:00
Rene Rivera
7442359c21 Fix uninitialized in/out param for getting the registry value. Thanks to Alexey Pakhunov for the patch.
[SVN r30142]
2005-07-17 16:09:33 +00:00
Vladimir Prus
b6e5510d5f Docs for the SHELL builtin.
Patch from Craig Rodrigues.


[SVN r30066]
2005-07-14 08:59:24 +00:00
Rene Rivera
42ebfffce8 Add SHELL, execute command an capture output, builtin. Original work from Craig Rodrigues, implemented slightly modified.
[SVN r30027]
2005-07-13 04:26:01 +00:00
Markus Schöpflin
c675d1d332 Added define for unix, which is defined on Tru64 4.0F but not on Tru64 5.1.
[SVN r29926]
2005-07-07 09:27:19 +00:00
Markus Schöpflin
79a2641feb Removed quotes around the command to run in echo_run(), because this was causing
the build to fail in the second stage on Tru64 4.0F. It seems like bjam tried to
build the target " " or something like that.


[SVN r29925]
2005-07-07 09:23:34 +00:00
Markus Schöpflin
1a97191fe7 Fixed 'command -v' usage and added test for OSF1.
[SVN r29924]
2005-07-07 08:36:39 +00:00
Rene Rivera
93833a71d6 Handle the case when 'command' doesn't support the -v option.
[SVN r29756]
2005-06-23 18:02:55 +00:00
Rene Rivera
4b64a5cbc7 Replace "whence" with "command" as that is more widely available.
[SVN r29733]
2005-06-22 13:59:39 +00:00
Rene Rivera
db8403c38a Fix so that compiling with CW/metrowerks works again.
[SVN r29688]
2005-06-19 19:39:53 +00:00
Vladimir Prus
6a074a1c81 Kill the "using independent target" warning.
It never helped to catch a real problem, but consistently annoys users.


[SVN r29612]
2005-06-16 10:19:09 +00:00
Vladimir Prus
ba77b030fe Do not hardcode binary name for output, use argv[0].
Patch from Craig Rodrigues.


[SVN r29445]
2005-06-06 12:16:26 +00:00
Vladimir Prus
b5f1e43038 Don't produce incomprehensible message with --debug-configuration when
boost-build.jam could not be loaded.


[SVN r29440]
2005-06-06 07:51:18 +00:00
Vladimir Prus
5a4d0dafb7 rules.c (bindrule): When rule is not found, enter into the specified module,
not the global one.


[SVN r29439]
2005-06-06 06:29:52 +00:00
Vladimir Prus
3892b06d72 When manipulating BOOST_BUILD_PATH, update the value in the .ENVRION module.
Otherwise, the added path elements won't be seen when loading user-config.jam
and site-config.jam and we'll get error when those files are present only
in V2 directories.


[SVN r29360]
2005-06-02 06:22:06 +00:00
Dave Abrahams
9b516221b5 const-correctness for strings.[ch]
Removed flotsam from modules.h

Bind all environment variables, without any preprocessing for quotes,
spaces, or path separators, into the .ENVIRON module.


[SVN r29277]
2005-05-30 03:42:38 +00:00
Rene Rivera
adcf936d3d Fix use of C++ declaration semantics/syntax, in C file. Well Aleksey fixed it already.. So just cleanup the indentation, etc.
[SVN r29257]
2005-05-28 16:02:54 +00:00
Aleksey Gurtovoy
08a9ef1d0a move definition to the top of the block to make code ANSI C compliant
[SVN r29256]
2005-05-28 15:56:31 +00:00
Dave Abrahams
9099c2955e Workaround for vc6 preprocessor bug.
[SVN r29252]
2005-05-27 18:32:23 +00:00
Dave Abrahams
bea9c85585 Finally, a real fix for the spawn problem, I hope.
[SVN r29250]
2005-05-27 17:06:30 +00:00
Rene Rivera
a97e4369a4 Fix building of bjam itself after floating options change. Needed to make sure that we eat up the multi arg options if they exist.
[SVN r29239]
2005-05-27 03:48:04 +00:00
Dave Abrahams
f97111f4cb Eliminate undefined behavior and fix a spelling error.
[SVN r29238]
2005-05-27 03:18:08 +00:00
Rene Rivera
40a630e54b Remove restriction that option arguments need to be before target arguments. Options can now be intermixed with targets.
[SVN r29232]
2005-05-26 17:20:32 +00:00
Vladimir Prus
a9144a5ec3 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
Rene Rivera
9fc5e08b57 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
Rene Rivera
7b4b0d6b8f * 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
Pedro Ferreira
332ac9b372 Updated inadvertently.
[SVN r27567]
2005-03-07 20:27:00 +00:00
Pedro Ferreira
1d67ca0735 Changed generators so that they now receive only an id of a rule, not the rule itself.
Added basic support for darwin.


[SVN r27566]
2005-03-07 20:22:39 +00:00
Vladimir Prus
e98ac4ece6 Initial Python integration support. Disabled by default, find and
change the setting of HAVE_PYTHON in build.jam to enable it.


[SVN r27559]
2005-03-05 07:59:14 +00:00
Rene Rivera
419b0ea085 _S_IFREG is not a standard stat() flag. The standard flag is "S_IFREG". This fixes compilation on CW8, probably others.
[SVN r27368]
2005-02-14 04:02:52 +00:00
Dave Abrahams
5539d6e2b9 jam_src/
builtins.{c,h}
        Support for the REBUILDS rule
        remove unused variable

    rules.h
    make.c
        Support for the REBUILDS rule

    make1.c
        Support for the REBUILDS rule

        Support for recording timing information

        Restructured a case statement because it was masking a bug I
        introduced.

    execcmd.h
    execnt.c
    execunix.c
        Support for recording timing information
        Also removed NT-specific stuff from execunix

    expand.c
        Removed tabs from critical comment
        Added tab-width variable setting comment for emacs.

v2/test
    rebuilds.py, timedata.py, test_all.py
        Tests for REBUILDS and timing.


[SVN r27334]
2005-02-12 02:30:18 +00:00
Rene Rivera
600978f0a3 build.bat - Change --incremental to --update.
build.sh - implement --update option.


[SVN r26591]
2004-12-28 06:09:25 +00:00
Rene Rivera
a84a98b7a3 Add --incremental option to skip bootstrap and clean if not needed.
[SVN r26588]
2004-12-27 22:33:07 +00:00
Rene Rivera
c71df7d542 Bootstrap to a single directory instead of a per toolset directory. This helps in automated rebuilding per Dave A. suggestion.
[SVN r26587]
2004-12-27 20:54:13 +00:00
Rene Rivera
342481bed3 Catch file open errors when creating batch command files. Thanks to Reece Dunn for catching the errors.
[SVN r26586]
2004-12-27 20:29:25 +00:00
Vladimir Prus
7f649c3f09 Fix compilation error on some msvc versions.
[SVN r26580]
2004-12-23 11:50:43 +00:00
Vladimir Prus
8a9d9cad5d New builtin CHECK_IF_FILE, which check is a path refers to a regular file,
or something else.


[SVN r26572]
2004-12-22 07:33:12 +00:00
Vladimir Prus
49aa05d3b4 New builtins USER_MODULE and NEAREST_USER_LOCATION. V2 changes and
explanations are coming later.


[SVN r26466]
2004-12-07 10:21:25 +00:00
Rene Rivera
6e007a1b64 Part 1 and 2 of http://article.gmane.org/gmane.comp.lib.boost.build/6997 - Add ability to mark targets as rquired to be files (ISFILE).
[SVN r26234]
2004-11-18 19:38:16 +00:00
Vladimir Prus
3d8e910ab2 Revert part of the previous commit. This caused problems in case of:
l = foo//bar ;
  ECHO $(l:G=) ;

bjam would replace double slash with single slash.

Thanks to Jurgen Hunold for the bug report.


[SVN r25928]
2004-10-29 09:25:33 +00:00
Vladimir Prus
b9aa85925a Bugfix: on windows, when building a path from root = "h:\" and base
"user-config.jam", the result was "h:\\user-config.jam", which was not
found.

* jam_src/pathunix.c (path_build): Check if root ends with slash before
  adding yet another one. Simply similiar check for directory element.

Thanks to Jurgen Hunold for the bug report.


[SVN r25909]
2004-10-28 08:47:15 +00:00
John Maddock
b5b4145076 Added original jam copyrights.
[SVN r25888]
2004-10-27 11:45:36 +00:00
Rene Rivera
74e63d39f7 Apply patches from Patrick Mauritz, with some changes, to account for DragonFly, a FreeBSD variant.
[SVN r25782]
2004-10-19 15:12:59 +00:00
Aleksey Gurtovoy
9056a721a5 c++boost.gif -> boost.png replacement
[SVN r25572]
2004-10-05 15:23:19 +00:00
Victor A. Wagner Jr.
9fb1205b59 Added - an extra char at the end of the name string and set it to '\0' so
we don't go galavanting off through memory by mistake.


[SVN r25441]
2004-09-28 05:13:28 +00:00
Vladimir Prus
79b42618ea Missing include
[SVN r25284]
2004-09-20 15:08:27 +00:00
John Maddock
ac6399f4c0 Fixed missing comment end
[SVN r25108]
2004-09-15 11:06:07 +00:00