зеркало из https://github.com/microsoft/vcpkg.git
[wg21-linear-algebra] Add new port (#28384)
* Add new port "wg21-linear-algebra" Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> * Replace deprecated functions Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
This commit is contained in:
Родитель
d1fcc4f17d
Коммит
9e303cf56e
|
@ -0,0 +1,31 @@
|
|||
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO BobSteagall/wg21
|
||||
REF "v${VERSION}"
|
||||
SHA512 c249344d035d09760a9e5ea059ed6db5a1cb42b918735672bd7aa6dbda08f947855582f76ad61d33f59a847d8befe5caed57d25da2bcfc9fa8e6cef50a4c24e2
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DLA_INSTALL=ON
|
||||
-DLA_BUILD_PACKAGE=OFF
|
||||
-DLA_ENABLE_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME wg21_linear_algebra
|
||||
CONFIG_PATH lib/cmake/wg21_linear_algebra
|
||||
)
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/cmake"
|
||||
"${CURRENT_PACKAGES_DIR}/debug"
|
||||
"${CURRENT_PACKAGES_DIR}/lib"
|
||||
)
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "wg21-linear-algebra",
|
||||
"version": "0.7.2",
|
||||
"description": "A linear algebra proposal for the C++ standard library",
|
||||
"license": "NCSA",
|
||||
"dependencies": [
|
||||
"mdspan",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -8012,6 +8012,10 @@
|
|||
"baseline": "1.5.8",
|
||||
"port-version": 1
|
||||
},
|
||||
"wg21-linear-algebra": {
|
||||
"baseline": "0.7.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"wg21-sg14": {
|
||||
"baseline": "2019-08-13",
|
||||
"port-version": 1
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d3968b4096fba4dbd1189fb9b7b1d33ba562fdc7",
|
||||
"version": "0.7.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче