We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1c8118 commit bc80a5dCopy full SHA for bc80a5d
torchao/experimental/CMakeLists.txt
@@ -95,6 +95,9 @@ endif()
95
if (NOT TARGET cpuinfo)
96
# For some reason cpuinfo package has unused functions/variables
97
# TODO (T215533422): fix upstream
98
+ set(CPUINFO_BUILD_UNIT_TESTS OFF CACHE BOOL "Disable unit tests" FORCE)
99
+ set(CPUINFO_BUILD_MOCK_TESTS OFF CACHE BOOL "Disable mock tests" FORCE)
100
+ set(CPUINFO_BUILD_BENCHMARKS OFF CACHE BOOL "Disable benchmarks" FORCE)
101
add_compile_options(-Wno-unused-function -Wno-unused-variable)
102
include(FetchContent)
103
FetchContent_Declare(cpuinfo
0 commit comments