aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kahn <jacobkahn1@gmail.com>2021-04-23 12:41:58 -0500
committerGitHub <noreply@github.com>2021-04-23 10:41:58 -0700
commit76f93fd1e16e93c1cffd9d9392dd66794b913157 (patch)
tree8b12b5ea5a5048cb95c8b9a778e57db415cd3f41
parente4096d6c17799638de97ceca4583d9adfc54b87b (diff)
downloadvcpkg-76f93fd1e16e93c1cffd9d9392dd66794b913157.tar.gz
vcpkg-76f93fd1e16e93c1cffd9d9392dd66794b913157.zip
[flashlight-cpu] Update port to v0.3 (#17432)
* [flashlight-cpu] Update port to v0.3 * Update origin * Change version-string to version, x-add-version * commit with --overwrite-version
-rw-r--r--ports/flashlight-cpu/portfile.cmake20
-rw-r--r--ports/flashlight-cpu/vcpkg.json16
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/f-/flashlight-cpu.json5
4 files changed, 36 insertions, 7 deletions
diff --git a/ports/flashlight-cpu/portfile.cmake b/ports/flashlight-cpu/portfile.cmake
index 221a0ef7d..49246dc8c 100644
--- a/ports/flashlight-cpu/portfile.cmake
+++ b/ports/flashlight-cpu/portfile.cmake
@@ -6,9 +6,9 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
- REPO facebookresearch/flashlight
- REF 81c4d8d5ea57e9ceaa6db3b17f0861491fd31383
- SHA512 988da269be81f7b4897d72e52683259f4223029b5012150958b9b21c7103fe49a2458ffa5623ed53c125a98f7294541af46cd68b17e9213269e5a2aecfaabb67
+ REPO flashlight/flashlight
+ REF 76f7fa7f5a162c73d6bf8befdb8e197a4dc7515d # 0.3 branch tip
+ SHA512 87786f9443d27ac9b513cf582caea13dccfa344e55a4970c0c2c7df7530260ad38cc578690ebf2fa256e8ea943abea547e0e6d5ee0ba090b336c4f7af8d2f53f
HEAD_REF master
)
@@ -30,6 +30,7 @@ vcpkg_check_features(
asr FL_BUILD_APP_ASR
imgclass FL_BUILD_APP_IMGCLASS
lm FL_BUILD_APP_LM
+ objdet FL_BUILD_APP_OBJDET
)
# Build and install
@@ -48,7 +49,11 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
# Binaries/tools
set(FLASHLIGHT_TOOLS "")
if ("imgclass" IN_LIST FEATURES)
- list(APPEND FLASHLIGHT_TOOLS fl_img_imagenet_resnet34)
+ list(APPEND FLASHLIGHT_TOOLS
+ fl_img_imagenet_resnet34
+ fl_img_imagenet_eval
+ fl_img_imagenet_vit
+ )
endif()
if ("asr" IN_LIST FEATURES)
list(APPEND FLASHLIGHT_TOOLS
@@ -57,10 +62,15 @@ if ("asr" IN_LIST FEATURES)
fl_asr_decode
fl_asr_align
fl_asr_voice_activity_detection_ctc
+ fl_asr_arch_benchmark
)
endif()
if ("lm" IN_LIST FEATURES)
- list(APPEND FLASHLIGHT_TOOLS fl_lm_train fl_lm_dictionary_builder)
+ list(APPEND FLASHLIGHT_TOOLS
+ fl_lm_dictionary_builder
+ fl_lm_train
+ fl_lm_test
+ )
endif()
list(LENGTH FLASHLIGHT_TOOLS NUM_TOOLS)
if (NUM_TOOLS GREATER 0)
diff --git a/ports/flashlight-cpu/vcpkg.json b/ports/flashlight-cpu/vcpkg.json
index fcce9f0a5..38b784683 100644
--- a/ports/flashlight-cpu/vcpkg.json
+++ b/ports/flashlight-cpu/vcpkg.json
@@ -1,6 +1,6 @@
{
"name": "flashlight-cpu",
- "version-string": "20210111",
+ "version": "0.3",
"description": "A C++ standalone library for machine learning. CPU backend.",
"homepage": "https://github.com/facebookresearch/flashlight",
"supports": "!(windows | osx)",
@@ -76,6 +76,20 @@
},
"gflags"
]
+ },
+ "objdet": {
+ "description": "flashlight object detection app",
+ "dependencies": [
+ {
+ "name": "flashlight-cpu",
+ "features": [
+ "fl",
+ "imgclass",
+ "lib"
+ ]
+ },
+ "gflags"
+ ]
}
}
}
diff --git a/versions/baseline.json b/versions/baseline.json
index b815e3b96..4931f9e98 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -1981,7 +1981,7 @@
"port-version": 1
},
"flashlight-cpu": {
- "baseline": "20210111",
+ "baseline": "0.3",
"port-version": 0
},
"flashlight-cuda": {
diff --git a/versions/f-/flashlight-cpu.json b/versions/f-/flashlight-cpu.json
index bc688ab57..79c3c9c92 100644
--- a/versions/f-/flashlight-cpu.json
+++ b/versions/f-/flashlight-cpu.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "63e05566899f6a034fb93cf6556cf3d5ca387f61",
+ "version": "0.3",
+ "port-version": 0
+ },
+ {
"git-tree": "d4a7e9f779d4cce7cc5fe65b83411fca53306f62",
"version-string": "20210111",
"port-version": 0