-
Notifications
You must be signed in to change notification settings - Fork 3.7k
scripts/eosio_build.sh is unfriendly when asking "Do you wish to update repositories"? #6931
Comments
Actually for unattended builds, I don't want it to ask any questions. (I could pass command line argument to supress the prompt if you really want to prompt for users who don't have automated builds) |
There is a new non-interactive flag you can pass in that will answer yes to all prompts: -y |
Except, that I don't want package install automatically thanks. I'm trying to run a build machine that compiles multiple versions of nodeos at the same time. So anything modifying the O/S needs my manual intervention. As a block producer, I need to support multiple versions of nodeos at the same time because different chains move at different speeds. It's normal to have 3 versions running at the same time (1.5.x, 1.6.x and 1.7.x) |
Debian packages are available which are intended to function with other versions installed: I’m told that the build scripts are mostly intended for our internal automated build/testing. There are however some changes I can make which will allow the setting of environment variables like BOOST_ROOT before you run the script, avoiding the reinstallation of dependencies between 1.6.x and 1.7.0. The problem is that versions might change and there is no way to guarantee that, should we change a dependency version, you’re not going to still be loading the older version and potentially break something without noticing it. |
I can't use the pre-built binaries because I need to be able to apply patches when B1 releases them. Patches are released as a git diff file. Unless B1 is changing the release strategy for that. I also need custom plugins. eosio doesn't support dynamically loading plugins, so needs to be done at compile time. As a workaround, for now I will change $HOME before calling eosio_build using a unique path for each version. |
New build scripts will address all concerns within this issue. |
Pressing simply ENTER at the prompt below, has the build script exit. It should prompt again if it didn't get the answer it wanted.
Actually I never want the script to auto-update the repo... just tell me what it needs if they are not there and fail due to missing requirements.
The text was updated successfully, but these errors were encountered: