Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
d512e63
Update Eigen3 version
alxvth Oct 17, 2023
0dc6e61
Remove old patch
alxvth Oct 17, 2023
0af949d
remove debug folders
alxvth Aug 12, 2025
18e4ae4
Modify version
alxvth Aug 12, 2025
867470d
Remove old patch files
alxvth Aug 12, 2025
5d58153
[orocos-kdl] fix build with new Eigen version
yurybura May 23, 2025
29cdd61
[rbdl] fix build after update Eigen3
alxvth Aug 12, 2025
7cba376
update baseline.json
alxvth Aug 12, 2025
16c0d95
Revert changes to rbdl and orocos-kdl
alxvth Aug 12, 2025
8f27435
Revert "[rbdl] fix build after update Eigen3"
alxvth Aug 12, 2025
fa6c70f
Revert "[orocos-kdl] fix build with new Eigen version"
alxvth Aug 12, 2025
3192305
[rbdl] fix build after update Eigen3
alxvth Aug 12, 2025
695d982
[orocos-kdl] fix build after update Eigen3
alxvth Aug 12, 2025
4955b53
[g2o] fix build after update Eigen3
alxvth Aug 12, 2025
4aec8c3
update port versions
alxvth Aug 12, 2025
9333516
Update baseline versions
alxvth Aug 12, 2025
5007ce4
[g2o] better fix
alxvth Aug 13, 2025
e829e09
[chronoengine] fix build after eigen3 update
alxvth Aug 13, 2025
a488821
Update baseline version
alxvth Aug 13, 2025
9cc9746
[openmvg] fix build after eigen update
alxvth Aug 13, 2025
446a2ff
update baeline version
alxvth Aug 13, 2025
177fefc
Restore EIGEN_INCLUDE_DIR instead of patching multiple ports
alxvth Aug 13, 2025
c68577f
Also keep installing UseEigen3
alxvth Aug 14, 2025
7b318ab
Remove chronoengine[irrlicht]:arm64-osx = cascade from baseline
alxvth Aug 14, 2025
8265d3d
[eigen] patch: fix compilation with clang and cxx03 on arm
alxvth Aug 15, 2025
a3ac53f
Revert changes to chronoengine
alxvth Aug 17, 2025
4bdff69
Revert changes to g2o
alxvth Aug 17, 2025
8f1ce3d
[eigen3] fix-arm-neon-cxx03.patch is merged upstream
alxvth Aug 17, 2025
7079e9e
[eigen3] fix baseline version
alxvth Aug 18, 2025
3d33a33
[eigen3] restore-include-dir.patch is merged upstream
alxvth Aug 19, 2025
99da60d
[eigen3] add date to version
alxvth Aug 19, 2025
d9e35e4
Merge branch 'master' of https://github.com/microsoft/vcpkg into upda…
alxvth Aug 19, 2025
01e805b
[eigen3] better turn EIGEN_BUILD_SPBENCH OFF
alxvth Aug 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions ports/chronoengine/find_package_required.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,6 @@ index 6a8f0f9e1..c44f92eb4 100644
else()
find_package(Threads REQUIRED)
endif()
diff --git a/cmake/FindEigen3.cmake b/cmake/FindEigen3.cmake
index 0d2b3cedd..02c2b50d2 100644
--- a/cmake/FindEigen3.cmake
+++ b/cmake/FindEigen3.cmake
@@ -1,7 +1,7 @@
# - Try to find Eigen3 lib
#
# This module supports requiring a minimum version, e.g. you can do
-# find_package(Eigen3 3.1.2)
+# find_package(Eigen3 3.1.2 REQUIRED)
# to require version 3.1.2 or newer of Eigen3.
#
# Once done this will define
@@ -70,7 +70,7 @@ else (EIGEN3_INCLUDE_DIR)
# search first if an Eigen3Config.cmake is available in the system,
# if successful this would set EIGEN3_INCLUDE_DIR and the rest of
# the script will work as usual
- find_package(Eigen3 ${Eigen3_FIND_VERSION} NO_MODULE QUIET)
+ find_package(Eigen3 ${Eigen3_FIND_VERSION} NO_MODULE REQUIRED)

