facebook / folly

An open-source C++ library developed and used at Facebook.
https://groups.google.com/forum/?fromgroups#!forum/facebook-folly
Apache License 2.0
28.41k stars 5.57k forks source link

Cannot build on MacOS and use it for a project. #1891

Open Jiboxiake opened 1 year ago

Jiboxiake commented 1 year ago

I follow all the steps of installing the dependencies and run the build scripts. But I got the following error and it doesn't seem like that the library is truly installed.

The following tests FAILED: 329 - cache_locality_test.CoreRawAllocator.Basic (Failed) 721 - xlog_test.XlogTest.xlogIf (Failed) 722 - xlog_test.XlogTest.xlog (Failed) 724 - xlog_test.XlogTest.rateLimiting (Failed) 725 - xlog_test.XlogTest.rateLimitingEndOfThread (Failed) 1514 - arena_test.Arena.SizeSanity (Failed) Errors while running CTest Command '['/opt/homebrew/opt/cmake/bin/ctest', '--output-on-failure', '-j', '8', '--rerun-failed']' returned non-zero exit status 8. !! Failed

Jiboxiake commented 1 year ago

Also ran on my Intel server machine. 13% tests passed, 7 tests failed out of 8

Total Test time (real) = 120.10 sec

The following tests FAILED: 318 - cache_locality_test.CacheLocality.LinuxActual (Failed) 721 - xlog_test.XlogTest.xlogIf (Failed) 722 - xlog_test.XlogTest.xlog (Failed) 724 - xlog_test.XlogTest.rateLimiting (Failed) 725 - xlog_test.XlogTest.rateLimitingEndOfThread (Failed) 1333 - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout (Failed) 2375 - locks_test.SpinLock.Correctness (Timeout) Errors while running CTest