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

PR for llvm/llvm-project#73246 #786

Merged
merged 1 commit into from
Nov 24, 2023
Merged

PR for llvm/llvm-project#73246 #786

merged 1 commit into from
Nov 24, 2023

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Nov 23, 2023

The test-depends target contained all the dependencies needed to run the
runtimes tests, but it was never added as a dependency of check-all.
This caused some of the tsan tests to fail, since the custom libcxx
build the tests were looking for was never built. Besides the tsan
failures, this fixes all the other test failures I was seeing with:
cmake -G Ninja -B release-build -S llvm \
        -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
        -DCMAKE_BUILD_TYPE=Release \
        -DLLVM_ENABLE_ASSERTIONS=OFF \
        -DLLVM_ENABLE_PROJECTS="clang;lld" \
        -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind;compiler-rt"

This is the same configuration the test-release.sh script uses, so I'm
hoping this will also fix all the test failures we've been seeing when
building the releases.

Fixes #58680

(cherry picked from commit 7f215b1380da49dccbf57da3040a40d25ed898f4)
@tstellar
Copy link
Contributor

@tru This should be pretty safe and may fix several test failures testers have been seeing for the past few releases.

@tru tru merged commit e957e6d into release/17.x Nov 24, 2023
15 checks passed
@tru tru deleted the llvm-issue73246 branch November 24, 2023 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backport 7f215b1380da49dccbf57da3040a40d25ed898f4 to release/17.x
3 participants