[consteig] Add consteig 1.0.0 (#50827)

This commit is contained in:
Mitchell Thompkins 2026-04-06 16:12:46 -07:00 committed by GitHub
parent 5cdf81b44e
commit 81e3c888ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,26 @@
set(VCPKG_BUILD_TYPE release) # header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO MitchellThompkins/consteig
REF "${VERSION}"
SHA512 7edee6224fd819b8a6c280c0644dd74bd268e19507281baec07f92bb783eae6347467c16f22c1ebd83a3090af07ae64c27e17d4ffbc765f16a327748b030a4e6
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCONSTEIG_VERSION="${VERSION}"
-DCONSTEIG_BUILD_TESTS=OFF
-DCONSTEIG_BUILD_EXAMPLES=OFF
-DCONSTEIG_BUILD_PROFILING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/consteig)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

18
ports/consteig/vcpkg.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "consteig",
"version": "1.0.0",
"description": "Header-only C++17 constexpr library for compile-time eigenvalue and eigenvector computation",
"homepage": "https://github.com/MitchellThompkins/consteig",
"license": "Apache-2.0",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1964,6 +1964,10 @@
"baseline": "1.0.2",
"port-version": 0
},
"consteig": {
"baseline": "1.0.0",
"port-version": 0
},
"constexpr": {
"baseline": "1.0",
"port-version": 3

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "1e241964f3cc5e04d4e5a4e794637ad70d499cc0",
"version": "1.0.0",
"port-version": 0
}
]
}