Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68a9222

Browse files
Fix the issue with libjpeg in wheel.
1 parent23df528 commit68a9222

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎Dockerfile.incode_build‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ RUN apt update && apt install -y git build-essential cmake libopenblas-dev libla
2828
&& git checkout ${OPENCV_TAG} \
2929
&& git submodule update --init --recursive --depth 1 \
3030
&& export ENABLE_HEADLESS=1 \
31-
&& MAKEFLAGS='-j3' pip wheel . --verbose --wheel-dir /opt/opencv-python/wheelhouse
31+
&& MAKEFLAGS='-j3' pip wheel . --verbose --wheel-dir /opt/opencv-python/wheelhouse \
32+
# trick to pack openblas lib to wheel
33+
&& pip install auditwheel patchelf \
34+
&& auditwheel repair /opt/opencv-python/wheelhouse/*.whl
3235

3336
FROM scratch AS export-stage
3437
COPY --from=build-stage /opt/opencv-python/wheelhouse /

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp