Skip to content

Commit a371f5a

Browse files
alexander-shaposhnikovxnnpack-bot
authored andcommitted
Update googletest, cpuinfo version.
PiperOrigin-RevId: 907983498
1 parent 9003ee6 commit a371f5a

4 files changed

Lines changed: 17 additions & 15 deletions

File tree

MODULE.bazel

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module(
55

66
# Bazel rule definitions
77
bazel_dep(name = "rules_cc", version = "0.1.1")
8+
bazel_dep(name = "rules_license", version = "1.0.0")
89
bazel_dep(name = "rules_python", version = "1.0.0")
910

1011
pip = 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
6466
http_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)

WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ http_archive(
1313
# Google Test framework, used by most unit-tests.
1414
http_archive(
1515
name = "com_google_googletest",
16-
sha256 = "ce7366fe57eb49928311189cb0e40e0a8bf3d3682fca89af30d884c25e983786",
17-
strip_prefix = "googletest-release-1.12.0",
18-
urls = ["https://github.com/google/googletest/archive/release-1.12.0.zip"],
16+
sha256 = "a4cb11930215b071168811982dfbebc82a2bb0f90db0e8713245931eb742ea46",
17+
strip_prefix = "googletest-d72f9c8aea6817cdf1ca0ac10887f328de7f3da2",
18+
urls = ["https://github.com/google/googletest/archive/d72f9c8aea6817cdf1ca0ac10887f328de7f3da2.zip"],
1919
)
2020
# LINT.ThenChange(cmake/DownloadGoogleTest.cmake,MODULE.bazel:googletest)
2121

cmake/DownloadCpuinfo.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ PROJECT(cpuinfo-download NONE)
1313

1414
INCLUDE(ExternalProject)
1515
ExternalProject_Add(cpuinfo
16-
URL https://github.com/pytorch/cpuinfo/archive/19b9316c71e4e45b170a664bf62ddefd7ac9feb5.zip
17-
URL_HASH SHA256=e0a485c072de957668eb324c49d726dc0fd736cfb9436b334325f20d93085003
16+
URL https://github.com/pytorch/cpuinfo/archive/bc3c01e230c6974283e4b89421cfb0e232435589.zip
17+
URL_HASH SHA256=995316f224247d1611ab1b624a66bc5cbd5b5d2e5ce991ed68d983aac950ad8b
1818
SOURCE_DIR "${CMAKE_BINARY_DIR}/cpuinfo-source"
1919
BINARY_DIR "${CMAKE_BINARY_DIR}/cpuinfo"
2020
CONFIGURE_COMMAND ""

cmake/DownloadGoogleTest.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ PROJECT(googletest-download NONE)
1313

1414
INCLUDE(ExternalProject)
1515
ExternalProject_Add(googletest
16-
URL https://github.com/google/googletest/archive/release-1.12.0.zip
17-
URL_HASH SHA256=ce7366fe57eb49928311189cb0e40e0a8bf3d3682fca89af30d884c25e983786
16+
URL https://github.com/google/googletest/archive/d72f9c8aea6817cdf1ca0ac10887f328de7f3da2.zip
17+
URL_HASH SHA256=a4cb11930215b071168811982dfbebc82a2bb0f90db0e8713245931eb742ea46
1818
SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-source"
1919
BINARY_DIR "${CMAKE_BINARY_DIR}/googletest"
2020
CONFIGURE_COMMAND ""

0 commit comments

Comments
 (0)