[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
This commit is contained in:
Jacob Kahn 2021-04-23 12:41:58 -05:00 committed by GitHub
parent e4096d6c17
commit 76f93fd1e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 7 deletions

View File

@ -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)

View File

@ -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"
]
}
}
}

View File

@ -1981,7 +1981,7 @@
"port-version": 1
},
"flashlight-cpu": {
"baseline": "20210111",
"baseline": "0.3",
"port-version": 0
},
"flashlight-cuda": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "63e05566899f6a034fb93cf6556cf3d5ca387f61",
"version": "0.3",
"port-version": 0
},
{
"git-tree": "d4a7e9f779d4cce7cc5fe65b83411fca53306f62",
"version-string": "20210111",