b2 configuration checks take long time
Mateusz Loskot via Boost-build <[email protected]>
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <CABUeae-1Zeq5Wotn3_oB-=HSw0XLfA6UitqbhVdkS9xTkosj3w@mail.gmail.com> |
Hi,
I have a very simple libs/gil/test/image_view/Jamfile
```
import testing ;
project
: requirements
<include>$(BOOST_ROOT)
<include>..
;
test-suite "boost-gil-test-image-view"
:
[ run collection.cpp ]
;
```
The collection.cpp is just
```
int main() {}
```
In libs/gil/test, I run `b2 collection` first time.
I run `b2 collection` again.
What may be the reason it takes 15-18 seconds until I see this?
```
Performing configuration checks
- default address-model : 64-bit (cached)
- default architecture : x86 (cached)
- symlinks supported : yes (cached)
```
How can I speed up the b2 startup?
I'm observing this on WSL (Ubuntu Bionic, GCC 7.3), on very decent workstation.
I have no access to Linux native host to compare if perhaps the issue is
due to WSL filesystem poor performance.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build