Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@horenmar
Copy link
Contributor

The lit tests are already internally parallelized, so using CTest to run them in parallel ends up with the CPU cores hopelessly oversubscribed.

The lit tests are already internally parallelized, so using CTest
to run them in parallel ends up with the CPU cores hopelessly
oversubscribed.
@horenmar horenmar requested a review from a team as a code owner January 21, 2024 13:05
Copy link
Contributor

@fsb4000 fsb4000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've checked that the CI time doesn't change after the update, and I also consulted the CMake documentation to ensure there were no misspellings:
https://cmake.org/cmake/help/latest/command/set_tests_properties.html
https://cmake.org/cmake/help/latest/prop_test/RUN_SERIAL.html

@StephanTLavavej StephanTLavavej added the test Related to test code label Jan 21, 2024
@StephanTLavavej StephanTLavavej self-assigned this Jan 21, 2024
@StephanTLavavej StephanTLavavej removed their assignment Jan 21, 2024
@StephanTLavavej
Copy link
Member

Thanks! I never run ctest (instead I always invoke stl-lit.py directly), so I didn't realize it was trying to run stl and stlasan simultaneously with separate Python invocations. Great catch 😻

@StephanTLavavej StephanTLavavej self-assigned this Jan 24, 2024
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit d2d7fcc into microsoft:main Jan 25, 2024
@StephanTLavavej
Copy link
Member

Thanks again! 🎉 😸 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants