aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authornihui <shuizhuyuanluo@126.com>2024-04-02 23:38:40 +0800
committerGitHub <noreply@github.com>2024-04-02 11:38:40 -0400
commit31880df9947d58c160b691160c4714277be7c31e (patch)
tree4dbb041aa35fcd8ef242d6b5ad2d56212e355a5f /llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
parentc5bbdb64940d75e7702d1d450e77534d908fc9f1 (diff)
downloadllvm-31880df9947d58c160b691160c4714277be7c31e.zip
llvm-31880df9947d58c160b691160c4714277be7c31e.tar.gz
llvm-31880df9947d58c160b691160c4714277be7c31e.tar.bz2
[OpenMP] get logical core count on modern apple platform (#87231)
`hw.logicalcpu` returns the available logical core count Fix build error for watchOS ``` runtime/src/z_Linux_util.cpp:1821:8: error: 'host_info' is unavailable: not available on watchOS rc = host_info(mach_host_self(), HOST_BASIC_INFO, (host_info_t)&info, &num); ^ /Applications/Xcode_15.2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.2.sdk/usr/include/mach/mach_host.h:82:15: note: 'host_info' has been explicitly marked unavailable here kern_return_t host_info ^ 1 warning and 1 error generated. make[2]: *** [runtime/src/CMakeFiles/omp.dir/z_Linux_util.cpp.o] Error 1 ```
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions