bazel 本地引入包的方式


d:\Program Files (x86)\Microsoft Visual Studio\2019\Community


bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C:\\_____Soft______\\python3.8.0\\python.exe" mediapipe/examples/desktop/hello_world



file:///C:/Users/peng/Downloads/rules_foreign_cc-0.1.0.zip


   urls = [ "https://github.com/bazelbuild/rules_foreign_cc/archive/0.1.0.zip",
    "file:///C:/Users/peng/Downloads/rules_foreign_cc-0.1.0.zip",
    ],



https://github.com/bazelbuild/rules_swift/releases/download/0.24.0/rules_swift.0.24.0.tar.gz






http_archive(
    name = "rules_swift",
    sha256 = "4f167e5dbb49b082c5b7f49ee688630d69fb96f15c84c448faa2e97a5780dbbc",
    strip_prefix = "rules_swift.0.24.0",
    urls = ["file:///C:/Users/peng/Downloads/rules_swift.0.24.0.tar.gz"],
)




ERROR: An error occurred during the fetch of repository 'build_bazel_apple_suppo
rt':
   Traceback (most recent call last):
        File "C:/users/peng/_bazel_peng/qbgstc4b/external/bazel_tools/tools/buil
d_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://g
ithub.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0
.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/external/build_bazel_apple_suppor
t/temp8846515850834836535/apple_support.0.11.0.tar.gz: connect timed out
ERROR: D:/1hair/mediapipe-master/WORKSPACE:277:25: fetching http_archive rule //
external:build_bazel_apple_support: Traceback (most recent call last):
        File "C:/users/peng/_bazel_peng/qbgstc4b/external/bazel_tools/tools/buil
d_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://g
ithub.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0
.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/external/build_bazel_apple_suppor
t/temp8846515850834836535/apple_support.0.11.0.tar.gz: connect timed out
ERROR: no such package '@build_bazel_apple_support//lib': java.io.IOException: E
rror downloading [https://github.com/bazelbuild/apple_support/releases/download/
0.11.0/apple_support.0.11.0.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/extern
al/build_bazel_apple_support/temp8846515850834836535/apple_support.0.11.0.tar.gz
: connect timed out
INFO: Elapsed time: 55.874s
INFO: 0 processes.



http_archive(
    name = "build_bazel_apple_support",
    sha256 = "741366f79d900c11e11d8efd6cc6c66a31bfb2451178b58e0b5edc6f1db17b35",
    urls = [
        "https://github.com/bazelbuild/apple_support/releases/download/0.10.0/apple_support.0.10.0.tar.gz",
        "file:///C:/Users/peng/Downloads/apple_support.0.10.0.tar.gz",
        ],
)





免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM