Skip to content

Commit af6e3c3

Browse files
committed
[drake_cmake_external] Upgrade eigen to 5.0.0
1 parent 698d947 commit af6e3c3

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

drake_cmake_external/CMakeLists.txt

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ include(ExternalProject)
3232
# If you'd rather just use your operating system's Eigen, then this stanza could
3333
# be removed (as well as removing -DWITH_USER_EIGEN:BOOL=ON, below).
3434
ExternalProject_Add(eigen
35-
URL https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz
36-
URL_HASH SHA256=8586084f71f9bde545ee7fa6d00288b264a2b7ac3607b974e54d13e7162c1c72
35+
URL https://gitlab.com/libeigen/eigen/-/archive/5.0.0/eigen-5.0.0.tar.gz
36+
URL_HASH SHA256=315c881e19e17542a7d428c5aa37d113c89b9500d350c433797b730cd449c056
3737
TLS_VERIFY ON
3838
CMAKE_ARGS
3939
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
@@ -42,21 +42,6 @@ ExternalProject_Add(eigen
4242
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
4343
-DCMAKE_PREFIX_PATH:PATH=${CMAKE_PREFIX_PATH}
4444
-DCMAKE_VERBOSE_MAKEFILE:BOOL=${CMAKE_VERBOSE_MAKEFILE}
45-
# Suppress warnings from Eigen's deprecated upstream CMake.
46-
# 1. Using find_package(CUDA), which has been replaced by more robust CUDA
47-
# language support since CMake 3.27. Eigen officially enforces the OLD
48-
# policy, but doesn't properly cover their "unsupported" code.
49-
# See https://cmake.org/cmake/help/latest/module/FindCUDA.html or run
50-
# cmake --help-policy CMP0146 for details.
51-
-DCMAKE_POLICY_DEFAULT_CMP0146:STRING=OLD
52-
# 2. Using find_package(Boost), which has been replaced by Boost's upstream
53-
# package configuration file since CMake 3.30 and Boost 1.70.
54-
# find_package(Boost) now defers to upstream to keep up with their
55-
# releases. Since Eigen allows Boost from 1.53 (as of writing), we can't
56-
# enforce the NEW policy here.
57-
# See https://cmake.org/cmake/help/latest/module/FindBoost.html or run
58-
# cmake --help-policy CMP0167 for details.
59-
-DCMAKE_POLICY_DEFAULT_CMP0167:STRING=OLD
6045
BUILD_ALWAYS ON
6146
)
6247

0 commit comments

Comments
 (0)