File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1414
1515"""Registers Bazel workspaces for the Boost C++ libraries."""
1616
17- load ("@bazel_tools//tools/build_defs/repo:git .bzl" , "git_repository " )
17+ load ("@bazel_tools//tools/build_defs/repo:http .bzl" , "http_archive " )
1818load ("@bazel_tools//tools/build_defs/repo:utils.bzl" , "maybe" )
1919
2020def boost ():
2121 maybe (
22- git_repository ,
22+ http_archive ,
2323 name = "com_github_nelhage_rules_boost" ,
2424 # This equivalent to boost 1.82
25- commit = " 1217caae292dc9f14e8109777ba43c988cf89c5b" ,
26- remote = "https://github.com/nelhage/ rules_boost" ,
27- shallow_since = "1640124117 -0800 " ,
25+ urls = [ "https://github.com/nelhage/rules_boost/archive/ 1217caae292dc9f14e8109777ba43c988cf89c5b.zip" ] ,
26+ strip_prefix = "rules_boost-1217caae292dc9f14e8109777ba43c988cf89c5b " ,
27+ integrity = "sha256-dBOuD+owIZaNbz07AXJJmwdPYcZsQU54rD/s+D8VL/I= " ,
2828 patches = [
2929 # rules_boost does not include Boost Python, see
3030 # https://github.com/nelhage/rules_boost/issues/67
Original file line number Diff line number Diff line change 1414
1515"""Registers Bazel workspaces for the GNU readline library."""
1616
17- load ("@bazel_tools//tools/build_defs/repo:git .bzl" , "git_repository " )
17+ load ("@bazel_tools//tools/build_defs/repo:http .bzl" , "http_archive " )
1818load ("@bazel_tools//tools/build_defs/repo:utils.bzl" , "maybe" )
1919
2020def com_google_protobuf ():
2121 maybe (
22- git_repository ,
22+ http_archive ,
2323 name = "com_google_protobuf" ,
24- tag = "v23.3" ,
25- patches = ["@com_google_ortools//patches:protobuf-v23.3.patch" ],
24+ urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v23.3/protobuf-23.3.tar.gz" ],
25+ strip_prefix = "protobuf-23.3" ,
26+ integrity = "sha256-Ol9HrTqhAZLFV3/whrJLlzmjaTfDTOq225EqFqPvf44=" ,
2627 patch_args = ["-p1" ],
27- remote = "https://github.com/protocolbuffers/ protobuf.git" ,
28+ patches = [ "@com_google_ortools//patches: protobuf-v23.3.patch" ] ,
2829 )
You can’t perform that action at this time.
0 commit comments