tstellar / rpms / clang

Forked from rpms/clang 6 years ago
Clone
74e8e23
%global compat_build 0
74e8e23
b53704a
%global maj_ver 8
b81322c
%global min_ver 0
b53704a
%global patch_ver 0
0cae14e
%global rc_ver 2
8d35cec
David Goerger 1e780f7
%global clang_tools_binaries \
b81322c
	%{_bindir}/clangd \
David Goerger 1e780f7
	%{_bindir}/clang-apply-replacements \
5617ce0
	%{_bindir}/clang-change-namespace \
David Goerger 1e780f7
	%{_bindir}/clang-include-fixer \
David Goerger 1e780f7
	%{_bindir}/clang-query \
4058470
	%{_bindir}/clang-refactor \
5617ce0
	%{_bindir}/clang-reorder-fields \
David Goerger 1e780f7
	%{_bindir}/clang-rename \
David Goerger 1e780f7
	%{_bindir}/clang-tidy
David Goerger 1e780f7
David Goerger 1e780f7
%global clang_binaries \
David Goerger 1e780f7
	%{_bindir}/clang \
David Goerger 1e780f7
	%{_bindir}/clang++ \
7761cfa
	%{_bindir}/clang-%{maj_ver} \
7761cfa
	%{_bindir}/clang++-%{maj_ver} \
David Goerger 1e780f7
	%{_bindir}/clang-check \
David Goerger 1e780f7
	%{_bindir}/clang-cl \
5617ce0
	%{_bindir}/clang-cpp \
b53704a
	%{_bindir}/clang-extdef-mapping \
5617ce0
	%{_bindir}/clang-format \
5617ce0
	%{_bindir}/clang-import-test \
7761cfa
	%{_bindir}/clang-offload-bundler \
7761cfa
	%{_bindir}/diagtool \
7761cfa
	%{_bindir}/hmaptool
