facebook / facebook/folly

[FAILED: CMakeFiles/simd_for_each_test.dir/folly/detail/test/SimdForEachTest.cpp.o] on Mac M1 Pro

Open
#2,012 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

# Bug
while using "python3 ./build/fbcode_builder/getdeps.py --allow-system-packages build" command to build, it throwed following messages:

FAILED: CMakeFiles/simd_for_each_test.dir/folly/detail/test/SimdForEachTest.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DFOLLY_XLOG_STRIP_PREFIXES=\"/Users/lan/workspace/github/folly:/private/var/folders/lm/2z2cpc4s2zq3cbhpmxmjdnt80000gn/T/fbcode_builder_getdeps-ZUsersZlanZworkspaceZgithubZfollyZbuildZfbcode_builder/build/folly\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/Users/lan/workspace/github/folly -I/private/var/folders/lm/2z2cpc4s2zq3cbhpmxmjdnt80000gn/T/fbcode_builder_getdeps-ZUsersZlanZworkspaceZgithubZfollyZbuildZfbcode_builder/build/folly -I/opt/homebrew/opt/double-conversion/include -I/private/var/folders/lm/2z2cpc4s2zq3cbhpmxmjdnt80000gn/T/fbcode_builder_getdeps-ZUsersZlanZworkspaceZgithubZfollyZbuildZfbcode_builder/installed/glog-bPJWgSq2qv1dJ0EMf0UUG8ljGrVvfxwdMyhC3zCVwGw/include -I/opt/homebrew/opt/libevent/include -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/lz4/include -I/opt/homebrew/opt/zstd/include -I/private/var/folders/lm/2z2cpc4s2zq3cbhpmxmjdnt80000gn/T/fbcode_builder_getdeps-ZUsersZlanZworkspaceZgithubZfollyZbuildZfbcode_builder/installed/snappy-PYIzysykNPQPxXScc3_j8a-ZWY5tCn13iNt5mWir9_8/include -I/opt/homebrew/opt/libsodium/include -isystem /private/var/folders/lm/2z2cpc4s2zq3cbhpmxmjdnt80000gn/T/fbcode_builder_getdeps-ZUsersZlanZworkspaceZgithubZfollyZbuildZfbcode_builder/installed/googletest-ZRJC4Gut638OY4TNGgY6QhzB_iqmgagGj0XnGFi1s9E/include -isystem /opt/homebrew/Cellar/boost/1.81.0_1/include -isystem /private/var/folders/lm/2z2cpc4s2zq3cbhpmxmjdnt80000gn/T/fbcode_builder_getdeps-ZUsersZlanZworkspaceZgithubZfollyZbuildZfbcode_builder/installed/gflags-C7SVE7M3PKtL2Ub2egqb6u1Ah_XxT7ueeWos61R31OU/include -isystem /private/var/folders/lm/2z2cpc4s2zq3cbhpmxmjdnt80000gn/T/fbcode_builder_getdeps-ZUsersZlanZworkspaceZgithubZfollyZbuildZfbcode_builder/installed/fmt-05KL-HcdAO1q9OVjqyBYzWl55rxifpeaZ-OMwGXwgf4/include -O2 -g -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -g -std=gnu++1z -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wno-noexcept-type -Wno-nullability-completeness -Wno-inconsistent-missing-override -faligned-new -MD -MT CMakeFiles/simd_for_each_test.dir/folly/detail/test/SimdForEachTest.cpp.o -MF CMakeFiles/simd_for_each_test.dir/folly/detail/test/SimdForEachTest.cpp.o.d -o CMakeFiles/simd_for_each_test.dir/folly/detail/test/SimdForEachTest.cpp.o -c /Users/lan/workspace/github/folly/folly/detail/test/SimdForEachTest.cpp

Then finally ended with:

ninja: build stopped: subcommand failed.
Command '['/opt/homebrew/opt/cmake/bin/cmake', '--build', '/private/var/folders/lm/2z2cpc4s2zq3cbhpmxmjdnt80000gn/T/fbcode_builder_getdeps-ZUsersZlanZworkspaceZgithubZfollyZbuildZfbcode_builder/build/folly', '--target', 'install', '--config', 'Release', '-j', '8']' returned non-zero exit status 1.
!! Failed

# Environment

M1 pro macOS 13.4
Anaconda python 3.9.16
Apple clang version 14.0.3 (clang-1403.0.22.14.1)

Thanks for your time!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.