There is a new release of B2 and there are some important changes.. * The build-build.jam file, and the build-system rule, used to specify where to find the build system Jam file is no longer used for that purpose. There is now an internal method for finding the corresponding build files relative to the b2 executable. This means that the preferred method for using B2 is to install it first. But, the regular bootstrap use in Boost is still supported. * There is now a Windows MSI installer available that supports both per-user and per-machine installs without having to build it yourself. * Installing the current, and future, B2 allows one to use the newest B2 with current Boost release and most older Boost releases. And of course the same goes for non-Boost projects. For other changes see the release notes < https://github.com/bfgroup/b2/releases/tag/4.9.0> -- -- René Ferdinand Rivera Morell -- Don't Assume Anything -- No Supone Nada -- Robot Dreams - http://robot-dreams.net
They should not be for regular uses.
On Sun, May 15, 2022 at 3:04 PM Vinnie Falco
On Sun, May 15, 2022 at 1:00 PM René Ferdinand Rivera Morell via Boost
wrote: There is a new release of B2 and there are some important changes..
Are these breaking changes?
Thanks
-- -- René Ferdinand Rivera Morell -- Don't Assume Anything -- No Supone Nada -- Robot Dreams - http://robot-dreams.net
On 5/15/22 23:00, René Ferdinand Rivera Morell via Boost wrote:
There is a new release of B2 and there are some important changes..
* The build-build.jam file, and the build-system rule, used to specify where to find the build system Jam file is no longer used for that purpose. There is now an internal method for finding the corresponding build files relative to the b2 executable. This means that the preferred method for using B2 is to install it first. But, the regular bootstrap use in Boost is still supported.
* There is now a Windows MSI installer available that supports both per-user and per-machine installs without having to build it yourself.
* Installing the current, and future, B2 allows one to use the newest B2 with current Boost release and most older Boost releases. And of course the same goes for non-Boost projects.
For other changes see the release notes < https://github.com/bfgroup/b2/releases/tag/4.9.0>
I think this broke my local setup. I have traditionally put a locally built b2 binary in my ~/bin directory to be able to run it from anywhere on my system. Previously this worked fine, now it doesn't work if I run b2 from a project directory (e.g. a library directory or tests directory): ~/src/boost/libs/filesystem/test$ b2 -j16 release Unable to load B2 ----------------- No 'bootstrap.jam' was found by searching for: /home/user/bin/.b2/kernel/bootstrap.jam /home/user/share/b2/kernel/bootstrap.jam /home/user/share/b2/src/kernel/bootstrap.jam /home/user/kernel/bootstrap.jam /home/user/bin/src/kernel/bootstrap.jam /home/user/bin/tools/build/src/kernel/bootstrap.jam /home/user/binsrc/kernel/bootstrap.jam /home/user/src/kernel/bootstrap.jam /home/src/kernel/bootstrap.jam /src/kernel/bootstrap.jam tools/build/src/bootstrap.jam Please consult the documentation at 'https://www.bfgroup.xyz/b2/'. It looks like previously bootstrap.jam was searched relative to the superproject root, now it's not.
Andrey Semashev wrote:
I think this broke my local setup.
I have traditionally put a locally built b2 binary in my ~/bin directory to be able to run it from anywhere on my system. Previously this worked fine, now it doesn't work if I run b2 from a project directory (e.g. a library directory or tests directory):
... I do the same on Windows (have b2.exe in C:\Bin, which is in PATH), so it's probably going to break for me as well.
On 5/17/22 19:46, Peter Dimov via Boost wrote:
Andrey Semashev wrote:
I think this broke my local setup.
I have traditionally put a locally built b2 binary in my ~/bin directory to be able to run it from anywhere on my system. Previously this worked fine, now it doesn't work if I run b2 from a project directory (e.g. a library directory or tests directory):
...
I do the same on Windows (have b2.exe in C:\Bin, which is in PATH), so it's probably going to break for me as well.
I've created a ticket: https://github.com/bfgroup/b2/issues/154 Also another ticket about incorrect path composition: https://github.com/bfgroup/b2/issues/155
On Tue, May 17, 2022 at 12:22 PM Andrey Semashev via Boost < boost@lists.boost.org> wrote:
Andrey Semashev wrote:
I think this broke my local setup.
I have traditionally put a locally built b2 binary in my ~/bin
to run it from anywhere on my system. Previously this worked fine, now it doesn't work if I run b2 from a project directory (e.g. a library
On 5/17/22 19:46, Peter Dimov via Boost wrote: directory to be able directory or
tests directory):
...
I do the same on Windows (have b2.exe in C:\Bin, which is in PATH), so it's probably going to break for me as well.
I've created a ticket:
https://github.com/bfgroup/b2/issues/154
Also another ticket about incorrect path composition:
Both are now fixed in 4.9.1. I do recommend you move towards doing regular installs of B2. As it avoids version incompatibility problems. -- -- René Ferdinand Rivera Morell -- Don't Assume Anything -- No Supone Nada -- Robot Dreams - http://robot-dreams.net
participants (4)
-
Andrey Semashev
-
Peter Dimov
-
René Ferdinand Rivera Morell
-
Vinnie Falco