WIP: AE_DISABLE_CUCKOO env var support #36

Draft
uwiger wants to merge 3 commits from GH-2959-running-on-termux into master
uwiger commented 2019-10-31 20:59:35 +09:00 (Migrated from gitlab.com)

This is work in progress, experimenting with getting an ae node to build and run on termux (Android).

The idea is to introduce an os env variable, AE_DISABLE_CUCKOO=true (since cuckoo is hard to compile on termux). This would remove cuckoo-related deps, also remove the corresponding app deps from the aeminer.app file, and set an OTP environment variable, {use_cuckoo, false}.

Similar things need to be done in the aeternity repos regarding aestratum, which also depends on cuckoo

This is work in progress, experimenting with getting an `ae` node to build and run on `termux` (Android). The idea is to introduce an os env variable, `AE_DISABLE_CUCKOO=true` (since `cuckoo` is hard to compile on `termux`). This would remove `cuckoo`-related deps, also remove the corresponding app deps from the `aeminer.app` file, and set an OTP environment variable, `{use_cuckoo, false}`. Similar things need to be done in the `aeternity` repos regarding `aestratum`, which also depends on `cuckoo`
zxq9 commented 2019-10-31 21:59:15 +09:00 (Migrated from gitlab.com)

Created by: tolbrino

Wouldn't it make more sense to create a separate rebar profile which removes aeminer and aestratum from the build entirely. E.g. slim profile?

*Created by: tolbrino* Wouldn't it make more sense to create a separate rebar profile which removes `aeminer` and `aestratum` from the build entirely. E.g. `slim` profile?
zxq9 commented 2019-11-27 18:30:12 +09:00 (Migrated from gitlab.com)

Created by: nikita-fuchs

An approach that removes anything that is too picky about system architecture and not necessary to run a "basic passive client" would be really great indeed, the linuxZ mainframe is still waiting for you @tolbrino ;) !

*Created by: nikita-fuchs* An approach that removes anything that is too picky about system architecture and not necessary to run a "basic passive client" would be really great indeed, the linuxZ mainframe is still waiting for you @tolbrino ;) !
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin GH-2959-running-on-termux:GH-2959-running-on-termux
git checkout GH-2959-running-on-termux
Sign in to join this conversation.
No description provided.