tstellar / rpms / clang

Forked from rpms/clang 3 years ago
Clone
158c172
%bcond_with compat_build
158c172
%bcond_without tests
dea2413
%bcond_with minimal_build
158c172
158c172
# A "full build" which is a normal build with all the sub-packages and
158c172
# everything enabled.
158c172
%global with_full_build 1
dea2413
%global with_sub_pkgs 1
158c172
158c172
%if %{with compat_build}
158c172
%undefine with_full_build
158c172
%undefine with_tests
158c172
%endif
158c172
dea2413
%if %{with minimal_build}
dea2413
%undefine with_full_build
dea2413
%undefine with_tests
dea2413
%undefine with_sub_pkgs
dea2413
%endif
dea2413
dea2413
%if %{without full_build} && %{without compat_build} && %{without minimal_build}
dea2413
%{error:Must enable either full_build, compat_build, or minimal_build}
158c172
%endif
74e8e23
46e006a
%global maj_ver 11
b81322c
%global min_ver 0
ad6c72f
%global patch_ver 1
ad6c72f
%global rc_ver 1
dea2413
%global baserelease 3
8d35cec
David Goerger 1e780f7
%global clang_tools_binaries \
David Goerger 1e780f7
	%{_bindir}/clang-apply-replacements \
5617ce0
	%{_bindir}/clang-change-namespace \
cf309ff
	%{_bindir}/clang-check \
1ca4985
	%{_bindir}/clang-doc \
cf309ff
	%{_bindir}/clang-extdef-mapping \
cf309ff
	%{_bindir}/clang-format \
David Goerger 1e780f7
	%{_bindir}/clang-include-fixer \
cf309ff
	%{_bindir}/clang-move \
cf309ff
	%{_bindir}/clang-offload-bundler \
cf309ff
	%{_bindir}/clang-offload-wrapper \
David Goerger 1e780f7
	%{_bindir}/clang-query \
4058470
	%{_bindir}/clang-refactor \
David Goerger 1e780f7
	%{_bindir}/clang-rename \
cf309ff
	%{_bindir}/clang-reorder-fields \
cf309ff
	%{_bindir}/clang-scan-deps \
cf309ff
	%{_bindir}/clang-tidy \
cf309ff
	%{_bindir}/clangd \
cf309ff
	%{_bindir}/diagtool \
cf309ff
	%{_bindir}/hmaptool \
cf309ff
	%{_bindir}/pp-trace
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-cl \
5617ce0
	%{_bindir}/clang-cpp \
