Skip to content
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

[libc++] Run the Lit test suite against an installed version of the library #96910

Merged

Commits on Aug 19, 2024

  1. [libc++] Run the Lit test suite against an installed version of the l…

    …ibrary
    
    We always strive to test libc++ as close as possible to the way we are
    actually shipping it. This was approximated reasonably well by setting
    up the minimal driver flags when running the test suite, however we were
    running the test suite against the library located in the build directory.
    
    This patch improves the situation by installing the library (the headers,
    the built library, modules, etc) into a fake location and then running
    the test suite against that fake "installation root".
    
    This should open the door to getting rid of the temporary copy of the
    headers we make during the build process, however this is left for a
    future improvement.
    
    Note that this adds quite a bit of verbosity whenever running the test
    suite because we install the headers beforehand every time. We should
    be able to override this to silence it, however CMake doesn't currently
    give us a way to do that, see https://gitlab.kitware.com/cmake/cmake/-/issues/26085.
    ldionne committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    ebac193 View commit details
    Browse the repository at this point in the history