early-access version 2853
This commit is contained in:
11
externals/vcpkg/ports/tensorflow-cc/portfile.cmake
vendored
Executable file
11
externals/vcpkg/ports/tensorflow-cc/portfile.cmake
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
endif()
|
||||
|
||||
set(TF_LIB_SUFFIX "_cc")
|
||||
set(TF_PORT_SUFFIX "-cc")
|
||||
set(TF_INCLUDE_DIRS "\${TENSORFLOW_INSTALL_PREFIX}/include/tensorflow-external \${TENSORFLOW_INSTALL_PREFIX}/include/tensorflow-external/src")
|
||||
list(APPEND CMAKE_MODULE_PATH "${CURRENT_INSTALLED_DIR}/share/tensorflow-common")
|
||||
include(tensorflow-common)
|
||||
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/bazel-bin/tensorflow/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/tensorflow-external")
|
11
externals/vcpkg/ports/tensorflow-cc/vcpkg.json
vendored
Executable file
11
externals/vcpkg/ports/tensorflow-cc/vcpkg.json
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "tensorflow-cc",
|
||||
"version-semver": "2.7.0",
|
||||
"port-version": 2,
|
||||
"description": "Library for computation using data flow graphs for scalable machine learning (C++ API version)",
|
||||
"homepage": "https://github.com/tensorflow/tensorflow",
|
||||
"supports": "!(x86 | arm | uwp)",
|
||||
"dependencies": [
|
||||
"tensorflow-common"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user