mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
8ad33ead90
* Revert "incorporate changes from microsoft:master" * Revert "Revert "incorporate changes from microsoft:master"" * WIP: update to tensorflow 2.6 * update patch * update more patches * fix patch again * fix new Windows compile/linkage errors * fix patch * fix patch again * temporarily revert Windows build option fix to test whether upstream fix doesn't work * check if constexpr is sufficient (is_same_v requires C++17) * try patch for build parameters * remove fastbuild patch and improve constexpr patch (no C++17 requirement) (fastbuild patch didn't work because bazel overrides it with /DEBUG:FULL) * x-add-version * add C++17 preprocessor switch for "if constexpr" * x-add-version * remove pre-processor switch (doesn't work without) * x-add-version * work-around toolchain issues on macOS * x-add-version * fix Windows build options (must be string, not list) * x-add-version * temporarily add code to debug CI * temporarily add more debug output as build doesn't even start on macOS CI * remove debug code, add switch for linker parameters on macOS and re-introduce old behaviour (some platforms still use old behaviour) * x-add-version * fix broken string termination * x-add-version * fix function name * x-add-version Co-authored-by: jgehw <Joachim_Gehweiler@McAfee.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
28 lines
1.4 KiB
CMake
28 lines
1.4 KiB
CMake
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
|
|
|
set(TENSORFLOW_FILES
|
|
"${CMAKE_CURRENT_LIST_DIR}/change-macros-for-static-lib.patch"
|
|
"${CMAKE_CURRENT_LIST_DIR}/convert_lib_params_linux.py"
|
|
"${CMAKE_CURRENT_LIST_DIR}/convert_lib_params_macos.py"
|
|
"${CMAKE_CURRENT_LIST_DIR}/convert_lib_params_windows.py"
|
|
"${CMAKE_CURRENT_LIST_DIR}/fix-build-error.patch"
|
|
"${CMAKE_CURRENT_LIST_DIR}/fix-windows-build.patch"
|
|
"${CMAKE_CURRENT_LIST_DIR}/generate_static_link_cmd_linux.py"
|
|
"${CMAKE_CURRENT_LIST_DIR}/generate_static_link_cmd_macos.py"
|
|
"${CMAKE_CURRENT_LIST_DIR}/generate_static_link_cmd_windows.py"
|
|
"${CMAKE_CURRENT_LIST_DIR}/README-linux"
|
|
"${CMAKE_CURRENT_LIST_DIR}/README-macos"
|
|
"${CMAKE_CURRENT_LIST_DIR}/README-windows"
|
|
"${CMAKE_CURRENT_LIST_DIR}/tensorflow-common.cmake"
|
|
"${CMAKE_CURRENT_LIST_DIR}/tensorflow-config-shared.cmake.in"
|
|
"${CMAKE_CURRENT_LIST_DIR}/tensorflow-config-static.cmake.in"
|
|
"${CMAKE_CURRENT_LIST_DIR}/tensorflow-config-windows-dll.cmake.in"
|
|
"${CMAKE_CURRENT_LIST_DIR}/tensorflow-config-windows-lib.cmake.in"
|
|
"${CMAKE_CURRENT_LIST_DIR}/Update-bazel-max-version.patch"
|
|
)
|
|
|
|
file(COPY ${TENSORFLOW_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
# Use vcpkg's license
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|