diff --git a/ports/tomsolver/portfile.cmake b/ports/tomsolver/portfile.cmake new file mode 100644 index 0000000000..0cef15d499 --- /dev/null +++ b/ports/tomsolver/portfile.cmake @@ -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") diff --git a/ports/tomsolver/vcpkg.json b/ports/tomsolver/vcpkg.json new file mode 100644 index 0000000000..bfb9ce3429 --- /dev/null +++ b/ports/tomsolver/vcpkg.json @@ -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 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index f986891b24..1b55b254bc 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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 diff --git a/versions/t-/tomsolver.json b/versions/t-/tomsolver.json new file mode 100644 index 0000000000..9a912c63a1 --- /dev/null +++ b/versions/t-/tomsolver.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "ca6ebeda0ee3996867907f8948cb722480696a04", + "version": "1.0.0", + "port-version": 0 + } + ] +}