Blame SPECS/clang.spec

f28a49
%global compat_build 0
f28a49
c558f2
%global maj_ver 10
fd1acb
%global min_ver 0
fd1acb
%global patch_ver 0
c558f2
#%%global rc_ver 6
c558f2
%global baserelease 1
fd1acb
fd1acb
%global clang_tools_binaries \
fd1acb
	%{_bindir}/clang-apply-replacements \
fd1acb
	%{_bindir}/clang-change-namespace \
c558f2
	%{_bindir}/clang-check \
f28a49
	%{_bindir}/clang-doc \
c558f2
	%{_bindir}/clang-extdef-mapping \
c558f2
	%{_bindir}/clang-format \
c558f2
	%{_bindir}/clang-import-test \
fd1acb
	%{_bindir}/clang-include-fixer \
c558f2
	%{_bindir}/clang-move \
c558f2
	%{_bindir}/clang-offload-bundler \
c558f2
	%{_bindir}/clang-offload-wrapper \
fd1acb
	%{_bindir}/clang-query \
fd1acb
	%{_bindir}/clang-refactor \
fd1acb
	%{_bindir}/clang-rename \
c558f2
	%{_bindir}/clang-reorder-fields \
c558f2
	%{_bindir}/clang-scan-deps \
c558f2
	%{_bindir}/clang-tidy \
c558f2
	%{_bindir}/clangd \
c558f2
	%{_bindir}/diagtool \
c558f2
	%{_bindir}/hmaptool \
c558f2
	%{_bindir}/pp-trace
fd1acb
fd1acb
%global clang_binaries \
fd1acb
	%{_bindir}/clang \
fd1acb
	%{_bindir}/clang++ \
fd1acb
	%{_bindir}/clang-%{maj_ver} \
fd1acb
	%{_bindir}/clang++-%{maj_ver} \
fd1acb
	%{_bindir}/clang-cl \
fd1acb
	%{_bindir}/clang-cpp \
