Open
Conversation
7eedd56 to
ec4c4d2
Compare
Member
Author
|
@khancyr can you add a secret DOCKER_PUSH_NAME = ardupilot. This var will allow forks to make releases on there docker account as well via github actions. |
f861147 to
c97b435
Compare
c97b435 to
8ed0cbb
Compare
khancyr
reviewed
Jan 15, 2021
| * Edit `~/.ssh/environment` to contain following vars: | ||
| ``` | ||
| DISTCC_CMDLIST_NUMWORDS=1 | ||
| DISTCC_CMDLIST=/home/<user>/.distcc/DISTCC_CMDLIST |
| sudo ufw allow from 172.27.0.0/16 to 172.27.124.34 port 3632 proto tcp | ||
| sudo ufw allow from 172.27.0.0/16 to 172.27.124.34 port 3633 proto tcp | ||
| ``` | ||
| `172.27.124.34` can be replaced with server IP and `172.27.0.0/16` with subnet you want to allow connection from. |
Collaborator
There was a problem hiding this comment.
server ip or the docker network ?
|
|
||
| * For debugging on host side simply `export DISTCC_VERBOSE=1` | ||
|
|
||
| * There is no ccache on the server side docker, so as to limit the storage consumption on the remote machine. But your local ccache will still be in play even when using `pump`. If one wants, they can create a copy of docker with ccache setup, it should be trivial. |
Collaborator
There was a problem hiding this comment.
why not use ccache on the docker image ? we could put a simple 1Go limit if needed
|
|
||
| LABEL maintainer="Siddharth Bharat Purohit <sidbpurohit@gmail.com>" | ||
| LABEL author="Siddharth Bharat Purohit <sidbpurohit@gmail.com>" | ||
| LABEL description="A distccd image based on Fedora 29 that I use for distributed compilation of ardupilot" |
| ENV HOME=/home/distcc | ||
| RUN useradd -s /bin/bash distcc | ||
| WORKDIR /home/distcc | ||
| RUN wget -O gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2?revision=108bd959-44bd-4619-9c19-26187abf5225&la=en&hash=E788CE92E5DFD64B2A8C246BBA91A249CB8E2D2D" |
Collaborator
There was a problem hiding this comment.
that isn't our official toolchain ?
| ENV HOME=/home/distcc | ||
| RUN useradd -s /bin/bash distcc | ||
| WORKDIR /home/distcc | ||
| RUN wget -O gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2?revision=108bd959-44bd-4619-9c19-26187abf5225&la=en&hash=E788CE92E5DFD64B2A8C246BBA91A249CB8E2D2D" |
Collaborator
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.