[libcxx-commits] [libcxx] [libc++] Turn off PIE when running libc++ premerge tests. (PR #155689)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Aug 27 14:25:56 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: None (cmtice)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/155689.diff
1 Files Affected:
- (modified) libcxx/utils/ci/run-buildbot (+1)
``````````diff
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" \
"${@}"
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/155689
More information about the libcxx-commits
mailing list