fd1acb
f28a49
%if 0%{?compat_build}
f28a49
%global pkg_name clang%{maj_ver}.%{min_ver}
f28a49
# Install clang to same prefix as llvm, so that apps that use llvm-config
f28a49
# will also be able to find clang libs.
f28a49
%global install_prefix %{_libdir}/llvm%{maj_ver}.%{min_ver}
f28a49
%global install_bindir %{install_prefix}/bin
f28a49
%global install_includedir %{install_prefix}/include
f28a49
%global install_libdir %{install_prefix}/lib
f28a49
f28a49
%global pkg_bindir %{install_bindir}
f28a49
%global pkg_includedir %{_includedir}/llvm%{maj_ver}.%{min_ver}
f28a49
%global pkg_libdir %{install_libdir}
f28a49
%else
fd1acb
%global pkg_name clang
fd1acb
%global install_prefix /usr
f28a49
%endif
fd1acb
fd1acb
%if 0%{?fedora} || 0%{?rhel} > 7
fd1acb
%bcond_without python3
fd1acb
%else
fd1acb
%bcond_with python3
fd1acb
%endif
fd1acb
fd1acb
%global build_install_prefix %{buildroot}%{install_prefix}
f28a49
fd1acb
%ifarch ppc64le
c558f2
# Too many threads on ppc64 systems causes OOM errors.
fd1acb
%global _smp_mflags -j8
fd1acb
%endif
fd1acb
c558f2
%global clang_srcdir clang-%{version}%{?rc_ver:rc%{rc_ver}}.src
fd1acb
%global clang_tools_srcdir clang-tools-extra-%{version}%{?rc_ver:rc%{rc_ver}}.src
fd1acb
fd1acb
Name:		%pkg_name
fd1acb
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}
f28a49
Release:	%{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
fd1acb
Summary:	A C language family front-end for LLVM
fd1acb
fd1acb
License:	NCSA
fd1acb
URL:		http://llvm.org
c558f2
%if 0%{?rc_ver:1}
c558f2
Source0:	https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{clang_srcdir}.tar.xz
c558f2
Source3:	https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{clang_srcdir}.tar.xz.sig
c558f2
%else
c558f2
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clang_srcdir}.tar.xz
c558f2
Source3:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clang_srcdir}.tar.xz.sig
c558f2
%endif
fd1acb
%if !0%{?compat_build}
c558f2
%if 0%{?rc_ver:1}
c558f2
Source1:	https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{clang_tools_srcdir}.tar.xz
c558f2
Source2:	https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{clang_tools_srcdir}.tar.xz.sig
c558f2
%else
c558f2
Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clang_tools_srcdir}.tar.xz
c558f2
Source2:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clang_tools_srcdir}.tar.xz.sig
fd1acb
%endif
c558f2
%endif
c558f2
Source4:	https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
fd1acb
fd1acb
Patch4:		0002-gtest-reorg.patch
fd1acb
Patch11:	0001-ToolChain-Add-lgcc_s-to-the-linker-flags-when-using-.patch
c558f2
Patch13:	0001-Make-funwind-tables-the-default-for-all-archs.patch
c558f2
c558f2
### Fix crash with kernel bpf self-tests
c558f2
##Patch14:	0001-BPF-annotate-DIType-metadata-for-builtin-preseve_arr.patch
c558f2
c558f2
# Not Upstream
c558f2
Patch15:	0001-clang-Don-t-install-static-libraries.patch
fd1acb
fd1acb
BuildRequires:	gcc
fd1acb
BuildRequires:	gcc-c++
fd1acb
BuildRequires:	cmake
fd1acb
BuildRequires:	ninja-build
f28a49
%if 0%{?compat_build}
f28a49
BuildRequires:	llvm%{maj_ver}.%{min_ver}-devel = %{version}
f28a49
BuildRequires:	llvm%{maj_ver}.%{min_ver}-static = %{version}
f28a49
%else
fd1acb
BuildRequires:	llvm-devel = %{version}
fd1acb
%if 0%{?enable_test_pkg}
fd1acb
BuildRequires:	llvm-test = %{version}
fd1acb
BuildRequires:	llvm-googletest = %{version}
fd1acb
%endif
f28a49
# llvm-static is required, because clang-tablegen needs libLLVMTableGen, which
f28a49
# is not included in libLLVM.so.
f28a49
BuildRequires:	llvm-static = %{version}
f28a49
%endif
f28a49
fd1acb
BuildRequires:	libxml2-devel
fd1acb
BuildRequires:	perl-generators
fd1acb
BuildRequires:	ncurses-devel
fd1acb
# According to https://fedoraproject.org/wiki/Packaging:Emacs a package
fd1acb
# should BuildRequires: emacs if it packages emacs integration files.
fd1acb
BuildRequires:	emacs
fd1acb
fd1acb
# These build dependencies are required for the test suite.
fd1acb
%if %with python3
fd1acb
# The testsuite uses /usr/bin/lit which is part of the python3-lit package.
fd1acb
BuildRequires:	python3-lit
fd1acb
%endif
fd1acb
fd1acb
BuildRequires:	python3-sphinx
fd1acb
BuildRequires:	libatomic
fd1acb
fd1acb
# We need python3-devel for pathfix.py.
fd1acb
BuildRequires:	python3-devel
fd1acb
fd1acb
# Needed for %%multilib_fix_c_header
fd1acb
BuildRequires:	multilib-rpm-config
fd1acb
BuildRequires: chrpath
fd1acb
fd1acb
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
fd1acb
fd1acb
# clang requires gcc, clang++ requires libstdc++-devel
fd1acb
# - https://bugzilla.redhat.com/show_bug.cgi?id=1021645
fd1acb
# - https://bugzilla.redhat.com/show_bug.cgi?id=1158594
fd1acb
Requires:	libstdc++-devel
fd1acb
Requires:	gcc-c++
fd1acb
fd1acb
Requires:	emacs-filesystem
fd1acb
fd1acb
Provides:	clang(major) = %{maj_ver}
fd1acb
c558f2
Conflicts:	compiler-rt < %{version}
c558f2
Conflicts:	compiler-rt > %{version}
c558f2
fd1acb
%description
fd1acb
clang: noun
fd1acb
    1. A loud, resonant, metallic sound.
