-
Notifications
You must be signed in to change notification settings - Fork 7.2k
[alicevision] Add new port #38034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[alicevision] Add new port #38034
Changes from 8 commits
1a3c69d
58c2f64
3b93f11
07b4aac
9189dcf
30fd71a
f65fd5b
d484ae1
85933c8
80df09c
4fddfab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
| index 8fcdd67..566890c 100644 | ||
| --- a/src/CMakeLists.txt | ||
| +++ b/src/CMakeLists.txt | ||
| @@ -288,7 +288,7 @@ else() | ||
| endif() | ||
|
|
||
|
|
||
| -if(WIN32) | ||
| +if(OFF) | ||
| # Disable BOOST autolink | ||
| add_definitions(-DBOOST_ALL_NO_LIB) | ||
|
|
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,66 @@ | ||||||
| vcpkg_from_github( | ||||||
| OUT_SOURCE_PATH SOURCE_PATH | ||||||
| REPO alicevision/AliceVision | ||||||
| REF v3.2.0 | ||||||
JackBoosY marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| SHA512 448e20b2bb6623034ab89ea56b0c7fdf09af34d7d0d47740590fa9cd9aa2b6864f3950c4e968d260c660a41a2f5877c10edf8cfd0dcdd18e58ce289b7336e9ec | ||||||
| HEAD_REF master | ||||||
| PATCHES fix-dynamic-boost.patch | ||||||
WangWeiLin-MV marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| ) | ||||||
|
|
||||||
| # MeshSDFilter | ||||||
| vcpkg_from_github( | ||||||
| OUT_SOURCE_PATH MESHSDFILTER_SOURCE_PATH | ||||||
| REPO bldeng/MeshSDFilter | ||||||
| REF 71c3028eda6fc29517e658c54833e280f9abad51 | ||||||
| SHA512 61367aab7117922b6f0f56d58e95cd328ac8177b184add11530b2ce9a8474be4947c7b27de135d7ad2980d6d49cc8a44b066eb673784dd553e1b9e78e994b3bb | ||||||
| HEAD_REF master | ||||||
| ) | ||||||
|
|
||||||
| file(REMOVE_RECURSE "${SOURCE_PATH}/src/dependencies/MeshSDFilter") | ||||||
| file(RENAME "${MESHSDFILTER_SOURCE_PATH}" "${SOURCE_PATH}/src/dependencies/MeshSDFilter") | ||||||
|
|
||||||
| vcpkg_cmake_configure( | ||||||
| SOURCE_PATH "${SOURCE_PATH}" | ||||||
| OPTIONS | ||||||
| -DALICEVISION_BUILD_SFM=OFF | ||||||
JackBoosY marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| -DALICEVISION_BUILD_MVS=ON | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This on the other hand can be ON or OFF depending on the availability of CUDA (related to |
||||||
| -DALICEVISION_BUILD_HDR=ON | ||||||
| -DALICEVISION_BUILD_SEGMENTATION=ON | ||||||
| -DALICEVISION_BUILD_STEREOPHOTOMETRY=ON | ||||||
| -DALICEVISION_BUILD_PANORAMA=ON | ||||||
| -DALICEVISION_BUILD_SOFTWARE=ON | ||||||
| -DALICEVISION_BUILD_COVERAGE=OFF | ||||||
| -DALICEVISION_BUILD_DOC=OFF | ||||||
| -DALICEVISION_USE_OPENMP=OFF | ||||||
JackBoosY marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| -DALICEVISION_USE_CCTAG=OFF | ||||||
| -DALICEVISION_USE_APRILTAG=OFF | ||||||
| -DALICEVISION_USE_POPSIFT=OFF | ||||||
| -DALICEVISION_USE_OPENGV=OFF | ||||||
| -DALICEVISION_USE_ALEMBIC=OFF | ||||||
| -DALICEVISION_USE_UNCERTAINTYTE=OFF | ||||||
| -DALICEVISION_USE_ONNX=OFF | ||||||
| -DALICEVISION_USE_ONNX_GPU=OFF | ||||||
| -DALICEVISION_USE_CUDA=OFF | ||||||
| -DALICEVISION_USE_NVTX_PROFILING=OFF | ||||||
| -DALICEVISION_NVCC_WARNINGS=OFF | ||||||
| -DALICEVISION_USE_OPENCV=OFF | ||||||
| -DALICEVISION_USE_OPENCV_CONTRIB=OFF | ||||||
| -DALICEVISION_USE_OCVSIFT=OFF | ||||||
| -DALICEVISION_USE_MESHSDFILTER=ON | ||||||
| -DALICEVISION_REQUIRE_CERES_WITH_SUITESPARSE=ON | ||||||
| -DALICEVISION_USE_RPATH=ON | ||||||
| -DALICEVISION_BUILD_TESTS=OFF | ||||||
| -DBOOST_NO_CXX11=OFF | ||||||
| ) | ||||||
|
|
||||||
| vcpkg_cmake_install() | ||||||
|
|
||||||
| vcpkg_cmake_config_fixup(PACKAGE_NAME AliceVision CONFIG_PATH share/aliceVision/cmake) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" | ||||||
| "${CURRENT_PACKAGES_DIR}/include/aliceVision/image/image_test" | ||||||
| "${CURRENT_PACKAGES_DIR}/include/aliceVision/image/share" | ||||||
| "${CURRENT_PACKAGES_DIR}/include/aliceVision/sfmDataIO/compatibilityData" | ||||||
| "${CURRENT_PACKAGES_DIR}/debug/share") | ||||||
|
|
||||||
| vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING.md") | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| { | ||
| "name": "alicevision", | ||
| "version-semver": "3.2.0", | ||
| "description": "AliceVision is a Photogrammetric Computer Vision Framework which provides a 3D Reconstruction and Camera Tracking algorithms.", | ||
| "homepage": "https://alicevision.org/association/#", | ||
| "license": "MIT", | ||
| "supports": "!arm", | ||
| "dependencies": [ | ||
| "boost-atomic", | ||
| "boost-container", | ||
| "boost-date-time", | ||
| "boost-filesystem", | ||
| "boost-graph", | ||
| "boost-json", | ||
| "boost-log", | ||
| "boost-program-options", | ||
| "boost-regex", | ||
| "boost-serialization", | ||
| "boost-system", | ||
| "boost-thread", | ||
| "boost-timer", | ||
| "eigen3", | ||
| "expat", | ||
| "nanoflann", | ||
| "openexr", | ||
| "openimageio", | ||
| { | ||
| "name": "vcpkg-cmake", | ||
| "host": true | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake-config", | ||
| "host": true | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "1791a747fcf5de693c34680819cbe19604f06d30", | ||
| "version-semver": "3.2.0", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.