Skip to content

Commit 3cf1127

Browse files
mcr229facebook-github-bot
authored andcommitted
Fix CPUINFO dependency for xnnpack/threadpool (#62)
Summary: Pull Request resolved: #62 Forgot to fix this third_party_dep for threadpool. In OSS it should be pointing to xnnpack/third-party/cpuinfo instead of internal cpuinfo Reviewed By: kimishpatel, kirklandsign Differential Revision: D48335278 fbshipit-source-id: a43a66b35ed3a80fd9dd95d8bca9f9ced65eb57d
1 parent 961c7a3 commit 3cf1127

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backends/xnnpack/threadpool/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def define_common_targets():
2727
exported_headers = _THREADPOOL_HEADERS,
2828
exported_deps = [
2929
third_party_dep("pthreadpool"),
30+
third_party_dep("cpuinfo"),
3031
],
31-
external_deps = ["cpuinfo"],
3232
exported_preprocessor_flags = [
3333
"-DET_USE_THREADPOOL",
3434
],

shim/xplat/executorch/backends/xnnpack/third-party/third_party_libs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ _THIRD_PARTY_LIBS = {
88
"FXdiv": ["//xplat/third-party/FXdiv:FXdiv", "//backends/xnnpack/third-party:FXdiv"],
99
"XNNPACK": ["//xplat/third-party/XNNPACK:XNNPACK", "//backends/xnnpack/third-party:XNNPACK"],
1010
"clog": ["//xplat/third-party/clog:clog", "//backends/xnnpack/third-party:clog"],
11-
"cpuinfo": ["//third-party/cpuinfo:cpuinfo", "//backends/xnnpack/third-party:cpuinfo"],
11+
"cpuinfo": ["fbsource//third-party/cpuinfo:cpuinfo", "//backends/xnnpack/third-party:cpuinfo"],
1212
"pthreadpool": ["//xplat/third-party/pthreadpool:pthreadpool", "//backends/xnnpack/third-party:pthreadpool"],
1313
"pthreadpool_header": ["//xplat/third-party/pthreadpool:pthreadpool_header", "//backends/xnnpack/third-party:pthreadpool_header"],
1414
}

0 commit comments

Comments
 (0)