Skip to content

Commit

Permalink
Update pybind11 to 2.13.6 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
rostan-t authored Nov 4, 2024
1 parent a1b04f2 commit 01a3ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RUN python3 -m pip install setuptools wheel clang==14 libclang==14.0.1
RUN git clone --recursive --depth 1 -j"$(grep ^processor /proc/cpuinfo | wc -l)" https://github.com/NVIDIA/nvImageCodec.git && cd nvImageCodec && \
sed -Ei 's/(, )?<3.13//' python/setup.py.in && \
sed -i 's/set\s*(PYTHON_VERSIONS\s*".*")/set(PYTHON_VERSIONS "3.13")/' cmake/Utils.cmake && \
cd external/pybind11 && git fetch --tags && git checkout v2.13.1
cd external/pybind11 && git fetch --tags && git checkout v2.13.6
# Build and install
RUN mkdir -p nvImageCodec/build && cd nvImageCodec/build && \
WHL_OUTDIR=/tmp ../docker/build_helper.sh && \
Expand All @@ -77,7 +77,7 @@ ARG CUDA_ARCHS='60;70;80;90'
# Clone and patch
RUN git clone -b v0.8.0-beta https://github.com/CVCUDA/CV-CUDA.git && \
cd CV-CUDA && sed -i 's/skip_precommit=0/skip_precommit=1/g' init_repo.sh && \
./init_repo.sh && cd 3rdparty/pybind11 && git submodule update --init . && git checkout v2.13.1
./init_repo.sh && cd 3rdparty/pybind11 && git submodule update --init . && git checkout v2.13.6
# Build and install
RUN cd CV-CUDA && \
CUDA_MAJOR=12 ci/build.sh release build -DCMAKE_CUDA_ARCHITECTURES="$CUDA_ARCHS" && \
Expand Down

0 comments on commit 01a3ea5

Please sign in to comment.