aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathis Logemann <mathisloge@gmail.com>2021-04-29 00:32:43 +0200
committerGitHub <noreply@github.com>2021-04-28 15:32:43 -0700
commitb9a6b3985ff9e84a28e4280b673298fedf8f2c17 (patch)
tree0773783dc4781883878f7a2fba9d0a2363eacd80
parent62407516123a9aaf36710bce15368dd7ca9b168d (diff)
downloadvcpkg-b9a6b3985ff9e84a28e4280b673298fedf8f2c17.tar.gz
vcpkg-b9a6b3985ff9e84a28e4280b673298fedf8f2c17.zip
[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
-rw-r--r--ports/fplus/portfile.cmake10
-rw-r--r--ports/fplus/vcpkg.json2
-rw-r--r--ports/frugally-deep/portfile.cmake28
-rw-r--r--ports/frugally-deep/vcpkg.json16
-rw-r--r--versions/baseline.json6
-rw-r--r--versions/f-/fplus.json5
-rw-r--r--versions/f-/frugally-deep.json9
7 files changed, 70 insertions, 6 deletions
diff --git a/ports/fplus/portfile.cmake b/ports/fplus/portfile.cmake
index 486c7bb46..5969cd318 100644
--- a/ports/fplus/portfile.cmake
+++ b/ports/fplus/portfile.cmake
@@ -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) \ No newline at end of file
+configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
diff --git a/ports/fplus/vcpkg.json b/ports/fplus/vcpkg.json
index 6f40283c0..0e4c7ad71 100644
--- a/ports/fplus/vcpkg.json
+++ b/ports/fplus/vcpkg.json
@@ -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"
}
diff --git a/ports/frugally-deep/portfile.cmake b/ports/frugally-deep/portfile.cmake
new file mode 100644
index 000000000..725e384cb
--- /dev/null
+++ b/ports/frugally-deep/portfile.cmake
@@ -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)
diff --git a/ports/frugally-deep/vcpkg.json b/ports/frugally-deep/vcpkg.json
new file mode 100644
index 000000000..80ff2ebec
--- /dev/null
+++ b/ports/frugally-deep/vcpkg.json
@@ -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"
+ }
+ }
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 90500ff2c..5c77099ed 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -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
diff --git a/versions/f-/fplus.json b/versions/f-/fplus.json
index d4e5d80e3..fa4422235 100644
--- a/versions/f-/fplus.json
+++ b/versions/f-/fplus.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "d76810dad7926ef832d9f75966f99a763ed40cfb",
+ "version-semver": "0.2.14-p0",
+ "port-version": 0
+ },
+ {
"git-tree": "3c2d60588fe82f0001bd8bdf1a7b765c7e51eb6d",
"version-semver": "0.2.13-p0",
"port-version": 0
diff --git a/versions/f-/frugally-deep.json b/versions/f-/frugally-deep.json
new file mode 100644
index 000000000..ac3a7cf7f
--- /dev/null
+++ b/versions/f-/frugally-deep.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "b53df71f90baedbb8e1d9c05ad4d437756c289d3",
+ "version-semver": "0.15.2-p0",
+ "port-version": 0
+ }
+ ]
+}