[all-commits] [llvm/llvm-project] d0734d: `cp -r` replaces symlinks, update to `cp -R` (#201...

Ian Anderson via All-commits all-commits at lists.llvm.org
Thu Jun 18 16:09:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0734df2c434c15815b2a9086102f3329dbd0a2a
      https://github.com/llvm/llvm-project/commit/d0734df2c434c15815b2a9086102f3329dbd0a2a
  Author: Ian Anderson <iana at apple.com>
  Date:   2026-06-18 (Thu, 18 Jun 2026)

  Changed paths:
    M clang-tools-extra/clangd/test/background-index.test
    M clang-tools-extra/clangd/test/include-cleaner-batch-fix.test
    M clang-tools-extra/clangd/test/path-mappings.test
    M clang-tools-extra/test/clang-tidy/checkers/misc/header-include-cycle.cpp
    M clang-tools-extra/test/clang-tidy/checkers/portability/restrict-system-includes-transitive.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-symlink.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-mac-libcxx.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/remarks.cpp
    M clang/test/APINotes/module-cache.m
    M clang/test/ClangScanDeps/build-session-validation-relocated-modules.c
    M clang/test/ClangScanDeps/header-search-pruning.cpp
    M clang/test/ClangScanDeps/modules-context-hash.c
    M clang/test/ClangScanDeps/modules-relocated-mm-macro.c
    M clang/test/Driver/hip-runtime-libs-linux.hip
    M clang/test/Driver/hip-version.hip
    M clang/test/Driver/rocm-detect-lib-llvm.hip
    M clang/test/Driver/rocm-detect.hip
    M clang/test/InstallAPI/binary-attributes.test
    M clang/test/InstallAPI/diagnostics-zippered.test
    M clang/test/InstallAPI/directory-scanning-dylib.test
    M clang/test/InstallAPI/directory-scanning-frameworks.test
    M clang/test/InstallAPI/directory-scanning-subdirectories.test
    M clang/test/InstallAPI/exclusive-passes-zippered.test
    M clang/test/InstallAPI/extra-exclude-headers.test
    M clang/test/InstallAPI/forwarded-search-paths.test
    M clang/test/InstallAPI/umbrella-headers-unix.test
    M clang/test/InstallAPI/umbrella-headers.test
    M clang/test/Modules/add-remove-private.m
    M clang/test/Modules/build-session-validation-relocated-modules.c
    M clang/test/Modules/dependent-module-different-location.m
    M clang/test/Modules/implicit-invalidate-common.c
    M clang/test/Modules/include-relative.c
    M clang/test/Modules/relative-import-path.c
    M clang/test/Tooling/clang-check-mac-libcxx-abspath.cpp
    M clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
    M clang/test/Tooling/clang-check-mac-libcxx-relpath.cpp
    M llvm/test/tools/llvm-cov/coverage-prefix-map.test
    M llvm/test/tools/llvm-cov/directory_coverage.test
    M llvm/test/tools/llvm-cov/multithreaded-report.test
    M llvm/test/tools/llvm-cov/sources-specified.test
    M llvm/utils/docker/build_docker_image.sh
    M llvm/utils/lit/tests/filter-failed-delete.py
    M llvm/utils/lit/tests/filter-failed-rerun.py
    M llvm/utils/lit/tests/filter-failed.py
    M llvm/utils/vscode/llvm/README.md

  Log Message:
  -----------
  `cp -r` replaces symlinks, update to `cp -R` (#201463)

`cp -r` translates to `cp -RL` on at least FreeBSD and macOS. `-L`
replaces symlinks with flat directories which effectively breaks Apple
style bundles like frameworks. Switch to `-R` so that the symlinks don't
get broken.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list