mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 00:29:08 +08:00
[tomsolver] Add new port (#42096)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
parent
6378599835
commit
03d773c832
22
ports/tomsolver/portfile.cmake
Normal file
22
ports/tomsolver/portfile.cmake
Normal 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")
|
17
ports/tomsolver/vcpkg.json
Normal file
17
ports/tomsolver/vcpkg.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
@ -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
|
||||
|
9
versions/t-/tomsolver.json
Normal file
9
versions/t-/tomsolver.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ca6ebeda0ee3996867907f8948cb722480696a04",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user