资源简介
tensorflow lite 所需要的依赖,download_dependencies.sh文件下载最新文件。下载时间2020/11/2。解压文件夹downloads 放在tensorflow-master\tensorflow\lite\tools\make
代码片段和文件信息
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Note: Conan is supported on a best-effort basis. Abseil doesn‘t use Conan
# internally so we won‘t know if it stops working. We may ask community
# members to help us debug any problems that arise.
from conans import ConanFile CMake tools
from conans.errors import ConanInvalidConfiguration
from conans.model.version import Version
class AbseilConan(ConanFile):
name = “abseil“
url = “https://github.com/abseil/abseil-cpp“
homepage = url
author = “Abseil “
description = “Abseil Common Libraries (C++) from Google“
license = “Apache-2.0“
topics = (“conan“ “abseil“ “abseil-cpp“ “google“ “common-libraries“)
exports = [“LICENSE“]
exports_sources = [“CMakeLists.txt“ “CMake/*“ “absl/*“]
generators = “cmake“
settings = “os“ “arch“ “compiler“ “build_type“
def configure(self):
if self.settings.os == “Windows“ and \
self.settings.compiler == “Visual Studio“ and \
Version(self.settings.compiler.version.value) < “14“:
raise ConanInvalidConfiguration(“Abseil does not support MSVC < 14“)
def build(self):
tools.replace_in_file(“CMakeLists.txt“ “project(absl CXX)“ “project(absl CXX)\ninclude(conanbuildinfo.cmake)\nconan_basic_setup()“)
cmake = CMake(self)
cmake.definitions[“BUILD_TESTING“] = False
cmake.configure()
cmake.build()
def package(self):
self.copy(“LICENSE“ dst=“licenses“)
self.copy(“*.h“ dst=“include“ src=“.“)
self.copy(“*.inc“ dst=“include“ src=“.“)
self.copy(“*.a“ dst=“lib“ src=“.“ keep_path=False)
self.copy(“*.lib“ dst=“lib“ src=“.“ keep_path=False)
def package_info(self):
if self.settings.os == “Linux“:
self.cpp_info.libs = [“-Wl--start-group“]
self.cpp_info.libs.extend(tools.collect_libs(self))
if self.settings.os == “Linux“:
self.cpp_info.libs.extend([“-Wl--end-group“ “pthread“])
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-11-02 15:19 downloads\
目录 0 2020-11-02 15:18 downloads\absl\
文件 51 2020-03-05 04:57 downloads\absl\.clang-format
文件 313 2020-03-05 04:57 downloads\absl\.gitignore
文件 1095 2020-03-05 04:57 downloads\absl\ABSEIL_ISSUE_TEMPLATE.md
文件 295 2020-03-05 04:57 downloads\absl\AUTHORS
目录 0 2020-03-05 04:57 downloads\absl\CMake\
文件 14383 2020-03-05 04:57 downloads\absl\CMake\AbseilDll.cmake
文件 10736 2020-03-05 04:57 downloads\absl\CMake\AbseilHelpers.cmake
文件 1006 2020-03-05 04:57 downloads\absl\CMake\AbseilInstallDirs.cmake
目录 0 2020-03-05 04:57 downloads\absl\CMake\Googletest\
文件 427 2020-03-05 04:57 downloads\absl\CMake\Googletest\CMakeLists.txt.in
文件 1681 2020-03-05 04:57 downloads\absl\CMake\Googletest\DownloadGTest.cmake
文件 3522 2020-03-05 04:57 downloads\absl\CMake\README.md
文件 137 2020-03-05 04:57 downloads\absl\CMake\abslConfig.cmake.in
目录 0 2020-03-05 04:57 downloads\absl\CMake\install_test_project\
文件 848 2020-03-05 04:57 downloads\absl\CMake\install_test_project\CMakeLists.txt
文件 796 2020-03-05 04:57 downloads\absl\CMake\install_test_project\simple.cc
文件 3704 2020-03-05 04:57 downloads\absl\CMake\install_test_project\test.sh
文件 4568 2020-03-05 04:57 downloads\absl\CMakeLists.txt
文件 6863 2020-03-05 04:57 downloads\absl\CONTRIBUTING.md
文件 8801 2020-03-05 04:57 downloads\absl\FAQ.md
文件 11361 2020-03-05 04:57 downloads\absl\LICENSE
文件 770 2020-03-05 04:57 downloads\absl\LTS.md
文件 4767 2020-03-05 04:57 downloads\absl\README.md
文件 642 2020-03-05 04:57 downloads\absl\UPGRADES.md
文件 1886 2020-03-05 04:57 downloads\absl\WORKSPACE
目录 0 2020-03-05 04:57 downloads\absl\absl\
文件 1311 2020-03-05 04:57 downloads\absl\absl\BUILD.bazel
文件 1080 2020-03-05 04:57 downloads\absl\absl\CMakeLists.txt
文件 7376 2020-03-05 04:57 downloads\absl\absl\abseil.podspec.gen.py
............此处省略5383个文件信息
- 上一篇:arta1.90.rar
- 下一篇:优酷APP全量支持“暗黑模式”设计与技术完整总结
评论
共有 条评论