Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix CPUINFO dependency for xnnpack/threadpool
Differential Revision: D48335278

fbshipit-source-id: 38e67b7cf0f274cc4cb7e43b401ffa497832712e
  • Loading branch information
mcr229 authored and facebook-github-bot committed Aug 20, 2023
commit 0cab1406a1b89852bc5023b196777a2730be4783
2 changes: 1 addition & 1 deletion backends/xnnpack/threadpool/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def define_common_targets():
exported_headers = _THREADPOOL_HEADERS,
exported_deps = [
third_party_dep("pthreadpool"),
third_party_dep("cpuinfo"),
],
external_deps = ["cpuinfo"],
exported_preprocessor_flags = [
"-DET_USE_THREADPOOL",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _THIRD_PARTY_LIBS = {
"FXdiv": ["//xplat/third-party/FXdiv:FXdiv", "//backends/xnnpack/third-party:FXdiv"],
"XNNPACK": ["//xplat/third-party/XNNPACK:XNNPACK", "//backends/xnnpack/third-party:XNNPACK"],
"clog": ["//xplat/third-party/clog:clog", "//backends/xnnpack/third-party:clog"],
"cpuinfo": ["//third-party/cpuinfo:cpuinfo", "//backends/xnnpack/third-party:cpuinfo"],
"cpuinfo": ["fbsource//third-party/cpuinfo:cpuinfo", "//backends/xnnpack/third-party:cpuinfo"],
"pthreadpool": ["//xplat/third-party/pthreadpool:pthreadpool", "//backends/xnnpack/third-party:pthreadpool"],
"pthreadpool_header": ["//xplat/third-party/pthreadpool:pthreadpool_header", "//backends/xnnpack/third-party:pthreadpool_header"],
}
Expand Down