File tree Expand file tree Collapse file tree 4 files changed +4
-11
lines changed Expand file tree Collapse file tree 4 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
88RUN mkdir -p ${OPENPILOT_PATH}
99WORKDIR ${OPENPILOT_PATH}
1010
11- COPY Pipfile Pipfile.lock $OPENPILOT_PATH
12- RUN pip install --no-cache-dir pipenv==2021.5.29 pip==21.3.1 && \
13- pipenv install --system --deploy --dev --clear && \
14- pip uninstall -y pipenv
15-
1611COPY SConstruct ${OPENPILOT_PATH}
1712
1813COPY ./pyextra ${OPENPILOT_PATH}/pyextra
@@ -30,4 +25,4 @@ COPY ./panda ${OPENPILOT_PATH}/panda
3025COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive
3126COPY ./system ${OPENPILOT_PATH}/system
3227
33- RUN scons -j$(nproc)
28+ RUN scons --cache-readonly - j$(nproc)
Original file line number Diff line number Diff line change 88from system .hardware import EON , TICI , HARDWARE
99from selfdrive .manager .process import DaemonProcess
1010from selfdrive .manager .process_config import managed_processes
11+ from system .hardware import AGNOS , HARDWARE
1112
1213os .environ ['FAKEUPLOAD' ] = "1"
1314
@@ -54,9 +55,6 @@ def test_clean_exit(self):
5455 # TODO: make Qt UI exit gracefully
5556 continue
5657
57- # Make sure the process is actually dead
58- managed_processes [p ].stop ()
59-
6058 # TODO: interrupted blocking read exits with 1 in cereal. use a more unique return code
6159 exit_codes = [0 , 1 ]
6260 if managed_processes [p ].sigkill :
Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ COPY ./system $HOME/openpilot/system
4242COPY ./tools $HOME/openpilot/tools
4343
4444WORKDIR $HOME/openpilot
45- RUN scons -j$(nproc)
45+ RUN scons --cache-readonly -j12
4646
4747RUN python -c "from selfdrive.test.helpers import set_params_enabled; set_params_enabled()"
Original file line number Diff line number Diff line change 33DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
44cd $DIR /../../
55
6- docker pull ghcr.io/commaai/openpilot-base:latest
6+ docker pull ghcr.io/commaai/openpilot-base-cl :latest
77docker build \
88 --cache-from ghcr.io/commaai/openpilot-sim:latest \
99 -t ghcr.io/commaai/openpilot-sim:latest \
You can’t perform that action at this time.
0 commit comments