git: 80defb51b2bc - main - depend-cleanup: Add a regex for files that moved
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jan 2025 17:27:21 UTC
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=80defb51b2bcaee74458355d7eef734d18bfc9e2 commit 80defb51b2bcaee74458355d7eef734d18bfc9e2 Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2025-01-23 17:10:29 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2025-01-23 17:26:25 +0000 depend-cleanup: Add a regex for files that moved When a file is moved or copied to a new directory the depend-cleanup script may incorrectly remove the .depend file as the generated regex will pass. Fix this by passing in a new regex for the arm64 files that have the same name as a generic implementation we were previously using. While here add memchr.S. It has moved from a generated file to one in the source tree with the same name. Reviewed by: emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D48519 --- tools/build/depend-cleanup.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh index b7695370f1dd..8e2968b3061b 100755 --- a/tools/build/depend-cleanup.sh +++ b/tools/build/depend-cleanup.sh @@ -252,10 +252,10 @@ if [ $MACHINE_ARCH = aarch64 ]; then clean_dep lib/libc strcspn c # 20250110 89b3872376cb add optimized strpbrk & strsep implementations - clean_dep lib/libc strpbrk c + clean_dep lib/libc strpbrk c "libc.string.strpbrk.c" # 20250110 79287d783c72 strcat enable use of SIMD - clean_dep lib/libc strcat c + clean_dep lib/libc strcat c "libc.string.strcat.c" # 20250110 756b7fc80837 add strlcpy SIMD implementation clean_dep lib/libc strlcpy c @@ -268,10 +268,11 @@ if [ $MACHINE_ARCH = aarch64 ]; then clean_dep lib/libc memccpy c # 20250110 3dc5429158cf add strncat SIMD implementation - clean_dep lib/libc strncat c + clean_dep lib/libc strncat c "libc.string.strncat.c" # 20250110 bea89d038ac5 add strlcat SIMD implementation, and move memchr - clean_dep lib/libc strlcat c + clean_dep lib/libc strlcat c "libc.string.strlcat.c" + clean_dep lib/libc memchr S "[[:space:]]memchr.S" run rm -f "$OBJTOP"/lib/libc/memchr.S # 20250110 3863fec1ce2d add strlen SIMD implementation @@ -279,8 +280,8 @@ if [ $MACHINE_ARCH = aarch64 ]; then run rm -f "$OBJTOP"/lib/libc/strlen.S # 20250110 79e01e7e643c add bcopy & bzero wrapper - clean_dep lib/libc bcopy c - clean_dep lib/libc bzero c + clean_dep lib/libc bcopy c "libc.string.bcopy.c" + clean_dep lib/libc bzero c "libc.string.bzero.c" # 20250110 f2c98669fc1b add ASIMD-enhanced timingsafe_bcmp implementation clean_dep lib/libc timingsafe_bcmp c