Author: Teresa Johnson Date: 2026-02-24T07:57:56-08:00 New Revision: 14375d43db3636976c003042a56eab311f9ec2d3
URL: https://github.com/llvm/llvm-project/commit/14375d43db3636976c003042a56eab311f9ec2d3 DIFF: https://github.com/llvm/llvm-project/commit/14375d43db3636976c003042a56eab311f9ec2d3.diff LOG: [clang] Clean up large clang binaries copied into test temp directories (#182304) I noticed a couple of tests leave behind copies of clang binaries they copy into their temp directories. Replicate the cleanup from another test (clang/test/Driver/clang_f_opts_withspaces.c) to remove these. Added: Modified: clang/test/Driver/darwin-header-search-libcxx-2.cpp clang/test/Driver/rocm-detect-lib-llvm.hip Removed: ################################################################################ diff --git a/clang/test/Driver/darwin-header-search-libcxx-2.cpp b/clang/test/Driver/darwin-header-search-libcxx-2.cpp index 055b653614dab..5a690426373b6 100644 --- a/clang/test/Driver/darwin-header-search-libcxx-2.cpp +++ b/clang/test/Driver/darwin-header-search-libcxx-2.cpp @@ -62,3 +62,6 @@ // RUN: -DSYSROOT=%S/Inputs/basic_darwin_sdk_no_libcxx \ // RUN: --check-prefix=CHECK-TOOLCHAIN-NO-SYSROOT %s // CHECK-TOOLCHAIN-NO-SYSROOT: "-internal-isystem" "[[TOOLCHAIN]]/bin/../include/c++/v1" + +// Clean up copy of large binary copied into temp directory to avoid bloat. +// RUN: rm -f %t/install/bin/clang || true diff --git a/clang/test/Driver/rocm-detect-lib-llvm.hip b/clang/test/Driver/rocm-detect-lib-llvm.hip index 85bbe78752df2..cfea22bc04f00 100644 --- a/clang/test/Driver/rocm-detect-lib-llvm.hip +++ b/clang/test/Driver/rocm-detect-lib-llvm.hip @@ -26,3 +26,6 @@ // // ROCM-LIB-LLVM: ROCm installation search path: {{.*sysroot/opt/rocm$}} // ROCM-LIB-LLVM-NOT: ROCm installation search path: {{.*sysroot/opt/rocm/lib$}} + +// Clean up copy of large binary copied into temp directory to avoid bloat. +// RUN: rm -f %t/sysroot/opt/rocm/lib/llvm/bin/clang || true _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