fd1acb
    2. The strident call of a crane or goose.
fd1acb
    3. C-language family front-end toolkit.
fd1acb
fd1acb
The goal of the Clang project is to create a new C, C++, Objective C
fd1acb
and Objective C++ front-end for the LLVM compiler. Its tools are built
fd1acb
as libraries and designed to be loosely-coupled and extensible.
fd1acb
fd1acb
%package libs
fd1acb
Summary: Runtime library for clang
fd1acb
Recommends: compiler-rt%{?_isa} = %{version}
c558f2
# libomp-devel is required, so clang can find the omp.h header when compiling
c558f2
# with -fopenmp.
c558f2
Recommends: libomp-devel%{_isa} = %{version}
fd1acb
Recommends: libomp%{_isa} = %{version}
fd1acb
fd1acb
%description libs
fd1acb
Runtime library for clang.
fd1acb
fd1acb
%package devel
fd1acb
Summary: Development header files for clang
f28a49
%if !0%{?compat_build}
fd1acb
Requires: %{name}%{?_isa} = %{version}-%{release}
fd1acb
# The clang CMake files reference tools from clang-tools-extra.
fd1acb
Requires: %{name}-tools-extra%{?_isa} = %{version}-%{release}
f28a49
Requires: %{name}-libs = %{version}-%{release}
c558f2
%endif
fd1acb
fd1acb
%description devel
fd1acb
Development header files for clang.
fd1acb
f28a49
%if !0%{?compat_build}
fd1acb
%package analyzer
fd1acb
Summary:	A source code analysis framework
fd1acb
License:	NCSA and MIT
fd1acb
BuildArch:	noarch
fd1acb
Requires:	%{name} = %{version}-%{release}
fd1acb
fd1acb
%description analyzer
fd1acb
The Clang Static Analyzer consists of both a source code analysis
fd1acb
framework and a standalone tool that finds bugs in C and Objective-C
fd1acb
programs. The standalone tool is invoked from the command-line, and is
fd1acb
intended to run in tandem with a build of a project or code base.
fd1acb
fd1acb
%package tools-extra
fd1acb
Summary:	Extra tools for clang
fd1acb
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
fd1acb
Requires:	emacs-filesystem
fd1acb
fd1acb
%description tools-extra
fd1acb
A set of extra tools built using Clang's tooling API.
fd1acb
fd1acb
# Put git-clang-format in its own package, because it Requires git
fd1acb
# and we don't want to force users to install all those dependenices if they
fd1acb
# just want clang.
fd1acb
%package -n git-clang-format
fd1acb
Summary:	Integration of clang-format for git
c558f2
Requires:	%{name}-tools-extra = %{version}-%{release}
fd1acb
Requires:	git
fd1acb
Requires:	python3
fd1acb
fd1acb
%description -n git-clang-format
fd1acb
clang-format integration for git.
fd1acb
c558f2
fd1acb
%package -n python3-clang
fd1acb
Summary:       Python3 bindings for clang
fd1acb
Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
fd1acb
Requires:      python3
fd1acb
%description -n python3-clang
fd1acb
%{summary}.
fd1acb
fd1acb
f28a49
%endif
fd1acb
fd1acb
fd1acb
%prep
f28a49
%if 0%{?compat_build}
f28a49
%autosetup -n %{clang_srcdir} -p1
f28a49
%else
f28a49
%setup -T -q -b 1 -n %{clang_tools_srcdir}
f28a49
fd1acb
fd1acb
pathfix.py -i %{__python3} -pn \
fd1acb
	clang-tidy/tool/*.py \
f28a49
	clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
fd1acb
f28a49
%setup -q -n %{clang_srcdir}
fd1acb
fd1acb
%patch4 -p1 -b .gtest
fd1acb
%patch11 -p1 -b .libcxx-fix
c558f2
%patch13 -p2 -b .unwind-all
c558f2
%patch15 -p2 -b .no-install-static
c558f2
c558f2
c558f2
#%patch14 -p2 -b .bpf-fix
fd1acb
fd1acb
mv ../%{clang_tools_srcdir} tools/extra
fd1acb
fd1acb
pathfix.py -i %{__python3} -pn \
fd1acb
	tools/clang-format/*.py \
fd1acb
	tools/clang-format/git-clang-format \
fd1acb
	utils/hmaptool/hmaptool \
fd1acb
	tools/scan-view/bin/scan-view
f28a49
%endif
fd1acb
fd1acb
%build
fd1acb
f28a49
%if 0%{?__isa_bits} == 64
f28a49
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@/64/g' test/lit.cfg.py
f28a49
%else
f28a49
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py
f28a49
%endif
f28a49
fd1acb
mkdir -p _build
fd1acb
cd _build
fd1acb
f28a49
%ifarch s390 s390x %{arm} %ix86 ppc64le
fd1acb
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
fd1acb
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
fd1acb
%endif
fd1acb
f28a49
# -DCMAKE_INSTALL_RPATH=";" is a workaround for llvm manually setting the
f28a49
# rpath of libraries and binaries.  llvm will skip the manual setting
f28a49
# if CAMKE_INSTALL_RPATH is set to a value, but cmake interprets this value
f28a49
# as nothing, so it sets the rpath to "" when installing.
fd1acb
%cmake .. -G Ninja \
fd1acb
	-DLLVM_PARALLEL_LINK_JOBS=1 \
fd1acb
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
fd1acb
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
fd1acb
	-DPYTHON_EXECUTABLE=%{__python3} \
f28a49
	-DCMAKE_INSTALL_RPATH:BOOL=";" \
f28a49
%ifarch s390 s390x %{arm} %ix86 ppc64le
c558f2
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
c558f2
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
f28a49
%endif
f28a49
%if 0%{?compat_build}
f28a49
	-DLLVM_CONFIG:FILEPATH=%{_bindir}/llvm-config-%{maj_ver}.%{min_ver}-%{__isa_bits} \
f28a49
	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
f28a49
	-DCLANG_INCLUDE_TESTS:BOOL=OFF \
f28a49
%else
fd1acb
	-DCLANG_INCLUDE_TESTS:BOOL=ON \
fd1acb
	-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
fd1acb
	-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
fd1acb
%if 0%{?__isa_bits} == 64
fd1acb
	-DLLVM_LIBDIR_SUFFIX=64 \
fd1acb
%else
fd1acb
	-DLLVM_LIBDIR_SUFFIX= \
fd1acb
%endif
f28a49
%endif
fd1acb
	\
f28a49
%if !0%{compat_build}
fd1acb
	-DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen \
f28a49
%else
f28a49
	-DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen-%{maj_ver}.%{min_ver} \
f28a49
%endif
fd1acb
	-DCLANG_ENABLE_ARCMT:BOOL=ON \
fd1acb
	-DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON \
fd1acb
	-DCLANG_INCLUDE_DOCS:BOOL=ON \
fd1acb
	-DCLANG_PLUGIN_SUPPORT:BOOL=ON \
fd1acb
	-DENABLE_LINKER_BUILD_ID:BOOL=ON \
fd1acb
	-DLLVM_ENABLE_EH=ON \
fd1acb
	-DLLVM_ENABLE_RTTI=ON \
fd1acb
	-DLLVM_BUILD_DOCS=ON \
fd1acb
	-DLLVM_ENABLE_SPHINX=ON \
c558f2
	-DCLANG_LINK_CLANG_DYLIB=ON \
fd1acb
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
fd1acb
	\
fd1acb
	-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
c558f2
	-DBUILD_SHARED_LIBS=OFF \
fd1acb
	-DCLANG_REPOSITORY_STRING="%{?fedora:Fedora}%{?rhel:Red Hat} %{version}-%{release}"
fd1acb
f28a49
%ninja_build -l 8
fd1acb
fd1acb
%install
f28a49
%ninja_install -C _build
fd1acb
f28a49
%if 0%{?compat_build}
f28a49
f28a49
# Remove binaries/other files
f28a49
rm -Rf %{buildroot}%{install_bindir}
f28a49
rm -Rf %{buildroot}%{install_prefix}/share
f28a49
rm -Rf %{buildroot}%{install_prefix}/libexec
f28a49
f28a49
# Move include files
f28a49
mkdir -p %{buildroot}%{pkg_includedir}
f28a49
mv  %{buildroot}/%{install_includedir}/clang %{buildroot}/%{pkg_includedir}/
f28a49
mv  %{buildroot}/%{install_includedir}/clang-c %{buildroot}/%{pkg_includedir}/
f28a49
f28a49
%else
fd1acb
fd1acb
# install clang python bindings
fd1acb
mkdir -p %{buildroot}%{python3_sitelib}/clang/
fd1acb
install -p -m644 bindings/python/clang/* %{buildroot}%{python3_sitelib}/clang/
fd1acb
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/clang
fd1acb
fd1acb
# multilib fix
fd1acb
%multilib_fix_c_header --file %{_includedir}/clang/Config/config.h
fd1acb
fd1acb
# Move emacs integration files to the correct directory
fd1acb
mkdir -p %{buildroot}%{_emacs_sitestartdir}
fd1acb
for f in clang-format.el clang-rename.el clang-include-fixer.el; do
fd1acb
mv %{buildroot}{%{_datadir}/clang,%{_emacs_sitestartdir}}/$f
fd1acb
done
fd1acb
fd1acb
# remove editor integrations (bbedit, sublime, emacs, vim)
fd1acb
rm -vf %{buildroot}%{_datadir}/clang/clang-format-bbedit.applescript
fd1acb
rm -vf %{buildroot}%{_datadir}/clang/clang-format-sublime.py*
fd1acb
fd1acb
# TODO: Package html docs
fd1acb
rm -Rvf %{buildroot}%{_pkgdocdir}
c558f2
rm -Rvf %{buildroot}%{install_prefix}/share/clang/clang-doc-default-stylesheet.css
c558f2
rm -Rvf %{buildroot}%{install_prefix}/share/clang/index.js
fd1acb
fd1acb
# TODO: What are the Fedora guidelines for packaging bash autocomplete files?
fd1acb
rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh
fd1acb
fd1acb
# Create Manpage symlinks
fd1acb
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++.1.gz
fd1acb
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang-%{maj_ver}.1.gz
fd1acb
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++-%{maj_ver}.1.gz
fd1acb
f28a49
# Add clang++-{version} symlink
fd1acb
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
fd1acb
fd1acb
fd1acb
# Fix permission
fd1acb
chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
fd1acb
f28a49
%endif
fd1acb
fd1acb
%check
f28a49
%if !0%{?compat_build}
fd1acb
# requires lit.py from LLVM utilities
f28a49
# FIXME: Fix failing ARM tests, s390x i686 and ppc64le tests
f28a49
# FIXME: Ignore test failures until rhbz#1715016 is fixed.
fd1acb
%if 0%{?enable_test_pkg}
f28a49
LD_LIBRARY_PATH=%{buildroot}%{_libdir} ninja check-all -C _build || \
f28a49
%endif
f28a49
%ifarch s390x i686 ppc64le %{arm}
f28a49
:
f28a49
%else
f28a49
:
fd1acb
%endif
fd1acb
f28a49
%endif
fd1acb
fd1acb
f28a49
%if !0%{?compat_build}
fd1acb
%files
fd1acb
%{clang_binaries}
fd1acb
%{_mandir}/man1/clang.1.gz
fd1acb
%{_mandir}/man1/clang++.1.gz
fd1acb
%{_mandir}/man1/clang-%{maj_ver}.1.gz
fd1acb
%{_mandir}/man1/clang++-%{maj_ver}.1.gz
f28a49
%endif
fd1acb
fd1acb
%files libs
f28a49
%if !0%{?compat_build}
fd1acb
%{_libdir}/clang/
fd1acb
%{_libdir}/*.so.*
f28a49
%else
f28a49
%{pkg_libdir}/*.so.*
f28a49
%{pkg_libdir}/clang/%{version}
f28a49
%endif
fd1acb
fd1acb
%files devel
f28a49
%if !0%{?compat_build}
fd1acb
%{_libdir}/*.so
fd1acb
%{_includedir}/clang/
fd1acb
%{_includedir}/clang-c/
fd1acb
%{_libdir}/cmake/*
fd1acb
%dir %{_datadir}/clang/
f28a49
%else
f28a49
%{pkg_libdir}/*.so
f28a49
%{pkg_includedir}/clang/
f28a49
%{pkg_includedir}/clang-c/
f28a49
%{pkg_libdir}/cmake/
f28a49
%endif
fd1acb
f28a49
%if !0%{?compat_build}
fd1acb
%files analyzer
fd1acb
%{_bindir}/scan-view
fd1acb
%{_bindir}/scan-build
fd1acb
%{_libexecdir}/ccc-analyzer
fd1acb
%{_libexecdir}/c++-analyzer
fd1acb
%{_datadir}/scan-view/
fd1acb
%{_datadir}/scan-build/
fd1acb
%{_mandir}/man1/scan-build.1.*
fd1acb
fd1acb
%files tools-extra
fd1acb
%{clang_tools_binaries}
c558f2
%{_bindir}/c-index-test
fd1acb
%{_bindir}/find-all-symbols
fd1acb
%{_bindir}/modularize
c558f2
%{_mandir}/man1/diagtool.1.gz
c558f2
%{_emacs_sitestartdir}/clang-format.el
fd1acb
%{_emacs_sitestartdir}/clang-rename.el
fd1acb
%{_emacs_sitestartdir}/clang-include-fixer.el
c558f2
%{_datadir}/clang/clang-format.py*
c558f2
%{_datadir}/clang/clang-format-diff.py*
fd1acb
%{_datadir}/clang/clang-include-fixer.py*
fd1acb
%{_datadir}/clang/clang-tidy-diff.py*
fd1acb
%{_datadir}/clang/run-clang-tidy.py*
fd1acb
%{_datadir}/clang/run-find-all-symbols.py*
fd1acb
%{_datadir}/clang/clang-rename.py*
fd1acb
fd1acb
%files -n git-clang-format
fd1acb
%{_bindir}/git-clang-format
fd1acb
fd1acb
%files -n python3-clang
fd1acb
%{python3_sitelib}/clang/
fd1acb
f28a49
%endif
fd1acb
%changelog
c558f2
* Thu Apr 9 2020 sguelton@redhat.com - 10.0.0-1
c558f2
- 10.0.0 final
c558f2
c558f2
* Fri Jan 10 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-2
c558f2
- Fix crash with kernel bpf self-tests
c558f2
c558f2
* Thu Dec 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.1-1
c558f2
- 9.0.1 Release
c558f2
f28a49
* Fri Nov 15 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-5
f28a49
- Fix typo from previous patch: move clang-libs dep to correct sub-package
f28a49
f28a49
* Thu Nov 14 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-4
f28a49
- Add explicit requires for clang-libs to fix rpmdiff errors
f28a49
f28a49
* Wed Oct 02 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-3
f28a49
- Limit build to 8 threads to avoid OOM on x86_64
f28a49
f28a49
* Wed Oct 02 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
f28a49
- Disable CLANG_LINK_CLANG_DYLIB
f28a49
f28a49
* Fri Sep 27 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
f28a49
- 9.0.0 Release
f28a49
f28a49
* Thu Aug 1 2019 sguelton@redhat.com - 8.0.1-1
f28a49
- 8.0.1 Release
f28a49
f28a49
* Thu Jun 13 2019 sguelton@redhat.com - 8.0.1-0.1.rc2
f28a49
- 8.0.1rc2 Release
f28a49
fd1acb
* Thu Apr 11 2019 sguelton@redhat.com - 8.0.0-1
fd1acb
- 8.0.0 Release
fd1acb
fd1acb
* Fri Dec 14 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-1
fd1acb
- 7.0.1-1 Release
fd1acb
fd1acb
* Mon Dec 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.1.rc3
fd1acb
- 7.0.1-rc3 Release
fd1acb
fd1acb
* Mon Nov 05 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-12
fd1acb
- User helper macro to fixup config.h for multilib
fd1acb
fd1acb
* Sat Oct 27 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-11
fd1acb
- Enable make check
fd1acb
fd1acb
* Mon Oct 15 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-10
fd1acb
- Remove Provides: llvm-toolset-6.0-clang-libs
fd1acb
fd1acb
* Fri Oct 12 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-9
fd1acb
- Add Provides: llvm-toolset-6.0-clang-libs
fd1acb
fd1acb
* Tue Oct 02 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-8
fd1acb
- Don't use python2 for the build
fd1acb
fd1acb
* Mon Oct 01 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-7
fd1acb
- Drop scl macros
fd1acb
fd1acb
* Tue Sep 25 2018 Tomas Orsava <torsava@redhat.com> - 6.0.1-6
fd1acb
- Change Requires from python3 to platform-python
fd1acb
- The python3 package was renamed to platform-python
fd1acb
- Related: rhbz#1619153
fd1acb
fd1acb
* Fri Sep 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
fd1acb
- Use python3 for git-clang-format
fd1acb
fd1acb
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
fd1acb
- Fix python dependencies
fd1acb
fd1acb
* Tue Aug 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
fd1acb
- Install ld.so.conf file in the root filesystem
fd1acb
fd1acb
* Thu Aug 02 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-2
fd1acb
- Remove annobin work-around
fd1acb
fd1acb
* Wed Jul 11 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
fd1acb
- 6.0.1 Release
fd1acb
fd1acb
* Wed Apr 11 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-7
fd1acb
- Add conditionals to enable building only the clang-libs package
fd1acb
fd1acb
* Fri Apr 06 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-6
fd1acb
- Use cmake from base RHEL
fd1acb
fd1acb
* Mon Mar 19 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-5
fd1acb
- Backport r310435 from clang trunk. rhbz#1558223
fd1acb
fd1acb
* Mon Mar 19 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-4
fd1acb
- Use system gcc instead of dts.
fd1acb
fd1acb
* Tue Feb 06 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-3
fd1acb
- Backport retpoline support
fd1acb
fd1acb
* Sat Jan 20 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-2
fd1acb
- Limit number of build threads on ppc64le to avoid OOM errors
fd1acb
fd1acb
* Tue Jan 09 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
fd1acb
- 5.0.1 Release
fd1acb
fd1acb
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
fd1acb
- 4.0.1 Release.
fd1acb
fd1acb
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-15
fd1acb
- Fix Requires for clang-tools-extra
fd1acb
fd1acb
* Wed Jun 21 2017 Tom Stellard 
fd1acb
- Fix Requires for clang-tools-extra
fd1acb
fd1acb
* Tue Jun 20 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-13
fd1acb
- Drop libomp dependency on s390x
fd1acb
fd1acb
* Thu Jun 15 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-12
fd1acb
- Use libstdc++ from devtoolset-7
fd1acb
fd1acb
* Wed Jun 07 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-11
fd1acb
- Fix libomp requires
fd1acb
fd1acb
* Wed Jun 07 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-10
fd1acb
- Build for llvm-toolset-7 rename
fd1acb
fd1acb
* Tue May 30 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-9
fd1acb
- Use ld from devtoolset in clang toolchain
fd1acb
fd1acb
* Mon May 29 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-8
fd1acb
- Add dependency on libopenmp
fd1acb
fd1acb
* Thu May 25 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-7
fd1acb
- Fix check for gcc install
fd1acb
fd1acb
* Wed May 24 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
fd1acb
- Add devtoolset-6 dependency for newer libstdc++
fd1acb
fd1acb
* Fri May 12 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
fd1acb
- Add dependency on compiler-rt
fd1acb
fd1acb
* Tue May 02 2017 Tom Stellard <tstellar@redhat.com>
fd1acb
- Fix dependencies with scl
fd1acb
fd1acb
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
fd1acb
- Build with llvm-toolset-4
fd1acb
fd1acb
* Mon Mar 27 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-3
fd1acb
- Enable eh/rtti, which are required by lldb.
fd1acb
fd1acb
* Fri Mar 24 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
fd1acb
- Fix clang-tools-extra build
fd1acb
- Fix install
fd1acb
fd1acb
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
fd1acb
- clang 4.0.0 final release
fd1acb
fd1acb
* Mon Mar 20 2017 David Goerger <david.goerger@yale.edu> - 3.9.1-3
fd1acb
- add clang-tools-extra rhbz#1328091
fd1acb
fd1acb
* Thu Mar 16 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-2
fd1acb
- Enable build-id by default rhbz#1432403
fd1acb
fd1acb
* Thu Mar 02 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-1
fd1acb
- clang 3.9.1 final release
fd1acb
fd1acb
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-4
fd1acb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fd1acb
fd1acb
* Mon Nov 14 2016 Nathaniel McCallum <npmccallum@redhat.com> - 3.9.0-3
fd1acb
- Add Requires: compiler-rt to clang-libs.
fd1acb
- Without this, compiling with certain CFLAGS breaks.
fd1acb
fd1acb
* Tue Nov  1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.0-2
fd1acb
- Rebuild for new arches
fd1acb
fd1acb
* Fri Oct 14 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
fd1acb
- clang 3.9.0 final release
fd1acb
fd1acb
* Fri Jul 01 2016 Stephan Bergmann <sbergman@redhat.com> - 3.8.0-2
fd1acb
- Resolves: rhbz#1282645 add GCC abi_tag support
fd1acb
fd1acb
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
fd1acb
- clang 3.8.0 final release
fd1acb
fd1acb
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.4
fd1acb
- clang 3.8.0rc3
fd1acb
fd1acb
* Wed Feb 24 2016 Dave Airlie <airlied@redhat.com> - 3.8.0-0.3
fd1acb
- package all libs into clang-libs.
fd1acb
fd1acb
* Wed Feb 24 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
fd1acb
- enable dynamic linking of clang against llvm
fd1acb
fd1acb
* Thu Feb 18 2016 Dave Airlie <airlied@redhat.com> - 3.8.0-0.1
fd1acb
- clang 3.8.0rc2
fd1acb
fd1acb
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
fd1acb
- rebuild against latest llvm packages
fd1acb
- add BuildRequires llvm-static
fd1acb
fd1acb
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-3
fd1acb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fd1acb
fd1acb
* Thu Jan 28 2016 Dave Airlie <airlied@redhat.com> 3.7.1-2
fd1acb
- just accept clang includes moving to /usr/lib64, upstream don't let much else happen
fd1acb
fd1acb
* Thu Jan 28 2016 Dave Airlie <airlied@redhat.com> 3.7.1-1
fd1acb
- initial build in Fedora.
fd1acb
fd1acb
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
fd1acb
- initial version using cmake build system