David Goerger 1e780f7
74e8e23
%if 0%{?compat_build}
74e8e23
%global pkg_name clang%{maj_ver}.%{min_ver}
74e8e23
# Install clang to same prefix as llvm, so that apps that use llvm-config
74e8e23
# will also be able to find clang libs.
74e8e23
%global install_prefix %{_libdir}/llvm%{maj_ver}.%{min_ver}
74e8e23
%global install_bindir %{install_prefix}/bin
74e8e23
%global install_includedir %{install_prefix}/include
74e8e23
%global install_libdir %{install_prefix}/lib
74e8e23
74e8e23
%global pkg_bindir %{install_bindir}
74e8e23
%global pkg_includedir %{_includedir}/llvm%{maj_ver}.%{min_ver}
74e8e23
%global pkg_libdir %{install_libdir}
74e8e23
%else
74e8e23
%global pkg_name clang
b53704a
%global install_prefix /usr
74e8e23
%endif
74e8e23
8d741f3
%if 0%{?fedora} || 0%{?rhel} > 7
ce584ee
%bcond_without python3
ce584ee
%else
ce584ee
%bcond_with python3
ce584ee
%endif
ce584ee
b53704a
%global build_install_prefix %{buildroot}%{install_prefix}
b53704a
4058470
%global clang_srcdir cfe-%{version}%{?rc_ver:rc%{rc_ver}}.src
4058470
%global clang_tools_srcdir clang-tools-extra-%{version}%{?rc_ver:rc%{rc_ver}}.src
4058470
74e8e23
Name:		%pkg_name
b81322c
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}
d41e350
Release:	0.3%{?rc_ver:.rc%{rc_ver}}%{?dist}
4a6eb83
Summary:	A C language family front-end for LLVM
4a6eb83
4a6eb83
License:	NCSA
4a6eb83
URL:		http://llvm.org
7761cfa
Source0:	http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/%{clang_srcdir}.tar.xz
74e8e23
%if !0%{?compat_build}
01e6940
Source1:	http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz
74e8e23
%endif
4a6eb83
b53704a
Patch4:		0002-gtest-reorg.patch
59a913a
Patch9:		0001-Fix-uninitialized-value-in-ABIArgInfo.patch
dc88066
Patch10:	0001-Workaround-GCC-9-bug-when-handling-bitfields.patch
d41e350
Patch11:	0001-ToolChain-Add-lgcc_s-to-the-linker-flags-when-using-.patch
5617ce0
c67fd45
BuildRequires:	gcc
c67fd45
BuildRequires:	gcc-c++
4a6eb83
BuildRequires:	cmake
b53704a
BuildRequires:	ninja-build
74e8e23
%if 0%{?compat_build}
74e8e23
BuildRequires:	llvm%{maj_ver}.%{min_ver}-devel = %{version}
c67fd45
BuildRequires:	llvm%{maj_ver}.%{min_ver}-static = %{version}
74e8e23
%else
4058470
BuildRequires:	llvm-devel = %{version}
ad3b6d9
# llvm-static is required, because clang-tablegen needs libLLVMTableGen, which
ad3b6d9
# is not included in libLLVM.so.
c67fd45
BuildRequires:	llvm-static = %{version}
f7f5784
BuildRequires:	llvm-googletest = %{version}
74e8e23
%endif
74e8e23
4a6eb83
BuildRequires:	libxml2-devel
c67fd45
BuildRequires:	perl-generators
c67fd45
BuildRequires:	ncurses-devel
d0138c6
# According to https://fedoraproject.org/wiki/Packaging:Emacs a package
d0138c6
# should BuildRequires: emacs if it packages emacs integration files.
d0138c6
BuildRequires:	emacs
ce584ee
ce584ee
# These build dependencies are required for the test suite.
ce584ee
%if %with python3
4058470
# The testsuite uses /usr/bin/lit which is part of the python3-lit package.
c67fd45
BuildRequires:	python3-lit
ce584ee
%endif
ce584ee
c67fd45
BuildRequires:	python3-sphinx
c67fd45
BuildRequires:	libatomic
c473ab9
17d1605
# We need python3-devel for pathfix.py.
17d1605
BuildRequires:	python3-devel
ce584ee
816ea52
# Needed for %%multilib_fix_c_header
c67fd45
BuildRequires:	multilib-rpm-config
816ea52
4a6eb83
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
4a6eb83
4a6eb83
# clang requires gcc, clang++ requires libstdc++-devel
4a6eb83
# - https://bugzilla.redhat.com/show_bug.cgi?id=1021645
4a6eb83
# - https://bugzilla.redhat.com/show_bug.cgi?id=1158594
4a6eb83
Requires:	libstdc++-devel
4a6eb83
Requires:	gcc-c++
4a6eb83
c67fd45
Requires:	emacs-filesystem
4a6eb83
c67fd45
Provides:	clang(major) = %{maj_ver}
5e7e9e3
4a6eb83
%description
4a6eb83
clang: noun
4a6eb83
    1. A loud, resonant, metallic sound.
4a6eb83
    2. The strident call of a crane or goose.
4a6eb83
    3. C-language family front-end toolkit.
