Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Tom Stellard | 9d37075e7b | |
Dave Airlie | 9bcd975ea0 | |
Dave Airlie | 19ac9b7258 | |
Michael Cronenworth | c027c98b9d | |
Nathaniel McCallum | 8dde805541 |
|
@ -1,5 +1,2 @@
|
|||
/cfe-3.7.1.src.tar.xz
|
||||
/clang-3.8.0-0.1.fc24.src.rpm
|
||||
/cfe-3.8.0rc2.src.tar.xz
|
||||
/cfe-3.8.0rc3.src.tar.xz
|
||||
/cfe-3.8.0.src.tar.xz
|
||||
/cfe-3.8.1.src.tar.xz
|
||||
/cfe-3.9.1.src.tar.xz
|
||||
|
|
30
clang.spec
30
clang.spec
|
@ -1,5 +1,5 @@
|
|||
Name: clang
|
||||
Version: 3.8.0
|
||||
Version: 3.9.1
|
||||
Release: 2%{?dist}
|
||||
Summary: A C language family front-end for LLVM
|
||||
|
||||
|
@ -9,14 +9,12 @@ Source0: http://llvm.org/releases/%{version}/cfe-%{version}.src.tar.xz
|
|||
|
||||
Source100: clang-config.h
|
||||
|
||||
Patch0: 0001-GCC-PR23529-Sema-part-of-attrbute-abi_tag-support.patch
|
||||
Patch1: 0002-GCC-PR23529-Mangler-part-of-attrbute-abi_tag-support.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: llvm-devel = %{version}
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: llvm-static = %{version}
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: ncurses-devel
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
@ -39,6 +37,7 @@ as libraries and designed to be loosely-coupled and extensible.
|
|||
|
||||
%package libs
|
||||
Summary: Runtime library for clang
|
||||
Requires: compiler-rt%{?_isa} >= %{version}
|
||||
|
||||
%description libs
|
||||
Runtime library for clang.
|
||||
|
@ -67,8 +66,6 @@ intended to run in tandem with a build of a project or code base.
|
|||
|
||||
%prep
|
||||
%setup -q -n cfe-%{version}.src
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%build
|
||||
mkdir -p _build
|
||||
cd _build
|
||||
|
@ -82,8 +79,14 @@ cd _build
|
|||
-DCLANG_INCLUDE_DOCS:BOOL=ON \
|
||||
-DCLANG_INCLUDE_TESTS:BOOL=ON \
|
||||
-DCLANG_PLUGIN_SUPPORT:BOOL=ON \
|
||||
-DENABLE_LINKER_BUILD_ID:BOOL=ON \
|
||||
\
|
||||
-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
|
||||
%if 0%{?__isa_bits} == 64
|
||||
-DLLVM_LIBDIR_SUFFIX=64 \
|
||||
%else
|
||||
-DLLVM_LIBDIR_SUFFIX= \
|
||||
%endif
|
||||
-DLIB_SUFFIX=
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
@ -123,8 +126,8 @@ rm -vf %{buildroot}%{_datadir}/clang/clang-format-diff.py*
|
|||
%files devel
|
||||
%{_includedir}/clang/
|
||||
%{_includedir}/clang-c/
|
||||
%{_libdir}/cmake/
|
||||
%dir %{_datadir}/clang/
|
||||
%{_datadir}/clang/cmake/
|
||||
|
||||
%files analyzer
|
||||
%{_bindir}/scan-view
|
||||
|
@ -137,6 +140,19 @@ rm -vf %{buildroot}%{_datadir}/clang/clang-format-diff.py*
|
|||
%{_mandir}/man1/scan-build.1.*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 16 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-2
|
||||
- Enable build-id by default rhbz#1432403
|
||||
|
||||
* Thu Mar 02 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-1
|
||||
- clang 3.9.1
|
||||
|
||||
* Tue Jan 17 2017 Michael Cronenworth <mike@cchtml.com> - 3.8.1-1
|
||||
- clang 3.8.1
|
||||
|
||||
* Mon Nov 14 2016 Nathaniel McCallum <npmccallum@redhat.com> - 3.8.0-3
|
||||
- Add Requires: compiler-rt to clang-libs.
|
||||
- Without this, compiling with certain CFLAGS breaks.
|
||||
|
||||
* Fri Jul 01 2016 Stephan Bergmann <sbergman@redhat.com> - 3.8.0-2
|
||||
- Resolves: rhbz#1282645 add GCC abi_tag support
|
||||
|
||||
|
|
Loading…
Reference in New Issue