55
66# Bazel rule definitions
77bazel_dep (name = "rules_cc" , version = "0.1.1" )
8+ bazel_dep (name = "rules_license" , version = "1.0.0" )
89bazel_dep (name = "rules_python" , version = "1.0.0" )
910
1011pip = use_extension ("@rules_python//python/extensions:pip.bzl" , "pip" )
@@ -31,11 +32,12 @@ http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "ht
3132
3233# LINT.IfChange(googletest)
3334# Google Test framework, used by most unit-tests.
34- http_archive (
35- name = "com_google_googletest" ,
36- sha256 = "ce7366fe57eb49928311189cb0e40e0a8bf3d3682fca89af30d884c25e983786" ,
37- strip_prefix = "googletest-release-1.12.0" ,
38- urls = ["https://github.com/google/googletest/archive/release-1.12.0.zip" ],
35+ bazel_dep (name = "googletest" , version = "1.17.0.bcr.2" , repo_name = "com_google_googletest" )
36+ archive_override (
37+ module_name = "googletest" ,
38+ sha256 = "a4cb11930215b071168811982dfbebc82a2bb0f90db0e8713245931eb742ea46" ,
39+ strip_prefix = "googletest-d72f9c8aea6817cdf1ca0ac10887f328de7f3da2" ,
40+ urls = ["https://github.com/google/googletest/archive/d72f9c8aea6817cdf1ca0ac10887f328de7f3da2.zip" ],
3941)
4042# LINT.ThenChange(cmake/DownloadGoogleTest.cmake,WORKSPACE:googletest)
4143
@@ -63,10 +65,10 @@ http_archive(
6365# cpuinfo library, used for detecting processor characteristics
6466http_archive (
6567 name = "cpuinfo" ,
66- sha256 = "52e0ffd7998d8cb3a927d8a6e1145763744d866d2be09c4eccea27fc157b6bb0 " ,
67- strip_prefix = "cpuinfo-cebb0933058d7f181c979afd50601dc311e1bf8c " ,
68+ sha256 = "995316f224247d1611ab1b624a66bc5cbd5b5d2e5ce991ed68d983aac950ad8b " ,
69+ strip_prefix = "cpuinfo-bc3c01e230c6974283e4b89421cfb0e232435589 " ,
6870 urls = [
69- "https://github.com/pytorch/cpuinfo/archive/cebb0933058d7f181c979afd50601dc311e1bf8c .zip" ,
71+ "https://github.com/pytorch/cpuinfo/archive/bc3c01e230c6974283e4b89421cfb0e232435589 .zip" ,
7072 ],
7173)
7274# LINT.ThenChange(cmake/DownloadCpuinfo.cmake)
0 commit comments