Compare commits

...

5 Commits
master ... f25

Author SHA1 Message Date
Tom Stellard 9d37075e7b Enable build-id by default rhbz#1432403 2017-03-16 16:15:55 +00:00
Dave Airlie 9bcd975ea0 clang: fixes for build 2017-03-02 11:00:11 +10:00
Dave Airlie 19ac9b7258 clang 3.9.1 2017-03-02 10:40:13 +10:00
Michael Cronenworth c027c98b9d Update to 3.8.1 to match llvm 2017-01-17 10:51:53 -06:00
Nathaniel McCallum 8dde805541 Add Requires: compiler-rt to clang-libs 2016-11-14 14:43:51 -05:00
3 changed files with 26 additions and 13 deletions

7
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
cc99e7019bb74e6459e80863606250c5 cfe-3.8.0.src.tar.xz
SHA512 (cfe-3.9.1.src.tar.xz) = 3f0eea194597e438bbe49ce9ef5fdced81459c21cbdd2653750b2fe02c55a0154d6a33a8cfd02e607b83314a8e35b2c300f944462120ab6de1d4139d85db56b8