Skip to content

Commit

Permalink
[colmap] Update to latest version from 2023-10-01 (#33251)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojnnes committed Oct 10, 2023
1 parent ae36036 commit 11dd63f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 42 deletions.
23 changes: 0 additions & 23 deletions ports/colmap/fix-dependencies.patch

This file was deleted.

9 changes: 3 additions & 6 deletions ports/colmap/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
set(COLMAP_REF "30da037ce19bdceb6d239c45342fadb221bdabb2") # 3.8 with bugfixes
set(COLMAP_REF "9c704e89ff0a80e797725e112011f9f69e5aa28f") # Oct 1, 2023

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO colmap/colmap
REF "${COLMAP_REF}"
SHA512 2aad3c39efee025bebdbec41215f32968c3a63e160f9e7de0a6a2bf2d2c96bb1c20af0e10173d1d81ed4712e58fd97e7c8aabef8f9c47cc542d89b14c6ae420d
HEAD_REF dev
PATCHES
fix-dependencies.patch
SHA512 6ece735c403304c14887cd9b2b13a7e36bf07155fa959748c09d74854e0da6338766c11e6a371c26f983ccdb29f93b2600d685c907a5a137fe20d798b26805d8
HEAD_REF main
)

if (NOT TRIPLET_SYSTEM_ARCH STREQUAL "x64" AND ("cuda" IN_LIST FEATURES OR "cuda-redist" IN_LIST FEATURES))
Expand Down Expand Up @@ -74,7 +72,6 @@ file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
"${CURRENT_PACKAGES_DIR}/include/colmap/exe"
"${CURRENT_PACKAGES_DIR}/include/colmap/lib/Graclus/multilevelLib"
"${CURRENT_PACKAGES_DIR}/include/colmap/tools"
"${CURRENT_PACKAGES_DIR}/include/colmap/ui/media"
"${CURRENT_PACKAGES_DIR}/include/colmap/ui/shaders"
Expand Down
2 changes: 1 addition & 1 deletion ports/colmap/usage
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ For example, under Windows, execute COLMAP as:
The package colmap provides CMake integration:

find_package(COLMAP REQUIRED)
target_link_libraries(main ${COLMAP_LIBRARIES})
target_link_libraries(main colmap::colmap)
17 changes: 7 additions & 10 deletions ports/colmap/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "colmap",
"version-date": "2023-03-12",
"port-version": 1,
"version-date": "2023-10-01",
"description": "COLMAP is a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with a graphical and command-line interface. It offers a wide range of features for reconstruction of ordered and unordered image collections. The software is licensed under the new BSD license.",
"homepage": "https://colmap.github.io/",
"license": "BSD-3-Clause",
"supports": "(linux | (windows & !static) | osx) & (x86 | x64)",
"dependencies": [
"boost-filesystem",
"boost-graph",
Expand All @@ -18,12 +18,7 @@
"suitesparse"
]
},
{
"name": "cgal",
"features": [
"qt"
]
},
"cgal",
"eigen3",
"flann",
"freeimage",
Expand All @@ -32,7 +27,6 @@
"glog",
"qt5-base",
"sqlite3",
"suitesparse",
{
"name": "vcpkg-cmake",
"host": true
Expand All @@ -56,7 +50,10 @@
]
},
"tests": {
"description": "Build all tests."
"description": "Build all tests.",
"dependencies": [
"gtest"
]
}
}
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1709,8 +1709,8 @@
"port-version": 10
},
"colmap": {
"baseline": "2023-03-12",
"port-version": 1
"baseline": "2023-10-01",
"port-version": 0
},
"color-console": {
"baseline": "2022-03-20",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/colmap.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c3482baa430e8733afa927fae4d3951e300a5c67",
"version-date": "2023-10-01",
"port-version": 0
},
{
"git-tree": "be5a8b2aa2354b0d3aec03253dcd13358ba950da",
"version-date": "2023-03-12",
Expand Down

0 comments on commit 11dd63f

Please sign in to comment.