!46 adopt to new cmake macro
From: @fundawang Reviewed-by: @liyunfei33 Signed-off-by: @liyunfei33
This commit is contained in:
commit
4a98a07ccf
@ -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 <fundawang@yeah.net> - 17.0.6-6
|
||||
- adopt to new cmake macro
|
||||
|
||||
* Tue Aug 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-5
|
||||
- Add BiSheng Autotuner support.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user