Compare commits
No commits in common. "8ea4503738cb59b4c1b445eb4e5bc641d362da9d" and "24f7ad952ecb5aace99d2a362c931e20591959ae" have entirely different histories.
8ea4503738
...
24f7ad952e
25
clang.spec
25
clang.spec
@ -6,7 +6,7 @@
|
||||
|
||||
Name: clang
|
||||
Version: 12.0.1
|
||||
Release: 6
|
||||
Release: 1
|
||||
License: GPL-2.0-only and Apache-2.0 and MIT
|
||||
Summary: An "LLVM native" C/C++/Objective-C compiler
|
||||
URL: http://llvm.org
|
||||
@ -15,7 +15,6 @@ Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{versio
|
||||
Source2: clang-config.h
|
||||
|
||||
BuildRequires: cmake gcc-c++ python-sphinx git
|
||||
BuildRequires: llvm-libs = %{version}
|
||||
BuildRequires: llvm-devel = %{version}
|
||||
BuildRequires: llvm-static = %{version}
|
||||
BuildRequires: llvm-googletest = %{version}
|
||||
@ -113,11 +112,9 @@ cd _build
|
||||
|
||||
|
||||
%cmake .. \
|
||||
-DCLANG_LINK_CLANG_DYLIB=ON \
|
||||
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_INSTALL_RPATH:BOOL=";" \
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
||||
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
||||
-DLLVM_CONFIG:FILEPATH=/usr/bin/llvm-config-%{__isa_bits} \
|
||||
@ -219,7 +216,6 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
||||
|
||||
%files devel
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_includedir}/clang/
|
||||
%{_includedir}/clang-c/
|
||||
%{_libdir}/cmake/*
|
||||
@ -270,21 +266,6 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
||||
%{_bindir}/git-clang-format
|
||||
|
||||
%changelog
|
||||
* Wed May 22 2024 liyunfei <liyufnei33@huawei.com> -12.0.1-6
|
||||
- Fix the x86_64 rpath issue
|
||||
|
||||
* Thu Jan 25 2024 liyunfei <liyufnei33@huawei.com> -12.0.1-5
|
||||
- Add requires: llvm
|
||||
|
||||
* Sun Oct 08 2023 wangkai <13474090681@163.com> - 12.0.1-4
|
||||
- Recover deleted .a files to fix lldb build errors
|
||||
|
||||
* Tue Jun 13 2023 wangqiang <wangqiang1@kylinos.cn> - 12.0.1-3
|
||||
- Add compile option -DCLANG_LINK_CLANG_DYLIB=ON, -DBUILD_SHARED_LIBS=OFF
|
||||
|
||||
* Thu Oct 27 2022 dongyuzhen <dongyuzhen@h-partners.com> - 12.0.1-2
|
||||
- Rebuild for next release
|
||||
|
||||
* Wed Dec 29 2021 panxiaohe <panxiaohe@huawei.com> - 12.0.1-1
|
||||
- update to 12.0.1
|
||||
- add clang-resource-filesystem sub-package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user