[frugally-deep] Update to version 0.15.19-p0 (#28043)

* Update frugally-deep to version 0.15.19-p0

* Apply x-add-version

* Fix the deprecated function in portfile.cmake

* Add license MIT in vcpkg.json

* Add newline at end of file

* Re-add vcpkg_from_github

* Update portfile.cmake

* Update frugally-deep.json

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
This commit is contained in:
Tobias Hermann 2022-11-30 18:36:10 +01:00 committed by GitHub
parent dcaa9176e1
commit f0870ce368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 11 deletions

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Dobiasd/frugally-deep
REF v0.15.10-p0
SHA512 e665df59c83fea5fc0a89158639c83f9c72cba1fc8c61086032db60c395606dab4e9085f1380714e4f8a82c1f2b143aa22ff6212d9180c368283e1965e6dea87
REF v0.15.19-p0
SHA512 3721ab90fcae975497346c459ad5c75b7a39fc43caddd0251119888834e6ebcfa75048a4f95104c874f5397e0320e97c345f1ae8d6a730c4dc8e5429f8f46a49
HEAD_REF master
)
@ -11,18 +11,17 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
double FDEEP_USE_DOUBLE
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DFDEEP_BUILD_UNITTEST=OFF
-DFDEEP_USE_TOOLCHAIN=ON
${FEATURE_OPTIONS}
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/frugally-deep TARGET_PATH share/${PORT})
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/frugally-deep)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,12 +1,21 @@
{
"name": "frugally-deep",
"version-semver": "0.15.10-p0",
"version-semver": "0.15.19-p0",
"description": "Header-only library for using Keras models in C++.",
"homepage": "https://github.com/Dobiasd/frugally-deep",
"license": "MIT",
"dependencies": [
"eigen3",
"fplus",
"nlohmann-json"
"nlohmann-json",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"double": {

View File

@ -2473,7 +2473,7 @@
"port-version": 0
},
"frugally-deep": {
"baseline": "0.15.10-p0",
"baseline": "0.15.19-p0",
"port-version": 0
},
"fruit": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c3100096175d535c2c9bc09e3d2195f5729203bc",
"version-semver": "0.15.19-p0",
"port-version": 0
},
{
"git-tree": "360c45aa18328060b37ba37ac541fef843d07e29",
"version-semver": "0.15.10-p0",