构建python 版本

This commit is contained in:
yanhailiang 2021-11-19 09:02:21 +08:00
parent e9592a0eaa
commit 6379450e07

View File

@ -70,7 +70,7 @@ cmake ../../ -DCMAKE_BUILD_TYPE=Release\
-DPYTHON_LIBRARY=$(python3 -c "import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR')+ '/libpython3.so')")\
-DCMAKE_INSTALL_PREFIX=/usr
make -j24 V=1
ctest -E "opencv_test_python"
ctest -E "opencv_test_imgproc"
%install