4a6eb83
4a6eb83
The goal of the Clang project is to create a new C, C++, Objective C
4a6eb83
and Objective C++ front-end for the LLVM compiler. Its tools are built
4a6eb83
as libraries and designed to be loosely-coupled and extensible.
4a6eb83
4a6eb83
%package libs
4a6eb83
Summary: Runtime library for clang
68eed61
Recommends: compiler-rt%{?_isa} = %{version}
af6de8b
Recommends: libomp%{_isa} = %{version}
4a6eb83
4a6eb83
%description libs
4a6eb83
Runtime library for clang.
4a6eb83
4a6eb83
%package devel
01e6940
Summary: Development header files for clang
4a6eb83
Requires: %{name}%{?_isa} = %{version}-%{release}
b81322c
# The clang CMake files reference tools from clang-tools-extra.
b81322c
Requires: %{name}-tools-extra%{?_isa} = %{version}-%{release}
4a6eb83
4a6eb83
%description devel
4a6eb83
Development header files for clang.
4a6eb83
74e8e23
%if !0%{?compat_build}
4a6eb83
%package analyzer
4a6eb83
Summary:	A source code analysis framework
4a6eb83
License:	NCSA and MIT
4a6eb83
BuildArch:	noarch
4a6eb83
Requires:	%{name} = %{version}-%{release}
4a6eb83
4a6eb83
%description analyzer
4a6eb83
The Clang Static Analyzer consists of both a source code analysis
4a6eb83
framework and a standalone tool that finds bugs in C and Objective-C
4a6eb83
programs. The standalone tool is invoked from the command-line, and is
4a6eb83
intended to run in tandem with a build of a project or code base.
4a6eb83
David Goerger 1e780f7
%package tools-extra
01e6940
Summary:	Extra tools for clang
01e6940
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
01e6940
Requires:	emacs-filesystem
David Goerger 1e780f7
David Goerger 1e780f7
%description tools-extra
David Goerger 1e780f7
A set of extra tools built using Clang's tooling API.
David Goerger 1e780f7
b53704a
# Put git-clang-format in its own package, because it Requires git
d8d5392
# and we don't want to force users to install all those dependenices if they
d8d5392
# just want clang.
d8d5392
%package -n git-clang-format
01e6940
Summary:	Integration of clang-format for git
01e6940
Requires:	%{name}%{?_isa} = %{version}-%{release}
01e6940
Requires:	git
b53704a
Requires:	python3
d8d5392
d8d5392
%description -n git-clang-format
d8d5392
clang-format integration for git.
d8d5392
b53704a
 
