compile bytecode for python packages (#389)

* compile bytecode for python packages

* bump up size

* lil bigger
This commit is contained in:
Adeeb Shihadeh
2024-10-24 15:09:13 -07:00
committed by GitHub
parent 90a2353e52
commit 94fb9317ee
2 changed files with 2 additions and 2 deletions

View File

@@ -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/

View File

@@ -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