Skip to content

Commit 81e3c88

Browse files
[consteig] Add consteig 1.0.0 (#50827)
1 parent 5cdf81b commit 81e3c88

4 files changed

Lines changed: 57 additions & 0 deletions

File tree

ports/consteig/portfile.cmake

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
set(VCPKG_BUILD_TYPE release) # header-only library
2+
3+
vcpkg_from_github(
4+
OUT_SOURCE_PATH SOURCE_PATH
5+
REPO MitchellThompkins/consteig
6+
REF "${VERSION}"
7+
SHA512 7edee6224fd819b8a6c280c0644dd74bd268e19507281baec07f92bb783eae6347467c16f22c1ebd83a3090af07ae64c27e17d4ffbc765f16a327748b030a4e6
8+
HEAD_REF main
9+
)
10+
11+
vcpkg_cmake_configure(
12+
SOURCE_PATH "${SOURCE_PATH}"
13+
OPTIONS
14+
-DCONSTEIG_VERSION="${VERSION}"
15+
-DCONSTEIG_BUILD_TESTS=OFF
16+
-DCONSTEIG_BUILD_EXAMPLES=OFF
17+
-DCONSTEIG_BUILD_PROFILING=OFF
18+
)
19+
20+
vcpkg_cmake_install()
21+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/consteig)
22+
23+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
24+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
25+
26+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

ports/consteig/vcpkg.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "consteig",
3+
"version": "1.0.0",
4+
"description": "Header-only C++17 constexpr library for compile-time eigenvalue and eigenvector computation",
5+
"homepage": "https://github.com/MitchellThompkins/consteig",
6+
"license": "Apache-2.0",
7+
"supports": "!uwp",
8+
"dependencies": [
9+
{
10+
"name": "vcpkg-cmake",
11+
"host": true
12+
},
13+
{
14+
"name": "vcpkg-cmake-config",
15+
"host": true
16+
}
17+
]
18+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,6 +1964,10 @@
19641964
"baseline": "1.0.2",
19651965
"port-version": 0
19661966
},
1967+
"consteig": {
1968+
"baseline": "1.0.0",
1969+
"port-version": 0
1970+
},
19671971
"constexpr": {
19681972
"baseline": "1.0",
19691973
"port-version": 3

versions/c-/consteig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"versions": [
3+
{
4+
"git-tree": "1e241964f3cc5e04d4e5a4e794637ad70d499cc0",
5+
"version": "1.0.0",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)