if(NOT EIGEN3_INCLUDE_DIR)
find_path(EIGEN3_INCLUDE_DIR NAMES signature_of_eigen3_matrix_library
diff --git a/cmake/FindMKL.cmake b/cmake/FindMKL.cmake
index 6f8a2740f..acf43af4d 100644
--- a/cmake/FindMKL.cmake
Expand Down
16 changes: 9 additions & 7 deletions ports/chronoengine/fix_dependencies.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d75ce1055..a21acbd83 100644
index d75ce1055..11505afe2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -96,7 +96,7 @@ endif()
Expand Down Expand Up @@ -32,16 +32,18 @@ index d75ce1055..a21acbd83 100644

# Set substitution variables for configuration file
if(SIMD_SSE)
@@ -250,7 +251,7 @@ endif()
@@ -250,8 +251,9 @@ endif()
#-----------------------------------------------------------------------------

message(STATUS "Searching for Eigen3...")
-find_package(Eigen3 3.3.0)
+find_package(Eigen3 3.3.0 REQUIRED)
if(EIGEN3_FOUND)
+ get_target_property(EIGEN3_INCLUDE_DIR Eigen3::Eigen INTERFACE_INCLUDE_DIRECTORIES)
message(STATUS " Eigen3 version: ${EIGEN3_VERSION}")
message(STATUS " Eigen3 include directory: ${EIGEN3_INCLUDE_DIR}")
@@ -293,7 +294,9 @@ endif()
else()
@@ -293,7 +295,9 @@ endif()
#-----------------------------------------------------------------------------

message(STATUS "Searching for MPI...")
Expand All @@ -52,7 +54,7 @@ index d75ce1055..a21acbd83 100644
if(MPI_FOUND)
message(STATUS " MPI compiler: ${MPI_CXX_COMPILER}")
message(STATUS " MPI compile flags: ${MPI_CXX_COMPILE_FLAGS}")
@@ -312,9 +315,9 @@ endif()
@@ -312,9 +316,9 @@ endif()
#-----------------------------------------------------------------------------

message(STATUS "Searching for CUDA...")
Expand All @@ -65,7 +67,7 @@ index d75ce1055..a21acbd83 100644
if(CUDA_FOUND)
set(CUDA_BINARY_DIR "${CUDA_TOOLKIT_ROOT_DIR}/bin")

@@ -373,7 +376,7 @@ endif()
@@ -373,7 +377,7 @@ endif()
#-----------------------------------------------------------------------------

message(STATUS "Searching for Thrust...")
Expand All @@ -74,7 +76,7 @@ index d75ce1055..a21acbd83 100644
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
find_path(THRUST_INCLUDE_DIR NAMES thrust/version.h PATHS "/usr/local" "/usr/local/include")
if (THRUST_INCLUDE_DIR)
@@ -383,9 +386,9 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
@@ -383,9 +387,9 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(${THRUST_FOUND} FALSE)
endif()
else()
Expand All @@ -86,7 +88,7 @@ index d75ce1055..a21acbd83 100644
if(THRUST_FOUND)
message(STATUS " Thrust version: ${THRUST_VERSION}")
message(STATUS " Thrust include dir: ${THRUST_INCLUDE_DIR}")
@@ -500,14 +503,14 @@ if(ENABLE_HDF5)
@@ -500,14 +504,14 @@ if(ENABLE_HDF5)
# HDF5_INCLUDE_DIRS
# HDF5_C_LIBRARIES
# HDF5_CXX_LIBRARIES
Expand Down
5 changes: 4 additions & 1 deletion ports/chronoengine/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ vcpkg_from_github(
find_package_required.patch
)

file(REMOVE "${SOURCE_PATH}/cmake/FindTBB.cmake")
file(REMOVE
"${SOURCE_PATH}/cmake/FindTBB.cmake"
"${SOURCE_PATH}/cmake/FindEigen3.cmake"
)

vcpkg_check_features(
OUT_FEATURE_OPTIONS
Expand Down
2 changes: 1 addition & 1 deletion ports/chronoengine/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "chronoengine",
"version": "8.0.0",
"port-version": 1,
"port-version": 2,
"description": "Multi-physics Simulation Engine.",
"homepage": "https://projectchrono.org/",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion ports/g2o/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ vcpkg_from_github(
PATCHES
dependencies.diff
fix-absolute.patch
remove-FindEigen3.patch
"${FIX_UPSTREAM_37d17a9}"
"${FIX_UPSTREAM_100af05}"
)
file(REMOVE
"${SOURCE_PATH}/cmake_modules/FindBLAS.cmake"
"${SOURCE_PATH}/cmake_modules/FindCSparse.cmake"
"${SOURCE_PATH}/cmake_modules/FindEigen3.cmake"
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_LGPL_SHARED_LIBS)
Expand Down
113 changes: 0 additions & 113 deletions ports/g2o/remove-FindEigen3.patch

This file was deleted.

23 changes: 19 additions & 4 deletions ports/openmvg/build_fixes.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6879c4c..aa4167a 100644
index 6879c4c6..073190b3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -324,13 +324,18 @@ else()
@@ -281,12 +281,13 @@ endif()
# - external if EIGEN_INCLUDE_DIR_HINTS is defined
# - internal if Eigen not found
# ==============================================================================
-find_package(Eigen3 QUIET)
+find_package(Eigen3 CONFIG REQUIRED)
if (NOT Eigen3_FOUND)
set(EIGEN_INCLUDE_DIR_HINTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/eigen)
set(OpenMVG_USE_INTERNAL_EIGEN ON)
find_package(Eigen QUIET)
else()
+ get_target_property(EIGEN3_INCLUDE_DIR Eigen3::Eigen INTERFACE_INCLUDE_DIRECTORIES)
set(EIGEN_INCLUDE_DIRS ${EIGEN3_INCLUDE_DIR})
endif()
add_definitions(-DEIGEN_MPL2_ONLY)
@@ -324,13 +325,18 @@ else()
if (TARGET flann::flann)
set(FLANN_LIBRARIES "flann::flann;flann::flann_cpp")
else()
Expand All @@ -22,15 +37,15 @@ index 6879c4c..aa4167a 100644
# ==============================================================================
# CoinUtils
# ==============================================================================
@@ -391,6 +396,7 @@ if (OpenMVG_USE_INTERNAL_OSI AND OpenMVG_USE_INTERNAL_CLP AND OpenMVG_USE_INTERN
@@ -391,6 +397,7 @@ if (OpenMVG_USE_INTERNAL_OSI AND OpenMVG_USE_INTERNAL_CLP AND OpenMVG_USE_INTERN
set_property(TARGET lib_Osi PROPERTY FOLDER OpenMVG/3rdParty/lib_Osi)
set_property(TARGET lib_OsiClpSolver PROPERTY FOLDER OpenMVG/3rdParty/lib_OsiClpSolver)
endif()
+endif()

# ==============================================================================
# Lemon
@@ -402,7 +408,7 @@ if (NOT DEFINED LEMON_INCLUDE_DIR_HINTS)
@@ -402,7 +409,7 @@ if (NOT DEFINED LEMON_INCLUDE_DIR_HINTS)
set(LEMON_INCLUDE_DIR_HINTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/lemon)
set(OpenMVG_USE_INTERNAL_LEMON ON)
endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/openmvg/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openmvg",
"version": "2.1",
"port-version": 2,
"port-version": 3,
"description": "open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.",
"license": null,
"supports": "(x86 | x64 | arm64) & !xbox",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@
},
"chronoengine": {
"baseline": "8.0.0",
"port-version": 1
"port-version": 2
},
"cialloo-rcon": {
"baseline": "1.0.0",
Expand Down Expand Up @@ -7066,7 +7066,7 @@
},
"openmvg": {
"baseline": "2.1",
"port-version": 2
"port-version": 3
},
"openmvs": {
"baseline": "2.1.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/chronoengine.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "55389d248b9067f308bcbf81a08d94af3a098976",
"version": "8.0.0",
"port-version": 2
},
{
"git-tree": "7db5f822e4f4debf9b0b9400a3050fff89dca5c7",
"version": "8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/g-/g2o.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "3951452431e71def0ffd69aa9955a8a616d45727",
"git-tree": "a66b6e04a733c5678691839e17fc62eeb59aa4cb",
"version-date": "2024-12-14",
"port-version": 6
},
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/openmvg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "34d65dec331136b85ba9e7ef673c3dedf578424b",
"version": "2.1",
"port-version": 3
},
{
"git-tree": "26f65270e3a45107e6e23f45dc8837143d77fb90",
"version": "2.1",
Expand Down
Loading