Skip to content

Commit

Permalink
Added deps
Browse files Browse the repository at this point in the history
  • Loading branch information
like-a-freedom committed Feb 2, 2025
1 parent 5c50efc commit 51ed266
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
uses: docker/build-push-action@master
with:
context: .
platforms: linux/amd64,linux/arm64
platforms: linux/arm64 # linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ RUN apt-get install -y \
g++ \
git \
python3-dev \
libabsl-dev
libabsl-dev \
apt-get autoclean
# \
# protobuf-compiler \
# libprotobuf-dev
Expand Down Expand Up @@ -45,6 +46,7 @@ RUN git clone https://github.com/pybind/pybind11.git \
&& pip install pybind11

RUN ldconfig
ENV LD_LIBRARY_PATH=/usr/local/lib

# Set comprehensive build environment variables
ENV UV_COMPILE_BYTECODE=1
Expand Down Expand Up @@ -81,6 +83,8 @@ ENV DEBIAN_FRONTEND=noninteractive
# # -DPYTHON_EXECUTABLE=/usr/local/bin/python3.13 \
# -Wno-dev"

ENV CMAKE_ARGS="-DCMAKE_INSTALL_RPATH='$ORIGIN'"

# # Additional environment variables for ONNX build
# ENV ONNX_ML=1
# ENV ONNX_BUILD_TESTS=OFF
Expand Down

0 comments on commit 51ed266

Please sign in to comment.