You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a meta task for tracking and discussing the current state of dub builds.
Occuring problems
With requests pulling vibe-d as (unused) dependency, the following two things happen:
vibe-d:http takes ages to compile on the RPi3B, taking up 90% of RAM and up to 750 M of swap space (for a total consumption of approx. 1.7 GB)
Same goes for linking
vibe-d:tls even has to be specified as an explicit dependency, otherwise the necessary subconfiguration for running with openssl1.1 is not applied and linking fails.
Configuration and environment
Version: ~develop
OS and version of OS: ArchLinuxARM, current as of 2019/01/10
Architecture: (x86, x86_64, armv7h etc.) armv7h
Other things to be mentioned
(List of links to related GH issues will be added soon)
The text was updated successfully, but these errors were encountered:
Unfortunately, this is a limitation of dub and there isn't really a way around it without extracting the vibe.d functionality of requests to a separate package.
Just stumbled upon this. You guys commit your dub.selections.json, so here's a workaround for you:
Create a library folder if you don't have one (I use submodules);
Identify all dependencies that are unused;
For each of them, create a folder (e.g. submodules/vibe.d) and add a dummy file such as this.
Change your dub.selections.json to point your unused dependency, such as this.
And voila. In our case we use git submodule only for dependency, but we came up with the same problem (dub trying to pull things it shouldn't). This hack lets it believe it already has them, and you'll never get an error since the configuration is not used.
Summary
This is a meta task for tracking and discussing the current state of dub builds.
Occuring problems
With
requests
pullingvibe-d
as (unused) dependency, the following two things happen:vibe-d:http
takes ages to compile on the RPi3B, taking up 90% of RAM and up to 750 M of swap space (for a total consumption of approx. 1.7 GB)vibe-d:tls
even has to be specified as an explicit dependency, otherwise the necessary subconfiguration for running withopenssl1.1
is not applied and linking fails.Configuration and environment
Other things to be mentioned
(List of links to related GH issues will be added soon)
The text was updated successfully, but these errors were encountered: