Skip to content

[libc++][docs] Add tip for developers running the test suite on macOS #99544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

ldionne
Copy link
Member

@ldionne ldionne commented Jul 18, 2024

No description provided.

@ldionne ldionne requested a review from a team as a code owner July 18, 2024 18:23
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Jul 18, 2024
@llvmbot
Copy link
Member

llvmbot commented Jul 18, 2024

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/99544.diff

1 Files Affected:

  • (modified) libcxx/docs/TestingLibcxx.rst (+6)
diff --git a/libcxx/docs/TestingLibcxx.rst b/libcxx/docs/TestingLibcxx.rst
index 6d3417cabfd61..2457ed3c78645 100644
--- a/libcxx/docs/TestingLibcxx.rst
+++ b/libcxx/docs/TestingLibcxx.rst
@@ -84,6 +84,12 @@ flags to use, and how to run an executable. This system is meant to be easily
 extended for custom needs, in particular when porting the libc++ test suite to
 new platforms.
 
+.. note::
+  If you run the test suite on Apple platforms, we recommend adding the terminal application
+  used to run the test suite to the list of "Developer Tools". This prevents the system from
+  trying to scan each individual test binary for malware and dramatically speeds up the test
+  suite.
+
 Using a Custom Site Configuration
 ---------------------------------
 

@ldionne
Copy link
Member Author

ldionne commented Jul 18, 2024

CC @cjdb I think this might be the cause of the test suite running so slowly on macOS recently! It's a very unusual workload to run 10k small programs so I think we were tripping up malware detection.

@ldionne ldionne merged commit da44c06 into llvm:main Jul 19, 2024
57 checks passed
@ldionne ldionne deleted the review/libcxx-test-suite-tip-on-mac branch July 19, 2024 15:46
yuxuanchen1997 pushed a commit that referenced this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants