This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rust rpm provisioner to adm node (#2382)
* Add rust rpm provisioner to adm node Building the rpms locally has been difficult becuase using the docker container is significantly slower, even after increasing the available ram and cpu's. In contrast, building in the adm vm appears to be nearly as fast as building on the host. Furthermore, adding sccache appears to maintain dependency builds across different branches, allowing for much quicker builds. This patch adds a new provisioner to build the rust rpms using the adm virtual machine and takes care of installing all necessary dependencies, including sccache. To build the rust rpms, simply run the following: ``` vagrant provision adm --provision-with build-rust-rpms ``` Signed-off-by: johnsonw <wjohnson@whamcloud.com> * Don't delete the _topdir before invoking the make command Signed-off-by: johnsonw <wjohnson@whamcloud.com> * Move env vars into Makefile Signed-off-by: johnsonw <wjohnson@whamcloud.com> * Update release version between builds Signed-off-by: johnsonw <wjohnson@whamcloud.com> * Move environment variables from Makefile into the .bash_profile of the adm node and resource it before running make. Signed-off-by: johnsonw <wjohnson@whamcloud.com> * No need to edit the spec file. The dist can be passed as an environment variable to the Make environment Signed-off-by: johnsonw <wjohnson@whamcloud.com>
- Loading branch information