[tomsolver] Add new port (#42096)

Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
Tom Willow 2024-11-14 19:04:05 +08:00 committed by GitHub
parent 6378599835
commit 03d773c832
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tomwillow/tomsolver
REF "${VERSION}"
SHA512 332301dc8df2756818e709655f726193dd424fb04fba2e18b4264fa078120a6da9cc6a164c930a440439b1b34f7f6a8afc9263db5e8c16e6cd99391296ab0296
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLES=OFF
-DBUILD_TESTS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,17 @@
{
"name": "tomsolver",
"version": "1.0.0",
"description": "Simplest, Well-tested, Non-linear equations solver library.",
"homepage": "https://github.com/tomwillow/tomsolver",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -9080,6 +9080,10 @@
"baseline": "3.4.0",
"port-version": 0
},
"tomsolver": {
"baseline": "1.0.0",
"port-version": 0
},
"torch-th": {
"baseline": "2019-04-19",
"port-version": 4

View File

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