b53704a
%package -n python3-clang
b53704a
Summary:       Python3 bindings for clang
b53704a
Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
b53704a
Requires:      python3
b53704a
%description -n python3-clang
c9eea4f
%{summary}.
52c2187
b53704a
74e8e23
%endif
c9eea4f
c9eea4f
4a6eb83
%prep
74e8e23
%if 0%{?compat_build}
74e8e23
%autosetup -n %{clang_srcdir} -p1
74e8e23
%else
4058470
%setup -T -q -b 1 -n %{clang_tools_srcdir}
ce584ee
15d2b4b
52edfa5
pathfix.py -i %{__python3} -pn \
52edfa5
	clang-tidy/tool/*.py \
15d2b4b
	include-fixer/find-all-symbols/tool/run-find-all-symbols.py
15d2b4b
4058470
%setup -q -n %{clang_srcdir}
15d2b4b
f7f5784
%patch4 -p1 -b .gtest
59a913a
%patch9 -p1 -b .abi-arginfo
b53704a
%patch10 -p1 -b .bitfields
d41e350
%patch11 -p1 -b .libcxx-fix
David Goerger 1e780f7
4058470
mv ../%{clang_tools_srcdir} tools/extra
17d1605
17d1605
pathfix.py -i %{__python3} -pn \
17d1605
	tools/clang-format/*.py \
15d2b4b
	tools/clang-format/git-clang-format \
fe1772d
	utils/hmaptool/hmaptool \
fe1772d
	tools/scan-view/bin/scan-view
74e8e23
%endif
David Goerger 1e780f7
4a6eb83
%build
4058470
4058470
%if 0%{?__isa_bits} == 64
4058470
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@/64/g' test/lit.cfg.py
4058470
%else
4058470
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py
4058470
%endif
4058470
4a6eb83
mkdir -p _build
4a6eb83
cd _build
8d35cec
478f0a1
%ifarch s390 s390x %{arm} %ix86
8d35cec
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
8d35cec
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
8d35cec
%endif
8d35cec
b53704a
%cmake .. -G Ninja \
478f0a1
	-DLLVM_PARALLEL_LINK_JOBS=1 \
b486bb1
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
4a6eb83
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
b730992
	-DPYTHON_EXECUTABLE=%{__python3} \
74e8e23
%if 0%{?compat_build}
74e8e23
	-DLLVM_CONFIG:FILEPATH=%{_bindir}/llvm-config-%{maj_ver}.%{min_ver}-%{__isa_bits} \
74e8e23
	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
74e8e23
	-DCLANG_INCLUDE_TESTS:BOOL=OFF \
74e8e23
%else
b53704a
	-DLLVM_TOOLS_BINARY_DIR=%{_libdir}/llvm \
74e8e23
	-DCLANG_INCLUDE_TESTS:BOOL=ON \
c823f68
	-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
f7f5784
	-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
74e8e23
%if 0%{?__isa_bits} == 64
c67fd45
	-DLLVM_LIBDIR_SUFFIX=64 \
74e8e23
%else
c67fd45
	-DLLVM_LIBDIR_SUFFIX= \
74e8e23
%endif
74e8e23
%endif
4a6eb83
	\
4a6eb83
	-DCLANG_ENABLE_ARCMT:BOOL=ON \
4a6eb83
	-DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON \
4a6eb83
	-DCLANG_INCLUDE_DOCS:BOOL=ON \
4a6eb83
	-DCLANG_PLUGIN_SUPPORT:BOOL=ON \
455a190
	-DENABLE_LINKER_BUILD_ID:BOOL=ON \
f38da92
	-DLLVM_ENABLE_EH=ON \
f38da92
	-DLLVM_ENABLE_RTTI=ON \
c473ab9
	-DLLVM_BUILD_DOCS=ON \
c473ab9
	-DLLVM_ENABLE_SPHINX=ON \
c473ab9
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
4a6eb83
	\
6a62f09
	-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
b53704a
	-DCLANG_REPOSITORY_STRING="%{?fedora:Fedora}%{?rhel:Red Hat} %{version}-%{release}"
4a6eb83
b53704a
ninja -v
4a6eb83
4a6eb83
%install
b53704a
DESTDIR=%{buildroot} ninja install -C _build
4a6eb83
74e8e23
%if 0%{?compat_build}
74e8e23
74e8e23
# Remove binaries/other files
74e8e23
rm -Rf %{buildroot}%{install_bindir}
74e8e23
rm -Rf %{buildroot}%{install_prefix}/share
74e8e23
rm -Rf %{buildroot}%{install_prefix}/libexec
74e8e23
74e8e23
# Move include files
74e8e23
mkdir -p %{buildroot}%{pkg_includedir}
74e8e23
mv  %{buildroot}/%{install_includedir}/clang %{buildroot}/%{pkg_includedir}/
74e8e23
mv  %{buildroot}/%{install_includedir}/clang-c %{buildroot}/%{pkg_includedir}/
74e8e23
74e8e23
%else
74e8e23
c9eea4f
# install clang python bindings
b53704a
mkdir -p %{buildroot}%{python3_sitelib}/clang/
b53704a
install -p -m644 bindings/python/clang/* %{buildroot}%{python3_sitelib}/clang/
b53704a
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/clang
c9eea4f
4a6eb83
# multilib fix
816ea52
%multilib_fix_c_header --file %{_includedir}/clang/Config/config.h
4a6eb83
d0138c6
# Move emacs integration files to the correct directory
d0138c6
mkdir -p %{buildroot}%{_emacs_sitestartdir}
d0138c6
for f in clang-format.el clang-rename.el clang-include-fixer.el; do
d0138c6
mv %{buildroot}{%{_datadir}/clang,%{_emacs_sitestartdir}}/$f
d0138c6
done
d0138c6
4a6eb83
# remove editor integrations (bbedit, sublime, emacs, vim)
4a6eb83
rm -vf %{buildroot}%{_datadir}/clang/clang-format-bbedit.applescript
4a6eb83
rm -vf %{buildroot}%{_datadir}/clang/clang-format-sublime.py*
4a6eb83
c473ab9
# TODO: Package html docs
c473ab9
rm -Rvf %{buildroot}%{_pkgdocdir}
c473ab9
b81322c
# TODO: What are the Fedora guidelines for packaging bash autocomplete files?
b81322c
rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh
b81322c
ee5cc3e
# Add clang++-{version} sylink
b53704a
ln -s clang %{buildroot}%{_bindir}/clang++
b53704a
ln -s clang %{buildroot}%{_bindir}/clang-cl
b53704a
ln -s clang %{buildroot}%{_bindir}/clang-cpp
6955c7a
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
ee5cc3e
d870610
# Create Manpage symlinks
d870610
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++.1.gz
d870610
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang-%{maj_ver}.1.gz
d870610
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++-%{maj_ver}.1.gz
d870610
01e6940
# Fix permission
01e6940
chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
d870610
74e8e23
%endif
74e8e23
4a6eb83
%check
74e8e23
%if !0%{?compat_build}
4a6eb83
# requires lit.py from LLVM utilities
d89c69d
# FIXME: Fix failing ARM tests, s390x i686 and ppc64le tests
b53704a
PATH=%{_libdir}/llvm:$PATH ninja check-all -C _build || \
d89c69d
%ifarch s390x i686 ppc64le %{arm}
79d093b
:
79d093b
%else
79d093b
false
79d093b
%endif
4a6eb83
74e8e23
%endif
ce584ee
ce584ee
74e8e23
%if !0%{?compat_build}
4a6eb83
%files
David Goerger 1e780f7
%{clang_binaries}
6a62f09
%{_bindir}/c-index-test
c473ab9
%{_mandir}/man1/clang.1.gz
d870610
%{_mandir}/man1/clang++.1.gz
d870610
%{_mandir}/man1/clang-%{maj_ver}.1.gz
d870610
%{_mandir}/man1/clang++-%{maj_ver}.1.gz
7761cfa
%{_mandir}/man1/diagtool.1.gz
d0138c6
%{_emacs_sitestartdir}/clang-format.el
d0ee648
%{_datadir}/clang/clang-format.py*
d0ee648
%{_datadir}/clang/clang-format-diff.py*
74e8e23
%endif
4a6eb83
4a6eb83
%files libs
74e8e23
%if !0%{?compat_build}
00e1fa9
%{_libdir}/clang/
4a6eb83
%{_libdir}/*.so.*
74e8e23
%else
74e8e23
%{pkg_libdir}/*.so.*
74e8e23
%{pkg_libdir}/clang/%{version}
74e8e23
%endif
4a6eb83
4a6eb83
%files devel
74e8e23
%if !0%{?compat_build}
5d6c3ad
%{_libdir}/*.so
4a6eb83
%{_includedir}/clang/
4a6eb83
%{_includedir}/clang-c/
3af19e7
%{_libdir}/cmake/*
4a6eb83
%dir %{_datadir}/clang/
74e8e23
%else
5d6c3ad
%{pkg_libdir}/*.so
74e8e23
%{pkg_includedir}/clang/
74e8e23
%{pkg_includedir}/clang-c/
74e8e23
%{pkg_libdir}/cmake/
74e8e23
%endif
4a6eb83
74e8e23
%if !0%{?compat_build}
4a6eb83
%files analyzer
4a6eb83
%{_bindir}/scan-view
4a6eb83
%{_bindir}/scan-build
6a62f09
%{_libexecdir}/ccc-analyzer
6a62f09
%{_libexecdir}/c++-analyzer
6a62f09
%{_datadir}/scan-view/
6a62f09
%{_datadir}/scan-build/
4a6eb83
%{_mandir}/man1/scan-build.1.*
4a6eb83
David Goerger 1e780f7
%files tools-extra
David Goerger 1e780f7
%{clang_tools_binaries}
David Goerger 1e780f7
%{_bindir}/find-all-symbols
David Goerger 1e780f7
%{_bindir}/modularize
d0138c6
%{_emacs_sitestartdir}/clang-rename.el
d0138c6
%{_emacs_sitestartdir}/clang-include-fixer.el
d0ee648
%{_datadir}/clang/clang-include-fixer.py*
d0ee648
%{_datadir}/clang/clang-tidy-diff.py*
d0ee648
%{_datadir}/clang/run-clang-tidy.py*
d0ee648
%{_datadir}/clang/run-find-all-symbols.py*
d0ee648
%{_datadir}/clang/clang-rename.py*
David Goerger 1e780f7
d8d5392
%files -n git-clang-format
d8d5392
%{_bindir}/git-clang-format
d8d5392
b53704a
%files -n python3-clang
b53704a
%{python3_sitelib}/clang/
b53704a
c9eea4f
74e8e23
%endif
4a6eb83
%changelog
d41e350
* Mon Feb 25 2019 tstellar@redhat.com - 8.0.0-0.3.rc2
d41e350
- Fix compiling with -stdlib=libc++
d41e350
81de65a
* Thu Feb 21 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
0cae14e
- 8.0.0 Release candidate 2
0cae14e
81de65a
* Sat Feb 09 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
b53704a
- 8.0.0 Release candidate 1
b53704a
b4f2f9a
* Tue Feb 05 2019 sguelton@redhat.com - 7.0.1-6
b4f2f9a
- Update patch for Python3 port of scan-view
b4f2f9a
734d45a
* Tue Feb 05 2019 sguelton@redhat.com - 7.0.1-5
734d45a
- Working CI test suite
734d45a
dc88066
* Mon Feb 04 2019 sguelton@redhat.com - 7.0.1-4
dc88066
- Workaround gcc-9 bug when compiling bitfields
dc88066
59a913a
* Fri Feb 01 2019 sguelton@redhat.com - 7.0.1-3
dc88066
- Fix uninitialized error detected by gcc-9
59a913a
aa6b830
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
aa6b830
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
aa6b830
1f58b21
* Wed Dec 19 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-2
1f58b21
- Fix for rhbz#1657544
01e6940
01e6940
* Tue Dec 18 2018 sguelton@redhat.com - 7.0.1-1
01e6940
- 7.0.1
01e6940
d870610
* Tue Dec 18 2018 sguelton@redhat.com - 7.0.0-10
d870610
- Install proper manpage symlinks for clang/clang++ versions
d870610
dbc3861
* Fri Dec 14 2018 sguelton@redhat.com - 7.0.0-9
dbc3861
- No longer Ignore -fstack-clash-protection option
dbc3861
c67fd45
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-8
c67fd45
- Ensure rpmlint passes on specfile
c67fd45
52edfa5
* Fri Nov 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-7
52edfa5
- Drop python2 dependency from clang-tools-extra 
52edfa5
d499533
* Wed Nov 21 2018 sguelton@redhat.com - 7.0.0-6
62621b0
- Prune unneeded reference to llvm-test-suite sub-package
62621b0
a37bcb2
* Mon Nov 19 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-5
a37bcb2
- Run 'make check-all' instead of 'make check-clang'
a37bcb2
b730992
* Mon Nov 19 2018 sergesanspaille <sguelton@redhat.com> - 7.0.0-4
b730992
- Avoid Python2 + Python3 dependency for clang-analyzer
b730992
816ea52
* Mon Nov 05 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-3
816ea52
- User helper macro to fixup config.h for multilib
816ea52
15d2b4b
* Tue Oct 02 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-2
15d2b4b
- Use correct shebang substitution for python scripts
15d2b4b
468c6f2
* Mon Sep 24 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
468c6f2
- 7.0.0 Release
468c6f2
00e1fa9
* Wed Sep 19 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.16.rc3
00e1fa9
- Move builtin headers into clang-libs sub-package
00e1fa9
fe1772d
* Wed Sep 19 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.15.rc3
fe1772d
- Remove ambiguous python shebangs
fe1772d
5d6c3ad
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.14.rc3
5d6c3ad
- Move unversioned shared objects to devel package
5d6c3ad
3f2f430
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.13.rc3
3f2f430
- Rebuild with new llvm-devel that disables rpath on install
3f2f430
6955c7a
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.12.rc3
6955c7a
- Fix clang++-7 symlink
6955c7a
3f7338a
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.11.rc3
3f7338a
- 7.0.0-rc3 Release
3f7338a
2fbc3e1
* Mon Sep 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.10.rc2
2fbc3e1
- Drop siod from llvm-test-suite
2fbc3e1
17d1605
* Fri Sep 07 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.9.rc2
17d1605
- Drop python2 dependency from clang package
17d1605
c823f68
* Thu Sep 06 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.8.rc2
c823f68
- Drop all uses of python2 from lit tests
c823f68
5a51a28
* Sat Sep 01 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.7.rc2
5a51a28
- Add Fedora specific version string
5a51a28
462b3d2
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.6.rc2
462b3d2
- 7.0.0-rc2 Release
462b3d2
f7f5784
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc1
f7f5784
- Enable unit tests
f7f5784
52c2187
* Fri Aug 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc1
52c2187
- Move llvm-test-suite into a sub-package
52c2187
68eed61
* Fri Aug 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
68eed61
- Recommend the same version of compiler-rt
68eed61
599360b
* Wed Aug 15 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
599360b
- Rebuild for f30
599360b
7761cfa
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
7761cfa
- 7.0.0-rc1 Release
7761cfa
74e8e23
* Mon Jul 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
74e8e23
- Sync spec file with the clang6.0 package
74e8e23
2b91340
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
2b91340
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2b91340
6f8d08d
* Tue Jun 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
6f8d08d
- 6.0.1 Release
6f8d08d
47c2db1
* Wed Jun 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc2
47c2db1
- 6.0.1-rc2
47c2db1
8d35cec
* Fri May 11 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.1.rc1
8d35cec
- 6.0.1-rc1 Release
8d35cec
ee5cc3e
* Fri Mar 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-5
ee5cc3e
- Add a clang++-{version} symlink rhbz#1534098
ee5cc3e
79d093b
* Thu Mar 22 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-4
79d093b
- Use correct script for running lit tests
79d093b
63bf60b
* Wed Mar 21 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
63bf60b
- Fix toolchain detection so we don't default to using cross-compilers:
63bf60b
  rhbz#1482491
63bf60b
5e7e9e3
* Mon Mar 12 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
5e7e9e3
- Add Provides: clang(major) rhbz#1547444
5e7e9e3
b425aea
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
b425aea
- 6.0.0 Release
b425aea
90e9f0b
* Mon Feb 12 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.6.rc2
90e9f0b
- 6.0.0-rc2 Release
90e9f0b
cdab058
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.5.rc1
cdab058
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cdab058
d0ee648
* Thu Feb 01 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.4.rc1
d0ee648
- Package python helper scripts for tools
d0ee648
4b5a3e5
* Fri Jan 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.3.rc1
4b5a3e5
- Ignore -fstack-clash-protection option instead of giving an error
4b5a3e5
d0138c6
* Fri Jan 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.2.rc1
d0138c6
- Package emacs integration files
d0138c6
4058470
* Wed Jan 24 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
4058470
- 6.0.0-rc1 Release
4058470
ae7609a
* Wed Jan 24 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-3
ae7609a
- Rebuild against llvm5.0 compatibility package
ae7609a
- rhbz#1538231
ae7609a
0e2c86c
* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.0.1-2
0e2c86c
- Update Python 2 dependency declarations to new packaging standards
0e2c86c
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
0e2c86c
0b04eda
* Wed Dec 20 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
0b04eda
- 5.0.1 Release
0b04eda
af6de8b
* Wed Dec 13 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-3
af6de8b
- Make compiler-rt a weak dependency and add a weak dependency on libomp
af6de8b
8d741f3
* Mon Nov 06 2017 Merlin Mathesius <mmathesi@redhat.com> - 5.0.0-2
8d741f3
- Cleanup spec file conditionals
8d741f3
b81322c
* Mon Oct 16 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
b81322c
- 5.0.0 Release
b81322c
c9eea4f
* Wed Oct 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 4.0.1-6
c9eea4f
- python2-clang subpkg (#1490997)
c9eea4f
- tools-extras: tighten (internal) -libs dep
c9eea4f
- %%install: avoid cd
c9eea4f
d8d5392
* Wed Aug 30 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-5
d8d5392
- Add Requires: python for git-clang-format
d8d5392
3af19e7
* Sun Aug 06 2017 Björn Esser <besser82@fedoraproject.org> - 4.0.1-4
3af19e7
- Rebuilt for AutoReq cmake-filesystem
3af19e7
ce9e3af
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
ce9e3af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ce9e3af
5166350
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
5166350
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5166350
521bee1
* Fri Jun 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
521bee1
- 4.0.1 Release.
521bee1
89ced16
* Fri Jun 16 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-8
89ced16
- Enable make check-clang
89ced16
497e404
* Mon Jun 12 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-7
497e404
- Package git-clang-format
497e404
c473ab9
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
c473ab9
- Generate man pages
c473ab9
77fcedd
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
77fcedd
- Ignore test-suite failures until all arches are fixed.
77fcedd
ce584ee
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
ce584ee
- Run llvm test-suite
ce584ee
f38da92
* Mon Mar 27 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-3
f38da92
- Enable eh/rtti, which are required by lldb.
f38da92
5617ce0
* Fri Mar 24 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
5617ce0
- Fix clang-tools-extra build
5617ce0
- Fix install
5617ce0
018a18d
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
35b5199
- clang 4.0.0 final release
35b5199
David Goerger 1e780f7
* Mon Mar 20 2017 David Goerger <david.goerger@yale.edu> - 3.9.1-3
David Goerger 1e780f7
- add clang-tools-extra rhbz#1328091
David Goerger 1e780f7
455a190
* Thu Mar 16 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-2
455a190
- Enable build-id by default rhbz#1432403
455a190
7dd65de
* Thu Mar 02 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-1
7dd65de
- clang 3.9.1 final release
7dd65de
dda9809
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-4
dda9809
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
dda9809
0b2ece3
* Mon Nov 14 2016 Nathaniel McCallum <npmccallum@redhat.com> - 3.9.0-3
0b2ece3
- Add Requires: compiler-rt to clang-libs.
0b2ece3
- Without this, compiling with certain CFLAGS breaks.
0b2ece3
3137849
* Tue Nov  1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.0-2
3137849
- Rebuild for new arches
3137849
7816b61
* Fri Oct 14 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
7816b61
- clang 3.9.0 final release
7816b61
fd63610
* Fri Jul 01 2016 Stephan Bergmann <sbergman@redhat.com> - 3.8.0-2
fd63610
- Resolves: rhbz#1282645 add GCC abi_tag support
fd63610
0706e2f
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
0706e2f
- clang 3.8.0 final release
0706e2f
679f934
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.4
679f934
- clang 3.8.0rc3
679f934
086d270
* Wed Feb 24 2016 Dave Airlie <airlied@redhat.com> - 3.8.0-0.3
086d270
- package all libs into clang-libs.
086d270
b486bb1
* Wed Feb 24 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
b486bb1
- enable dynamic linking of clang against llvm
b486bb1
6a62f09
* Thu Feb 18 2016 Dave Airlie <airlied@redhat.com> - 3.8.0-0.1
6a62f09
- clang 3.8.0rc2
6a62f09
61789e8
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
61789e8
- rebuild against latest llvm packages
650e4fe
- add BuildRequires llvm-static
61789e8
f615040
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-3
f615040
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f615040
7e4861f
* Thu Jan 28 2016 Dave Airlie <airlied@redhat.com> 3.7.1-2
7e4861f
- just accept clang includes moving to /usr/lib64, upstream don't let much else happen
7e4861f
7e4861f
* Thu Jan 28 2016 Dave Airlie <airlied@redhat.com> 3.7.1-1
7e4861f
- initial build in Fedora.
7e4861f
4a6eb83
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
4a6eb83
- initial version using cmake build system