| |
---|
| | 1. Log into your build machine, VM, or`docker`image. |
---|
| | |
---|
| | 2. Make sure you have write permission to the installation directory. |
---|
| | |
---|
| | 3. Make sure the native OS compiler tools are installed. |
---|
| | 3. Make sure the native OS compiler tools are installed. *Do not |
---|
| | include the tools directories in your `${PATH}` at this time.* We |
---|
| | want this phase of the build to be done entirely with system tools. |
---|
| | |
---|
| | 4. Get the linuxbrew image: |
---|
| | |
---|
| | `make getbrew` |
---|
| | |
---|
| | 5. Build the bootstrap image: |
---|
| | |
---|
| | `make bootstrap-build` |
---|
| | |
---|
| | NOTE: As of this writing, `make` will report an `Error 1` at |
---|
| | completion. We have not quite chased this down yet, but suspect it |
---|
| | to be a failing test case for one of the subcomponents of the |
---|
| | build. So far, this does not seem to be pathological. |
---|
| | |
---|
| | 6. Build a release tarball and export it: |
---|
| | |
---|
| | `make bootstrap-release` |
---|
| |
---|
| | 3. Setup the required environment variables: |
---|
| | |
---|
| | `. brewenv` |
---|
| | |
---|
| | 4. Make sure `${MYTOOLS}` has all the packages you want listed. |
---|
| | 4. Make sure `${MYTOOLS}` and `${PIPMODULES}` include all the |
---|
| | packages you want. |
---|
| | |
---|
| | 5. Build the full tool set using the bootstrapped compiler we just |
---|
| | built: |
---|
| | |
---|
| |
---|
| | ## The `brewenv` File |
---|
| | |
---|
| | The `brewenv` file documents the environment variables that need to be |
---|
| | set in order to access your installed binaries and support files. You |
---|
| | may find this useful when doing the builds. You certainly will want |
---|
| | may find this useful when doing the full build. You certainly will want |
---|
| | these variables set when running a final installation of your tools. |
---|
| | |
---|
| | Just be sure to edit it and change `TOOLSDIR="/opt/TundraWare/tools"` |
---|
| | to wherever your tools installation actually lives. |
---|
| | |