mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[new/updated port] frugally-deep and updated fplus (#17559)
* update fplus and fix cmake target. new port frugally-deep * update version and format manifest * add frugally-deep version * lol thats header only.. * update version * add feature double to frugally-deep * update version
This commit is contained in:
parent
6240751612
commit
b9a6b3985f
@ -1,15 +1,17 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Dobiasd/FunctionalPlus
|
||||
REF 916abce0787da6c6c373d06c453a2cd684594dc2 #v0.2.13-p0
|
||||
SHA512 40aa090fc96794e1255416fba84b4afae6b52fe66dc9b810d863da78f387238054e743ba775921b1387b10b00ce6d1500df97806018181f26fcbc925758ef0f6
|
||||
REF v0.2.14-p0
|
||||
SHA512 f6232140fc343521bc484c7fa1a9d4942fbfc078be1cefa7b34c33632ec23d55827d13319f7b7a5535c5eedeb3161e15f84ecb80aa110685dbfc2c932c57284b
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
-DFPLUS_BUILD_EXAMPLES=OFF
|
||||
OPTIONS
|
||||
-DFPLUS_BUILD_EXAMPLES=OFF
|
||||
-DFunctionalPlus_INSTALL_CMAKEDIR=share/FunctionalPlus
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
@ -17,4 +19,4 @@ vcpkg_install_cmake()
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
|
||||
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "fplus",
|
||||
"version-semver": "0.2.13-p0",
|
||||
"version-semver": "0.2.14-p0",
|
||||
"description": "Functional Programming Library for C++. Write concise and readable C++ code",
|
||||
"homepage": "https://github.com/Dobiasd/FunctionalPlus"
|
||||
}
|
||||
|
28
ports/frugally-deep/portfile.cmake
Normal file
28
ports/frugally-deep/portfile.cmake
Normal file
@ -0,0 +1,28 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Dobiasd/frugally-deep
|
||||
REF v0.15.2-p0
|
||||
SHA512 2237c139c217cc9e338c854505009e85cea6658888e0d97c0c7957b58e0e53e2add555b81fa276c2ec9f794d5356bdb267c1e0b05090c83627916d954d2a11ba
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
double FDEEP_USE_DOUBLE
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
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})
|
||||
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)
|
16
ports/frugally-deep/vcpkg.json
Normal file
16
ports/frugally-deep/vcpkg.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "frugally-deep",
|
||||
"version-semver": "0.15.2-p0",
|
||||
"description": "Header-only library for using Keras models in C++.",
|
||||
"homepage": "https://github.com/Dobiasd/frugally-deep",
|
||||
"dependencies": [
|
||||
"eigen3",
|
||||
"fplus",
|
||||
"nlohmann-json"
|
||||
],
|
||||
"features": {
|
||||
"double": {
|
||||
"description": "Use double precision"
|
||||
}
|
||||
}
|
||||
}
|
@ -2053,7 +2053,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"fplus": {
|
||||
"baseline": "0.2.13-p0",
|
||||
"baseline": "0.2.14-p0",
|
||||
"port-version": 0
|
||||
},
|
||||
"freeglut": {
|
||||
@ -2096,6 +2096,10 @@
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"frugally-deep": {
|
||||
"baseline": "0.15.2-p0",
|
||||
"port-version": 0
|
||||
},
|
||||
"fruit": {
|
||||
"baseline": "3.6.0",
|
||||
"port-version": 0
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d76810dad7926ef832d9f75966f99a763ed40cfb",
|
||||
"version-semver": "0.2.14-p0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "3c2d60588fe82f0001bd8bdf1a7b765c7e51eb6d",
|
||||
"version-semver": "0.2.13-p0",
|
||||
|
9
versions/f-/frugally-deep.json
Normal file
9
versions/f-/frugally-deep.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b53df71f90baedbb8e1d9c05ad4d437756c289d3",
|
||||
"version-semver": "0.15.2-p0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user