From 4a7700bdcff2bf2afe4e46efdb8874484fd66b86 Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Fri, 25 Aug 2023 23:01:54 +0800 Subject: [PATCH] Unify patch file names to avoid RAT issue Patch files should be named as *.patch to be excluded correctly when run Apache RAT tool. The exclude rule is descripted as thirdparty/patches/*.patch in build-support/release/rat_exclude_files.txt. Change-Id: I39449abcdbdaa698069395ab63b34495968dd1c4 Reviewed-on: http://gerrit.cloudera.org:8080/20423 Reviewed-by: Alexey Serbin Tested-by: Kudu Jenkins (cherry picked from commit 092a0ef03b662d4d744eb3557f707cf9f0aba088) Reviewed-on: http://gerrit.cloudera.org:8080/20424 Tested-by: Yingchun Lai --- thirdparty/download-thirdparty.sh | 2 +- ...vm-ignore-flto-values.diff => llvm-ignore-flto-values.patch} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename thirdparty/patches/{llvm-ignore-flto-values.diff => llvm-ignore-flto-values.patch} (100%) diff --git a/thirdparty/download-thirdparty.sh b/thirdparty/download-thirdparty.sh index d957274e4b..331a3fef83 100755 --- a/thirdparty/download-thirdparty.sh +++ b/thirdparty/download-thirdparty.sh @@ -340,7 +340,7 @@ fetch_and_patch \ "patch -d projects -p1 < $TP_DIR/patches/llvm-remove-cyclades-inclusion-in-sanitizer.patch" \ "patch -p2 < $TP_DIR/patches/llvm-fix-missing-include.patch" \ "patch -d projects -p1 < $TP_DIR/patches/llvm-Sanitizer-built-against-glibc-2_34-doesnt-work.patch" \ - "patch -d tools -p1 < $TP_DIR/patches/llvm-ignore-flto-values.diff" + "patch -d tools -p1 < $TP_DIR/patches/llvm-ignore-flto-values.patch" LZ4_PATCHLEVEL=0 fetch_and_patch \ diff --git a/thirdparty/patches/llvm-ignore-flto-values.diff b/thirdparty/patches/llvm-ignore-flto-values.patch similarity index 100% rename from thirdparty/patches/llvm-ignore-flto-values.diff rename to thirdparty/patches/llvm-ignore-flto-values.patch