From 487f30457325a927a112b36810bfad6cf362e78a Mon Sep 17 00:00:00 2001 From: liyunfei Date: Mon, 16 Dec 2024 11:05:37 +0800 Subject: [PATCH] define __cmake_in_source_build as 0 in %build Signed-off-by: liyunfei --- llvm.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/llvm.spec b/llvm.spec index d64b51f..f5f5f61 100644 --- a/llvm.spec +++ b/llvm.spec @@ -1,5 +1,3 @@ -%undefine __cmake_in_source_build - %bcond_without sys_llvm %bcond_without check %bcond_with classic_flang @@ -47,7 +45,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 29 +Release: 30 Summary: The Low Level Virtual Machine License: NCSA @@ -213,6 +211,8 @@ pathfix.py -i %{__python3} -pn \ export CXXFLAGS="-Wp,-DENABLE_ACPO ${CXXFLAGS}" %endif +%define __cmake_in_source_build 0 + %cmake -G Ninja \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DLLVM_PARALLEL_LINK_JOBS=%{max_link_jobs} \ @@ -391,6 +391,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C %{__cmake %{install_includedir}/llvm-gmock %changelog +* Tue Dec 17 2024 liyunfei - 17.0.6-30 +- undefine __cmake_in_source_build in %build + * Fri Nov 22 2024 xiajingze - 17.0.6-29 - [AArch64] Support HiSilicon's HIP09 sched model -- Gitee