Skip to content

Commit

Permalink
compile bytecode for python packages (#389)
Browse files Browse the repository at this point in the history
* compile bytecode for python packages

* bump up size

* lil bigger
  • Loading branch information
adeebshihadeh authored Oct 24, 2024
1 parent 90a2353 commit 94fb931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.agnos
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ RUN source $XDG_DATA_HOME/venv/bin/activate && \
sed -i 's|prefix=/install|prefix='$pc'|' $pypcpath && \
pypcpathembed=$pcpath"/python-3.12-embed.pc" && \
sed -i 's|prefix=/install|prefix='$pc'|' $pypcpathembed && \
MAKEFLAGS="-j$(nproc)" UV_NO_CACHE=1 UV_PROJECT_ENVIRONMENT=$XDG_DATA_HOME/venv uv sync --frozen --inexact
MAKEFLAGS="-j$(nproc)" UV_NO_CACHE=1 UV_PROJECT_ENVIRONMENT=$XDG_DATA_HOME/venv uv sync --frozen --inexact --compile-bytecode

# Install nice to haves
COPY ./userspace/install_extras.sh /tmp/agnos/
Expand Down
2 changes: 1 addition & 1 deletion build_system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ OUT_IMAGE="$OUTPUT_DIR/system.img"

# the partition is 10G, but openpilot's updater didn't always handle the full size
# openpilot fix, shipped in 0.9.8 (8/18/24): https://github.com/commaai/openpilot/pull/33320
ROOTFS_IMAGE_SIZE=4000M
ROOTFS_IMAGE_SIZE=4200M

# Create temp dir if non-existent
mkdir -p $BUILD_DIR $OUTPUT_DIR
Expand Down

0 comments on commit 94fb931

Please sign in to comment.