David Goerger 1e780f7
158c172
%if %{with 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_includedir %{_includedir}/llvm%{maj_ver}.%{min_ver}
74e8e23
%global pkg_libdir %{install_libdir}
158c172
158c172
%global llvm_pkg llvm%{maj_ver}.%{min_ver}
158c172
%endif
158c172
158c172
%if %{with full_build}
74e8e23
%global pkg_name clang
158c172
%global install_prefix %{_prefix}
dea2413
%endif
dea2413
dea2413
%if %{with minimal_build}
dea2413
%global pkg_name clang-minimal
dea2413
%global install_prefix %{buildroot}%{_prefix}
dea2413
%endif
dea2413
dea2413
%if %{with full_build} || %{with minimal_build}
5bff53b
%global pkg_libdir %{_libdir}
158c172
%global pkg_includedir %{_includedir}
158c172
%global llvm_pkg llvm
158c172
%if 0%{?__isa_bits} == 64
158c172
%global llvm_libdir_suffix 64
158c172
%endif
74e8e23
%endif
74e8e23
8d741f3
%if 0%{?fedora} || 0%{?rhel} > 7
ce584ee
%bcond_without python3
ce584ee
%else
ce584ee
%bcond_with python3
ce584ee
%endif
ce584ee
1ca4985
%ifarch ppc64le
1ca4985
# Too many threads on ppc64 systems causes OOM errors.
1ca4985
%global _smp_mflags -j8
1ca4985
%endif
1ca4985
86a049a
%global clang_srcdir clang-%{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}
277bd76
Release:	%{baserelease}%{?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
1167eb1
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz
1167eb1
Source3:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz.sig
158c172
%if %{with full_build}
1167eb1
Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz
1167eb1
Source2:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz.sig
74e8e23
%endif
ad6c72f
Source4:	tstellar-gpg-key.asc
4a6eb83
b53704a
Patch4:		0002-gtest-reorg.patch
d41e350
Patch11:	0001-ToolChain-Add-lgcc_s-to-the-linker-flags-when-using-.patch
797f722
Patch13:	0001-Make-funwind-tables-the-default-for-all-archs.patch
5617ce0
03d5785
# Not Upstream
03d5785
Patch15:	0001-clang-Don-t-install-static-libraries.patch
892c49f
Patch16:	0001-clang-Fix-spurious-test-failure.patch
70febad
Patch17:	0001-Driver-Prefer-gcc-toolchains-with-libgcc_s.so-when-n.patch
03d5785
dea2413
# MINIMAL PATCH ONLY
dea2413
Patch18:	0001-driver-Disable-linking-with-shared-libraries.patch
dea2413
158c172
#---Packaging Dependencies-----------------------------------------------------#
158c172
158c172
# We need python3-devel for pathfix.py.
158c172
BuildRequires:	python3-devel
158c172
# Needed for %%multilib_fix_c_header
158c172
BuildRequires:	multilib-rpm-config
158c172
# For origin certification
158c172
BuildRequires:	gnupg2
158c172
158c172
#---Build Dependencies---------------------------------------------------------#
158c172
c67fd45
BuildRequires:	gcc
c67fd45
BuildRequires:	gcc-c++
4a6eb83
BuildRequires:	cmake
b53704a
BuildRequires:	ninja-build
158c172
158c172
#---Library Dependencies-------------------------------------------------------#
158c172
158c172
BuildRequires:	libxml2-devel
158c172
BuildRequires:	ncurses-devel
ad3b6d9
# llvm-static is required, because clang-tablegen needs libLLVMTableGen, which
ad3b6d9
# is not included in libLLVM.so.
158c172
BuildRequires:	%{llvm_pkg}-static = %{version}
158c172
BuildRequires:	%{llvm_pkg}-devel = %{version}
158c172
158c172
#---Misc Dependencies---------------------------------------------------------#
74e8e23
c67fd45
BuildRequires:	perl-generators
d0138c6
# According to https://fedoraproject.org/wiki/Packaging:Emacs a package
d0138c6
# should BuildRequires: emacs if it packages emacs integration files.
d0138c6
BuildRequires:	emacs
c67fd45
BuildRequires:	python3-sphinx
c67fd45
BuildRequires:	libatomic
c473ab9
158c172
#---Test Dependencies----------------------------------------------------------#
ce584ee
158c172
%if %{with tests}
158c172
BuildRequires:	llvm-googletest = %{version}
158c172
BuildRequires:	llvm-test = %{version}
82aa4d3
158c172
%if %with python3
158c172
# The testsuite uses /usr/bin/lit which is part of the python3-lit package.
158c172
BuildRequires:	python3-lit
158c172
%endif
816ea52
892c49f
# scan-build uses these perl modules so they need to be installed in order
892c49f
# to run the tests.
892c49f
BuildRequires: perl(Digest::MD5)
892c49f
BuildRequires: perl(File::Copy)
892c49f
BuildRequires: perl(File::Find)
892c49f
BuildRequires: perl(File::Path)
892c49f
BuildRequires: perl(File::Temp)
892c49f
BuildRequires: perl(FindBin)
892c49f
BuildRequires: perl(Hash::Util)
892c49f
BuildRequires: perl(lib)
892c49f
BuildRequires: perl(Term::ANSIColor)
892c49f
BuildRequires: perl(Text::ParseWords)
892c49f
BuildRequires: perl(Sys::Hostname)
892c49f
158c172
%endif
158c172
158c172
#---Runtime Dependencies-------------------------------------------------------#
4a6eb83
dea2413
%if %{without minimal_build}
158c172
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
dea2413
%endif
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
158c172
#---Provides/Conflicts---------------------------------------------------------#
158c172
c67fd45
Provides:	clang(major) = %{maj_ver}
5e7e9e3
b6fa739
Conflicts:	compiler-rt < %{version}
b6fa739
Conflicts:	compiler-rt > %{version}
b6fa739
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
Stephen Kitt 2ecc846
Install compiler-rt if you want the Blocks C language extension or to
Stephen Kitt 2ecc846
enable sanitization and profiling options when building, and
Stephen Kitt 2ecc846
libomp-devel to enable -fopenmp.
Stephen Kitt 2ecc846
dea2413
%if %{with sub_pkgs}
dea2413
4a6eb83
%package libs
4a6eb83
Summary: Runtime library for clang
5bff53b
Requires: %{name}-resource-filesystem%{?_isa} = %{version}
68eed61
Recommends: compiler-rt%{?_isa} = %{version}
7a3aee2
# libomp-devel is required, so clang can find the omp.h header when compiling
7a3aee2
# with -fopenmp.
7a3aee2
Recommends: libomp-devel%{_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
158c172
%if %{with full_build}
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}
d31698e
%endif
158c172
Requires: %{name}-libs = %{version}-%{release}
4a6eb83
4a6eb83
%description devel
4a6eb83
Development header files for clang.
4a6eb83
5bff53b
%package resource-filesystem
5bff53b
Summary: Filesystem package that owns the clang resource directory
5bff53b
Provides: %{name}-resource-filesystem(major) = %{maj_ver}
5bff53b
5bff53b
%description resource-filesystem
5bff53b
This package owns the clang resouce directory: $libdir/clang/$version/
5bff53b
158c172
%if %{with full_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
dc3ceec
Requires:	%{name}-tools-extra = %{version}-%{release}
01e6940
Requires:	git
b53704a
Requires:	python3
d8d5392
d8d5392
%description -n git-clang-format
d8d5392
clang-format integration for git.
d8d5392
8d37c48
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
dea2413
%endif
b53704a
74e8e23
%endif
c9eea4f
4a6eb83
%prep
82aa4d3
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE0}'
82aa4d3
dea2413
%if %{with compat_build} || %{with minimal_build}
158c172
%autosetup -n %{clang_srcdir} -p2
74e8e23
%else
82aa4d3
82aa4d3
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE1}'
4058470
%setup -T -q -b 1 -n %{clang_tools_srcdir}
ce584ee
15d2b4b
52edfa5
pathfix.py -i %{__python3} -pn \
52edfa5
	clang-tidy/tool/*.py \
1ca4985
	clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
15d2b4b
4058470
%setup -q -n %{clang_srcdir}
15d2b4b
158c172
%patch4 -p2 -b .gtest
158c172
%patch11 -p2 -b .libcxx-fix
cf309ff
%patch13 -p2 -b .unwind-all
03d5785
%patch15 -p2 -b .no-install-static
892c49f
%patch16 -p2 -b .test-fix2
158c172
%patch17 -p2 -b .check-gcc_s
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
4c025cd
# We run the builders out of memory on armv7 and i686 when LTO is enabled
4c025cd
%ifarch %{arm} i686
4c025cd
%define _lto_cflags %{nil}
32b8b53
%else
32b8b53
# This package does not ship any object files or static libraries, so we
32b8b53
# don't need -ffat-lto-objects.
32b8b53
%global _lto_cflags %(echo %{_lto_cflags} | sed 's/-ffat-lto-objects//')
4c025cd
%endif
4c025cd
158c172
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@/%{llvm_libdir_suffix}/g' test/lit.cfg.py
4058470
69ca585
%ifarch s390 s390x %{arm} %ix86 ppc64le
8d35cec
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
8d35cec
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
8d35cec
%endif
8d35cec
1ca4985
# -DCMAKE_INSTALL_RPATH=";" is a workaround for llvm manually setting the
1ca4985
# rpath of libraries and binaries.  llvm will skip the manual setting
1ca4985
# if CAMKE_INSTALL_RPATH is set to a value, but cmake interprets this value
1ca4985
# as nothing, so it sets the rpath to "" when installing.
82aa4d3
%cmake  -G Ninja \
158c172
%if 0%{debug_package}
158c172
        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
158c172
%else
158c172
        -DCMAKE_BUILD_TYPE=Release \
158c172
%endif
69ca585
%ifarch s390 s390x %{arm} %ix86 ppc64le
cf309ff
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
cf309ff
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
1ca4985
%endif
158c172
%if %{with compat_build}
74e8e23
	-DLLVM_CONFIG:FILEPATH=%{_bindir}/llvm-config-%{maj_ver}.%{min_ver}-%{__isa_bits} \
158c172
	-DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen-%{maj_ver}.%{min_ver} \
158c172
%endif
158c172
	\
158c172
%if %{with tests}
74e8e23
	-DCLANG_INCLUDE_TESTS:BOOL=ON \
c823f68
	-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
f7f5784
	-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
277bd76
%else
158c172
	-DCLANG_INCLUDE_TESTS:BOOL=OFF \
277bd76
%endif
dea2413
%if %{with minimal_build}
dea2413
	-DCLANG_LINK_CLANG_DYLIB:BOOL=OFF \
dea2413
%else
dea2413
	-DCLANG_LINK_CLANG_DYLIB:BOOL=ON \
dea2413
%endif
158c172
	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
158c172
	-DLLVM_PARALLEL_LINK_JOBS=1 \
158c172
	-DPYTHON_EXECUTABLE=%{__python3} \
158c172
	-DCMAKE_INSTALL_RPATH:BOOL=";" \
158c172
	-DLLVM_LIBDIR_SUFFIX="%{llvm_libdir_suffix}" \
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 \
03d5785
	-DBUILD_SHARED_LIBS=OFF \
b53704a
	-DCLANG_REPOSITORY_STRING="%{?fedora:Fedora}%{?rhel:Red Hat} %{version}-%{release}"
4a6eb83
dea2413
%cmake_build %{?with_minimal_build:--target clang}
4a6eb83
4a6eb83
%install
82aa4d3
dea2413
%if %{with minimal_build}
dea2413
DESTDIR=%{buildroot} %ninja_build -C "%{__cmake_builddir}" install-clang install-clang-resource-headers
dea2413
%else
82aa4d3
%cmake_install
dea2413
%endif
4a6eb83
158c172
%if %{with 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
158c172
%endif
158c172
158c172
%if %{with full_build}
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
fd536b6
rm -Rvf %{buildroot}%{_docdir}/clang/html
fd536b6
rm -Rvf %{buildroot}%{_datadir}/clang/clang-doc-default-stylesheet.css
fd536b6
rm -Rvf %{buildroot}%{_datadir}/clang/index.js
c473ab9
b81322c
# TODO: What are the Fedora guidelines for packaging bash autocomplete files?
b81322c
rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh
b81322c
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
fe4c554
# Add clang++-{version} symlink
434e918
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
434e918
434e918
01e6940
# Fix permission
01e6940
chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
d870610
43b5ca7
# create a link to clang's resource directory that is "constant" across minor
43b5ca7
# version bumps
43b5ca7
# this is required for packages like ccls that hardcode the link to clang's
43b5ca7
# resource directory to not require rebuilds on minor version bumps
43b5ca7
# Fix for bugs like rhbz#1807574
43b5ca7
pushd %{buildroot}%{_libdir}/clang/
43b5ca7
ln -s %{version} %{maj_ver}
43b5ca7
popd
43b5ca7
5bff53b
# Create sub-directories in the clang resource directory that will be
5bff53b
# populated by other packages
5bff53b
mkdir -p %{buildroot}%{_libdir}/clang/%{version}/{include,lib,share}/
5bff53b
74e8e23
%endif
74e8e23
46e006a
# Remove clang-tidy headers.  We don't ship the libraries for these.
46e006a
rm -Rvf %{buildroot}%{_includedir}/clang-tidy/
46e006a
4a6eb83
%check
158c172
%if %{with tests}
4a6eb83
# requires lit.py from LLVM utilities
892c49f
# FIXME: Fix failing ARM tests
82aa4d3
LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %cmake_build --target check-all || \
892c49f
%ifarch %{arm}
79d093b
:
79d093b
%else
892c49f
false
79d093b
%endif
4a6eb83
74e8e23
%endif
ce584ee
dea2413
%if %{with minimal_build}
dea2413
%files
dea2413
%{_bindir}/clang
dea2413
%{_bindir}/clang-%{maj_ver}
dea2413
%{_bindir}/clang-cl
dea2413
%{_bindir}/clang++
dea2413
%{_bindir}/clang-cpp
dea2413
%{_libdir}/clang
dea2413
%endif
dea2413
ce584ee
158c172
%if %{with full_build}
4a6eb83
%files
1167eb1
%license LICENSE.TXT
David Goerger 1e780f7
%{clang_binaries}
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
74e8e23
%endif
4a6eb83
dea2413
%if %{with full_build} || %{with compat_build}
4a6eb83
%files libs
74e8e23
%{pkg_libdir}/*.so.*
158c172
%{pkg_libdir}/clang/
4a6eb83
4a6eb83
%files devel
5d6c3ad
%{pkg_libdir}/*.so
74e8e23
%{pkg_includedir}/clang/
74e8e23
%{pkg_includedir}/clang-c/
74e8e23
%{pkg_libdir}/cmake/
158c172
%if %{with full_build}
158c172
# Why does the devel package own this directory?
158c172
%dir %{_datadir}/clang/
74e8e23
%endif
4a6eb83
158c172
# %%dir means the package owns the directory and not the contents of
158c172
# the directory.
5bff53b
%files resource-filesystem
158c172
%dir %{pkg_libdir}/clang/
5bff53b
%dir %{pkg_libdir}/clang/%{version}/
5bff53b
%dir %{pkg_libdir}/clang/%{version}/include/
5bff53b
%dir %{pkg_libdir}/clang/%{version}/lib/
5bff53b
%dir %{pkg_libdir}/clang/%{version}/share/
5bff53b
%{pkg_libdir}/clang/%{maj_ver}
dea2413
%endif
5bff53b
158c172
%if %{with full_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}
5e48b7c
%{_bindir}/c-index-test
David Goerger 1e780f7
%{_bindir}/find-all-symbols
David Goerger 1e780f7
%{_bindir}/modularize
5e48b7c
%{_mandir}/man1/diagtool.1.gz
5e48b7c
%{_emacs_sitestartdir}/clang-format.el
d0138c6
%{_emacs_sitestartdir}/clang-rename.el
d0138c6
%{_emacs_sitestartdir}/clang-include-fixer.el
5e48b7c
%{_datadir}/clang/clang-format.py*
5e48b7c
%{_datadir}/clang/clang-format-diff.py*
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
dea2413
* Wed Dec 16 2020 Tom Stellard <tstellar@redhat.com> - 11.0.1-3.rc1
dea2413
- Add conditionals to build a clang-minimal package
dea2413
158c172
* Sat Dec 12 2020 Tom Stellard <tstellar@redhat.com> - 11.0.1-2.rc1
158c172
- Spec file cleanups and improvements
158c172
ad6c72f
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
ad6c72f
- llvm 11.0.1-rc1
ad6c72f
32b8b53
* Thu Oct 29 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-3
32b8b53
- Remove -ffat-lto-objects compiler flag
32b8b53
5bff53b
* Wed Oct 28 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-2
5bff53b
- Add clang-resource-filesystem sub-package
5bff53b
1605d80
* Thu Oct 15 2020 sguelton@redhat.com - 11.0.0-1
1605d80
- Fix NVR
1605d80
5964451
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.7
5964451
- llvm 11.0.0 - final release
5964451
b4a94df
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.6.rc6
b4a94df
- 11.0.0-rc6
b4a94df
2d021a4
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.5.rc5
2d021a4
- 11.0.0-rc5 Release
2d021a4
2ac3ba8
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.4.rc3
2ac3ba8
- Fix NVR
2ac3ba8
e371ba7
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
e371ba7
- 11.0.0-rc3 Release
e371ba7
70febad
* Tue Sep 22 2020 sguelton@redhat.com - 11.0.0-0.3.rc2
70febad
- Prefer gcc toolchains with libgcc_s
70febad
fd536b6
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.2.rc2
fd536b6
- Normalize some doc directory locations
fd536b6
1167eb1
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.1.rc2
1167eb1
- 11.0.0-rc2 Release
1167eb1
- Use %%license macro
1167eb1
892c49f
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
892c49f
- Fix test failures
892c49f
46e006a
* Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1.rc1
46e006a
- 11.0.0-rc1 Release
46e006a
8c8d9c6
* Tue Aug 04 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-11
8c8d9c6
- Remove Requires: emacs-filesystem
8c8d9c6
01b6b5c
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-10
01b6b5c
- Second attempt - Rebuilt for
01b6b5c
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
01b6b5c
4c025cd
* Tue Jul 28 2020 Jeff Law <law@redhat.com> - 10.0.0-9
4c025cd
- Disable LTO on arm and i686
4c025cd
8eeb41a
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-8
8eeb41a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
8eeb41a
82aa4d3
* Mon Jul 20 2020 sguelton@redhat.com - 10.0.0-7
82aa4d3
- Update cmake macro usage
82aa4d3
- Finalize source verification
82aa4d3
f923b52
* Fri Jun 26 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-6
f923b52
- Add cet.h header
f923b52
e2a664c
* Mon Jun 08 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-5
e2a664c
- Accept multiple --config options
e2a664c
43b5ca7
* Wed Jun  3 2020 Dan Čermák <dan.cermak@cgc-instruments.com> - 10.0.0-4
43b5ca7
- Add symlink to %%{_libdir}/clang/%%{maj_ver} for persistent access to the resource directory accross minor version bumps
43b5ca7
a62c5d0
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 10.0.0-3
a62c5d0
- Rebuilt for Python 3.9
a62c5d0
d933922
* Tue May 19 2020 sguelton@redhat.com - 10.0.0-2
d933922
- Backport ad7211df6f257e39da2e5a11b2456b4488f32a1e, see rhbz#1825593
d933922
0c8ce6b
* Thu Mar 26 2020 sguelton@redhat.com - 10.0.0-1
0c8ce6b
- 10.0.0 final
0c8ce6b
80c3a7c
* Tue Mar 24 2020 sguelton@redhat.com - 10.0.0-0.11.rc6
80c3a7c
- 10.0.0 rc6
80c3a7c
dc3ceec
* Sun Mar 22 2020 sguelton@redhat.com - 10.0.0-0.10.rc5
dc3ceec
- Update git-clang-format dependency, see rhbz#1815913
dc3ceec
7a3aee2
* Fri Mar 20 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-0.9.rc5
7a3aee2
- Add dependency on libomp-devel
7a3aee2
fd397b2
* Fri Mar 20 2020 sguelton@redhat.com - 10.0.0-0.8.rc5
fd397b2
- 10.0.0 rc5
fd397b2
dc1e065
* Sat Mar 14 2020 sguelton@redhat.com - 10.0.0-0.7.rc4
dc1e065
- 10.0.0 rc4
dc1e065
b736274
* Thu Mar 12 2020 sguelton@redhat.com - 10.0.0-0.6.rc3
b736274
- Move a few files from clang to clang-tools-extra.
b736274
9264afe
* Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.5.rc3
9264afe
- 10.0.0 rc3
9264afe
b45d596
* Tue Feb 25 2020 sguelton@redhat.com - 10.0.0-0.4.rc2
b45d596
- Apply -fdiscard-value-names patch.
b45d596
28cdc98
* Mon Feb 17 2020 sguelton@redhat.com - 10.0.0-0.3.rc2
28cdc98
- Fix NVR
28cdc98
139b5a7
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.1.rc2
139b5a7
- 10.0.0 rc2
139b5a7
b6fa739
* Tue Feb 11 2020 sguelton@redhat.com - 10.0.0-0.2.rc1
b6fa739
- Explicitly conflicts with any different compiler-rt version, see rhbz#1800705
b6fa739
03d5785
* Fri Jan 31 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-0.1.rc1
03d5785
- Stop shipping individual component libraries
03d5785
- https://fedoraproject.org/wiki/Changes/Stop-Shipping-Individual-Component-Libraries-In-clang-lib-Package
03d5785
cf309ff
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
cf309ff
- 10.0.0 rc1
cf309ff
51cb45d
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-3
51cb45d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
51cb45d
5baf5a3
* Fri Jan 10 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-2
5baf5a3
- Fix crash with kernel bpf self-tests
5baf5a3
86a049a
* Thu Dec 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.1-1
86a049a
- 9.0.1 Release
86a049a
4c28031
* Wed Dec 11 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-3
4c28031
- Add explicit requires for clang-libs to fix rpmdiff errors
4c28031
797f722
* Tue Dec 10 2019 sguelton@redhat.com - 9.0.0-2
797f722
- Activate -funwind-tables on all arches, see rhbz#1655546.
797f722
d04c1c4
* Thu Sep 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
d04c1c4
- 9.0.0 Release
d04c1c4
69ca585
* Wed Sep 11 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.2.rc3
69ca585
- Reduce debug info verbosity on ppc64le to avoid OOM errors in koji
69ca585
1ca4985
* Thu Aug 22 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc3
1ca4985
- 9.0.0 Release candidate 3
1ca4985
7b4d800
* Tue Aug 20 2019 sguelton@redhat.com - 8.0.0-4
7b4d800
- Rebuilt for Python 3.8
7b4d800
86a9d03
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0.0-3.2
86a9d03
- Rebuilt for Python 3.8
86a9d03
b3b8190
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-3.1
b3b8190
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b3b8190
0965459
* Thu May 16 2019 sguelton@redhat.com - 8.0.0-3
0965459
- Fix for rhbz#1674031
0965459
32e777c
* Fri Apr 12 2019 sguelton@redhat.com - 8.0.0-2
32e777c
- Remove useless patch thanks to GCC upgrade
32e777c
25a719b
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
25a719b
- 8.0.0 final
25a719b
cc03e58
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.6.rc4
cc03e58
- 8.0.0 Release candidate 4
cc03e58
434e918
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.5.rc3
434e918
- Cleanup specfile after llvm dependency update
434e918
b4398f1
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.4.rc3
b4398f1
- 8.0.0 Release candidate 3
b4398f1
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
8d37c48
- 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