diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..7b9c435250b6944e546d4acd48a5fd0ae2f686eb --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.xz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..4df1edc03cd9217a704e3c2d2c04c9628532e566 --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/autofdo diff --git a/abseil-cpp-20250127.0.tar.gz b/abseil-cpp-20250127.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8a38239e049014d373a7c764eb1e4e51232790a3 --- /dev/null +++ b/abseil-cpp-20250127.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16242f394245627e508ec6bb296b433c90f8d914f73b9c026fddb905e27276e8 +size 2267275 diff --git a/abseil.tar.xz b/abseil.tar.xz deleted file mode 100644 index 39537133a3e446efb7993dbb062698c68e784a81..0000000000000000000000000000000000000000 Binary files a/abseil.tar.xz and /dev/null differ diff --git a/autofdo-0.30.1.tar.xz b/autofdo-0.30.1.tar.xz index 531f696aad632fb4220ddc16dad3de4ad26907e1..d789f82d729234c20ba85dbf0afe67cd1df77995 100644 Binary files a/autofdo-0.30.1.tar.xz and b/autofdo-0.30.1.tar.xz differ diff --git a/autofdo.spec b/autofdo.spec index 7b3e34b09d81b05e6d1aabd6fe6bd3a9e42c6e4d..c4757618135cefafc668a5317100fa7d4faf677d 100644 --- a/autofdo.spec +++ b/autofdo.spec @@ -1,13 +1,15 @@ +%global abseil_version 20250127.0 + Name: autofdo Version: 0.30.1 -Release: 4 +Release: 5 Summary: A tool to convert perf.data profile to AutoFDO profile License: Apache-2.0 URL: https://github.com/google/autofdo # The package in the original url below contains GIT information which is useless, # so remove the GIT information and repackage it. Source0: %{name}-%{version}.tar.xz -Source1: abseil.tar.xz +Source1: https://github.com/abseil/abseil-cpp/archive/abseil-cpp/abseil-cpp-%{abseil_version}.tar.gz Patch1: 0001-adjust-the-link-method-of-dependency-libraries.patch Patch2: 0002-unscaledcycleclock-remove-RISC-V-support.patch Patch3: backport-autofdo-third_party-glog-eliminate-deprecation-warning.patch @@ -19,7 +21,9 @@ profile that can be used by GCC and LLVM. %prep %autosetup -p1 +rm -fr third_party/abseil tar -xvf %{SOURCE1} -C ./third_party +mv third_party/abseil-cpp-%{abseil_version} third_party/abseil %build %cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TOOL=GCOV -DBUILD_SHARED_LIBS=OFF @@ -37,6 +41,9 @@ install -m0755 %{__cmake_builddir}/profile_merger %{buildroot}%{_bindir} %{_bindir}/profile_merger %changelog +* Wed Mar 12 2025 Funda Wang - 0.30.1-5 +- sync abseil-cpp tarball with abseil-cpp package + * Sun Mar 02 2025 Funda Wang - 0.30.1-4 - try build with cmake 4.0