From 7735a6893b5fb2f128f079d26fdb4975d7335dc2 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Wed, 27 Aug 2025 13:15:31 -0700 Subject: [PATCH] [libc++] Turn off PIE when running libc++ premerge tests. Turning off PIE for the LLVM premerge tests gave us an 8-10% run time improvement on Linux. Hopefully it can also improve the libc++ premerge test run times. --- libcxx/utils/ci/run-buildbot | 1 + 1 file changed, 1 insertion(+) diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot index 57ecf1e49dbf2..3adca747b310e 100755 --- a/libcxx/utils/ci/run-buildbot +++ b/libcxx/utils/ci/run-buildbot @@ -148,6 +148,7 @@ function generate-cmake() { -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \ -DLIBCXX_CXX_ABI=libcxxabi \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ + -DCMAKE_EXE_LINKER_FLAGS="-no-pie" \ "${@}" }