diff --git a/compiler-rt.spec b/compiler-rt.spec index 670623ca3671ea426d1887cd972ce4ba41038bfe..be490055fd3988aaf43d8a071a4a1d56a6c333f6 100644 --- a/compiler-rt.spec +++ b/compiler-rt.spec @@ -33,7 +33,7 @@ Name: %{pkg_name} Version: %{crt_version} -Release: 5 +Release: 6 Summary: LLVM "compiler-rt" runtime libraries License: NCSA or MIT @@ -80,9 +80,7 @@ pathfix.py -i %{__python3} -pn lib/hwasan/scripts/hwasan_symbolize %build # Copy CFLAGS into ASMFLAGS, so -fcf-protection is used when compiling assembly files. export ASMFLAGS=$CFLAGS -mkdir -p _build -cd _build -%cmake .. \ +%cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_MODULE_PATH=%{install_libdir}/cmake/llvm \ -DCMAKE_SKIP_RPATH:BOOL=ON \ @@ -102,15 +100,10 @@ cd _build %endif -DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF # could be on? -%make_build +%cmake_build %install -cd _build -%make_install - -%check - -#%%cmake_build --target check-compiler-rt +%cmake_install %files %license LICENSE.TXT @@ -125,6 +118,9 @@ cd _build %endif %changelog +* Thu Nov 14 2024 Funda Wang - 17.0.6-6 +- adopt to new cmake macro + * Tue Aug 20 2024 liyunfei - 17.0.6-5 - Add BiSheng Autotuner support.