35043e
%if 0%{?rhel}
35043e
%undefine __cmake_in_source_build
35043e
%endif
35043e
6c15a0
%bcond_with compat_build
6c15a0
6c15a0
%global maj_ver 12
6c15a0
%global min_ver 0
6c15a0
%global patch_ver 0
6c15a0
#%%global rc_ver 5
6c15a0
6c15a0
%global clang_tools_binaries \
6c15a0
	%{_bindir}/clang-apply-replacements \
6c15a0
	%{_bindir}/clang-change-namespace \
6c15a0
	%{_bindir}/clang-check \
6c15a0
	%{_bindir}/clang-doc \
6c15a0
	%{_bindir}/clang-extdef-mapping \
6c15a0
	%{_bindir}/clang-format \
6c15a0
	%{_bindir}/clang-include-fixer \
6c15a0
	%{_bindir}/clang-move \
6c15a0
	%{_bindir}/clang-offload-bundler \
6c15a0
	%{_bindir}/clang-offload-wrapper \
6c15a0
	%{_bindir}/clang-query \
6c15a0
	%{_bindir}/clang-refactor \
6c15a0
	%{_bindir}/clang-rename \
6c15a0
	%{_bindir}/clang-reorder-fields \
6c15a0
	%{_bindir}/clang-scan-deps \
6c15a0
	%{_bindir}/clang-tidy \
6c15a0
	%{_bindir}/clangd \
6c15a0
	%{_bindir}/diagtool \
6c15a0
	%{_bindir}/hmaptool \
6c15a0
	%{_bindir}/pp-trace
6c15a0
6c15a0
%global clang_binaries \
6c15a0
	%{_bindir}/clang \
6c15a0
	%{_bindir}/clang++ \
6c15a0
	%{_bindir}/clang-%{maj_ver} \
6c15a0
	%{_bindir}/clang++-%{maj_ver} \
6c15a0
	%{_bindir}/clang-cl \
6c15a0
	%{_bindir}/clang-cpp \
6c15a0
6c15a0
%if %{with compat_build}
6c15a0
%global pkg_name clang%{maj_ver}
6c15a0
# Install clang to same prefix as llvm, so that apps that use llvm-config
6c15a0
# will also be able to find clang libs.
6c15a0
%global install_prefix %{_libdir}/llvm%{maj_ver}
6c15a0
%global install_bindir %{install_prefix}/bin
6c15a0
%global install_includedir %{install_prefix}/include
6c15a0
%global install_libdir %{install_prefix}/lib
6c15a0
6c15a0
%global pkg_bindir %{install_bindir}
6c15a0
%global pkg_includedir %{install_includedir}
6c15a0
%global pkg_libdir %{install_libdir}
6c15a0
%else
6c15a0
%global pkg_name clang
6c15a0
%global install_prefix /usr
6c15a0
%global pkg_libdir %{_libdir}
6c15a0
%endif
6c15a0
6c15a0
%global build_install_prefix %{buildroot}%{install_prefix}
6c15a0
6c15a0
%ifarch ppc64le
6c15a0
# Too many threads on ppc64 systems causes OOM errors.
6c15a0
%global _smp_mflags -j8
6c15a0
%endif
6c15a0
6c15a0
%global clang_srcdir clang-%{version}%{?rc_ver:rc%{rc_ver}}.src
6c15a0
%global clang_tools_srcdir clang-tools-extra-%{version}%{?rc_ver:rc%{rc_ver}}.src
6c15a0
6c15a0
Name:		%pkg_name
6c15a0
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
cc2ffe
Release:	1.3%{?dist}
6c15a0
Summary:	A C language family front-end for LLVM
6c15a0
6c15a0
License:	NCSA
6c15a0
URL:		http://llvm.org
6c15a0
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz
6c15a0
Source3:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz.sig
6c15a0
%if %{without compat_build}
6c15a0
Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz
6c15a0
Source2:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz.sig
6c15a0
%endif
6c15a0
Source4:	tstellar-gpg-key.asc
6c15a0
6c15a0
# Patches for clang
6c15a0
Patch0:     0001-PATCH-clang-Reorganize-gtest-integration.patch
6c15a0
Patch1:     0002-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
6c15a0
Patch2:     0003-PATCH-clang-Don-t-install-static-libraries.patch
6c15a0
Patch3:     0004-PATCH-clang-Prefer-gcc-toolchains-with-libgcc_s.so-w.patch
6c15a0
Patch4:     0005-PATCH-clang-Partially-Revert-scan-view-Remove-Report.patch
6c15a0
Patch5:     0006-PATCH-clang-Allow-__ieee128-as-an-alias-to-__float12.patch
6c15a0
6c15a0
# Patches for clang-tools-extra
6c15a0
%if %{without compat_build}
6c15a0
Patch201:	0001-PATCH-clang-tools-extra-Make-clangd-CompletionModel-.patch
6c15a0
%endif
6c15a0
6c15a0
BuildRequires:	gcc
6c15a0
BuildRequires:	gcc-c++
6c15a0
BuildRequires:	cmake
6c15a0
BuildRequires:	ninja-build
6c15a0
%if %{with compat_build}
6c15a0
BuildRequires:	llvm%{maj_ver}-devel = %{version}
6c15a0
BuildRequires:	llvm%{maj_ver}-static = %{version}
6c15a0
%else
6c15a0
BuildRequires:	llvm-devel = %{version}
6c15a0
BuildRequires:	llvm-test = %{version}
6c15a0
# llvm-static is required, because clang-tablegen needs libLLVMTableGen, which
6c15a0
# is not included in libLLVM.so.
6c15a0
BuildRequires:	llvm-static = %{version}
6c15a0
BuildRequires:	llvm-googletest = %{version}
6c15a0
%endif
6c15a0
6c15a0
BuildRequires:	libxml2-devel
6c15a0
BuildRequires:	perl-generators
6c15a0
BuildRequires:	ncurses-devel
6c15a0
# According to https://fedoraproject.org/wiki/Packaging:Emacs a package
6c15a0
# should BuildRequires: emacs if it packages emacs integration files.
6c15a0
BuildRequires:	emacs
6c15a0
6c15a0
# The testsuite uses /usr/bin/lit which is part of the python3-lit package.
6c15a0
BuildRequires:	python3-lit
6c15a0
6c15a0
BuildRequires:	python3-sphinx
6c15a0
BuildRequires:	libatomic
6c15a0
6c15a0
# We need python3-devel for pathfix.py.
6c15a0
BuildRequires:	python3-devel
6c15a0
35043e
%if !0%{?rhel}
6c15a0
# For reproducible pyc file generation
6c15a0
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
6c15a0
BuildRequires: /usr/bin/marshalparser
6c15a0
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
35043e
%endif
6c15a0
6c15a0
# Needed for %%multilib_fix_c_header
6c15a0
BuildRequires:	multilib-rpm-config
6c15a0
6c15a0
# For origin certification
6c15a0
BuildRequires:	gnupg2
6c15a0
6c15a0
# scan-build uses these perl modules so they need to be installed in order
6c15a0
# to run the tests.
6c15a0
BuildRequires: perl(Digest::MD5)
6c15a0
BuildRequires: perl(File::Copy)
6c15a0
BuildRequires: perl(File::Find)
6c15a0
BuildRequires: perl(File::Path)
6c15a0
BuildRequires: perl(File::Temp)
6c15a0
BuildRequires: perl(FindBin)
6c15a0
BuildRequires: perl(Hash::Util)
6c15a0
BuildRequires: perl(lib)
6c15a0
BuildRequires: perl(Term::ANSIColor)
6c15a0
BuildRequires: perl(Text::ParseWords)
6c15a0
BuildRequires: perl(Sys::Hostname)
6c15a0
6c15a0
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
6c15a0
6c15a0
# clang requires gcc, clang++ requires libstdc++-devel
6c15a0
# - https://bugzilla.redhat.com/show_bug.cgi?id=1021645
6c15a0
# - https://bugzilla.redhat.com/show_bug.cgi?id=1158594
6c15a0
Requires:	libstdc++-devel
6c15a0
Requires:	gcc-c++
6c15a0
6c15a0
Provides:	clang(major) = %{maj_ver}
6c15a0
6c15a0
Conflicts:	compiler-rt < %{version}
6c15a0
Conflicts:	compiler-rt > %{version}
6c15a0
6c15a0
%description
6c15a0
clang: noun
6c15a0
    1. A loud, resonant, metallic sound.
6c15a0
    2. The strident call of a crane or goose.
6c15a0
    3. C-language family front-end toolkit.
6c15a0
6c15a0
The goal of the Clang project is to create a new C, C++, Objective C
6c15a0
and Objective C++ front-end for the LLVM compiler. Its tools are built
6c15a0
as libraries and designed to be loosely-coupled and extensible.
6c15a0
6c15a0
Install compiler-rt if you want the Blocks C language extension or to
6c15a0
enable sanitization and profiling options when building, and
6c15a0
libomp-devel to enable -fopenmp.
6c15a0
6c15a0
%package libs
6c15a0
Summary: Runtime library for clang
6c15a0
Requires: %{name}-resource-filesystem%{?_isa} = %{version}
6c15a0
Recommends: compiler-rt%{?_isa} = %{version}
6c15a0
# libomp-devel is required, so clang can find the omp.h header when compiling
6c15a0
# with -fopenmp.
6c15a0
Recommends: libomp-devel%{_isa} = %{version}
6c15a0
Recommends: libomp%{_isa} = %{version}
6c15a0
6c15a0
%description libs
6c15a0
Runtime library for clang.
6c15a0
6c15a0
%package devel
6c15a0
Summary: Development header files for clang
6c15a0
%if %{without compat_build}
6c15a0
Requires: %{name}%{?_isa} = %{version}-%{release}
6c15a0
# The clang CMake files reference tools from clang-tools-extra.
6c15a0
Requires: %{name}-tools-extra%{?_isa} = %{version}-%{release}
6c15a0
Requires: %{name}-libs = %{version}-%{release}
6c15a0
%endif
6c15a0
6c15a0
%description devel
6c15a0
Development header files for clang.
6c15a0
6c15a0
%package resource-filesystem
6c15a0
Summary: Filesystem package that owns the clang resource directory
6c15a0
Provides: %{name}-resource-filesystem(major) = %{maj_ver}
6c15a0
6c15a0
%description resource-filesystem
6c15a0
This package owns the clang resouce directory: $libdir/clang/$version/
6c15a0
6c15a0
%if %{without compat_build}
6c15a0
%package analyzer
6c15a0
Summary:	A source code analysis framework
6c15a0
License:	NCSA and MIT
6c15a0
BuildArch:	noarch
6c15a0
Requires:	%{name} = %{version}-%{release}
6c15a0
6c15a0
%description analyzer
6c15a0
The Clang Static Analyzer consists of both a source code analysis
6c15a0
framework and a standalone tool that finds bugs in C and Objective-C
6c15a0
programs. The standalone tool is invoked from the command-line, and is
6c15a0
intended to run in tandem with a build of a project or code base.
6c15a0
6c15a0
%package tools-extra
6c15a0
Summary:	Extra tools for clang
6c15a0
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
6c15a0
Requires:	emacs-filesystem
6c15a0
6c15a0
%description tools-extra
6c15a0
A set of extra tools built using Clang's tooling API.
6c15a0
6c15a0
# Put git-clang-format in its own package, because it Requires git
6c15a0
# and we don't want to force users to install all those dependenices if they
6c15a0
# just want clang.
6c15a0
%package -n git-clang-format
6c15a0
Summary:	Integration of clang-format for git
6c15a0
Requires:	%{name}-tools-extra = %{version}-%{release}
6c15a0
Requires:	git
6c15a0
Requires:	python3
6c15a0
6c15a0
%description -n git-clang-format
6c15a0
clang-format integration for git.
6c15a0
6c15a0
6c15a0
%package -n python3-clang
6c15a0
Summary:       Python3 bindings for clang
6c15a0
Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
6c15a0
Requires:      python3
6c15a0
%description -n python3-clang
6c15a0
%{summary}.
6c15a0
6c15a0
6c15a0
%endif
6c15a0
6c15a0
6c15a0
%prep
6c15a0
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE0}'
6c15a0
6c15a0
%if %{with compat_build}
6c15a0
%autosetup -n %{clang_srcdir} -p2
6c15a0
%else
6c15a0
6c15a0
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE1}'
6c15a0
%setup -T -q -b 1 -n %{clang_tools_srcdir}
6c15a0
%autopatch -m200 -p2
6c15a0
6c15a0
# failing test case
6c15a0
rm test/clang-tidy/checkers/altera-struct-pack-align.cpp
6c15a0
6c15a0
pathfix.py -i %{__python3} -pn \
6c15a0
	clang-tidy/tool/*.py \
6c15a0
	clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
6c15a0
6c15a0
%setup -q -n %{clang_srcdir}
6c15a0
%autopatch -M200 -p2
6c15a0
6c15a0
# failing test case
6c15a0
rm test/CodeGen/profile-filter.c
6c15a0
6c15a0
pathfix.py -i %{__python3} -pn \
6c15a0
	tools/clang-format/*.py \
6c15a0
	tools/clang-format/git-clang-format \
6c15a0
	utils/hmaptool/hmaptool \
6c15a0
	tools/scan-view/bin/scan-view
6c15a0
%endif
6c15a0
6c15a0
%build
6c15a0
6c15a0
# We run the builders out of memory on armv7 and i686 when LTO is enabled
6c15a0
%ifarch %{arm} i686
6c15a0
%define _lto_cflags %{nil}
6c15a0
%else
6c15a0
# This package does not ship any object files or static libraries, so we
6c15a0
# don't need -ffat-lto-objects.
6c15a0
%global _lto_cflags %(echo %{_lto_cflags} | sed 's/-ffat-lto-objects//')
6c15a0
%endif
6c15a0
6c15a0
# lto builds with gcc 11 fail while running the lit tests.
6c15a0
%define _lto_cflags %{nil}
6c15a0
6c15a0
%if 0%{?__isa_bits} == 64
6c15a0
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@/64/g' test/lit.cfg.py
6c15a0
%else
6c15a0
sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py
6c15a0
%endif
6c15a0
6c15a0
%ifarch s390 s390x %{arm} %ix86 ppc64le
6c15a0
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
6c15a0
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
6c15a0
%endif
6c15a0
6c15a0
# -DCMAKE_INSTALL_RPATH=";" is a workaround for llvm manually setting the
6c15a0
# rpath of libraries and binaries.  llvm will skip the manual setting
6c15a0
# if CAMKE_INSTALL_RPATH is set to a value, but cmake interprets this value
6c15a0
# as nothing, so it sets the rpath to "" when installing.
6c15a0
%cmake  -G Ninja \
6c15a0
	-DLLVM_PARALLEL_LINK_JOBS=1 \
6c15a0
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
6c15a0
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
6c15a0
	-DPYTHON_EXECUTABLE=%{__python3} \
6c15a0
	-DCMAKE_INSTALL_RPATH:BOOL=";" \
6c15a0
%ifarch s390 s390x %{arm} %ix86 ppc64le
6c15a0
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
6c15a0
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
6c15a0
%endif
6c15a0
%if %{with compat_build}
6c15a0
	-DCLANG_BUILD_TOOLS:BOOL=OFF \
6c15a0
	-DLLVM_CONFIG:FILEPATH=%{_bindir}/llvm-config-%{maj_ver}-%{__isa_bits} \
6c15a0
	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
6c15a0
	-DCLANG_INCLUDE_TESTS:BOOL=OFF \
6c15a0
%else
6c15a0
	-DCLANG_INCLUDE_TESTS:BOOL=ON \
6c15a0
	-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../%{clang_tools_srcdir} \
6c15a0
	-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
6c15a0
	-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
6c15a0
%if 0%{?__isa_bits} == 64
6c15a0
	-DLLVM_LIBDIR_SUFFIX=64 \
6c15a0
%else
6c15a0
	-DLLVM_LIBDIR_SUFFIX= \
6c15a0
%endif
6c15a0
%endif
6c15a0
	\
6c15a0
%if %{with compat_build}
6c15a0
	-DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen-%{maj_ver} \
6c15a0
%else
6c15a0
	-DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen \
6c15a0
%endif
6c15a0
	-DCLANG_ENABLE_ARCMT:BOOL=ON \
6c15a0
	-DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON \
6c15a0
	-DCLANG_INCLUDE_DOCS:BOOL=ON \
6c15a0
	-DCLANG_PLUGIN_SUPPORT:BOOL=ON \
6c15a0
	-DENABLE_LINKER_BUILD_ID:BOOL=ON \
6c15a0
	-DLLVM_ENABLE_EH=ON \
6c15a0
	-DLLVM_ENABLE_RTTI=ON \
6c15a0
	-DLLVM_BUILD_DOCS=ON \
6c15a0
	-DLLVM_ENABLE_SPHINX=ON \
6c15a0
	-DCLANG_LINK_CLANG_DYLIB=ON \
6c15a0
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
6c15a0
	\
6c15a0
	-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
6c15a0
	-DBUILD_SHARED_LIBS=OFF \
6c15a0
	-DCLANG_REPOSITORY_STRING="%{?fedora:Fedora}%{?rhel:Red Hat} %{version}-%{release}" \
6c15a0
	-DCLANG_DEFAULT_UNWINDLIB=libgcc
6c15a0
6c15a0
%cmake_build
6c15a0
6c15a0
%install
6c15a0
6c15a0
%cmake_install
6c15a0
6c15a0
%if %{with compat_build}
6c15a0
6c15a0
# Remove binaries/other files
6c15a0
rm -Rf %{buildroot}%{install_bindir}
6c15a0
rm -Rf %{buildroot}%{install_prefix}/share
6c15a0
rm -Rf %{buildroot}%{install_prefix}/libexec
6c15a0
6c15a0
# Move include files
6c15a0
mkdir -p %{buildroot}%{pkg_includedir}
6c15a0
mv  %{buildroot}/%{install_includedir}/clang %{buildroot}/%{pkg_includedir}/
6c15a0
mv  %{buildroot}/%{install_includedir}/clang-c %{buildroot}/%{pkg_includedir}/
6c15a0
6c15a0
%else
6c15a0
6c15a0
# install clang python bindings
6c15a0
mkdir -p %{buildroot}%{python3_sitelib}/clang/
6c15a0
install -p -m644 bindings/python/clang/* %{buildroot}%{python3_sitelib}/clang/
6c15a0
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/clang
6c15a0
6c15a0
# multilib fix
6c15a0
%multilib_fix_c_header --file %{_includedir}/clang/Config/config.h
6c15a0
6c15a0
# Move emacs integration files to the correct directory
6c15a0
mkdir -p %{buildroot}%{_emacs_sitestartdir}
6c15a0
for f in clang-format.el clang-rename.el clang-include-fixer.el; do
6c15a0
mv %{buildroot}{%{_datadir}/clang,%{_emacs_sitestartdir}}/$f
6c15a0
done
6c15a0
6c15a0
# remove editor integrations (bbedit, sublime, emacs, vim)
6c15a0
rm -vf %{buildroot}%{_datadir}/clang/clang-format-bbedit.applescript
6c15a0
rm -vf %{buildroot}%{_datadir}/clang/clang-format-sublime.py*
6c15a0
6c15a0
# TODO: Package html docs
6c15a0
rm -Rvf %{buildroot}%{_docdir}/clang/html
6c15a0
rm -Rvf %{buildroot}%{_datadir}/clang/clang-doc-default-stylesheet.css
6c15a0
rm -Rvf %{buildroot}%{_datadir}/clang/index.js
6c15a0
6c15a0
# TODO: What are the Fedora guidelines for packaging bash autocomplete files?
6c15a0
rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh
6c15a0
6c15a0
# Create Manpage symlinks
6c15a0
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++.1.gz
6c15a0
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang-%{maj_ver}.1.gz
6c15a0
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++-%{maj_ver}.1.gz
6c15a0
6c15a0
# Add clang++-{version} symlink
6c15a0
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
6c15a0
6c15a0
6c15a0
# Fix permission
6c15a0
chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
6c15a0
6c15a0
# create a link to clang's resource directory that is "constant" across minor
6c15a0
# version bumps
6c15a0
# this is required for packages like ccls that hardcode the link to clang's
6c15a0
# resource directory to not require rebuilds on minor version bumps
6c15a0
# Fix for bugs like rhbz#1807574
6c15a0
pushd %{buildroot}%{_libdir}/clang/
6c15a0
ln -s %{version} %{maj_ver}
6c15a0
popd
6c15a0
6c15a0
# Create sub-directories in the clang resource directory that will be
6c15a0
# populated by other packages
6c15a0
mkdir -p %{buildroot}%{_libdir}/clang/%{version}/{include,lib,share}/
6c15a0
6c15a0
%endif
6c15a0
6c15a0
# Remove clang-tidy headers.  We don't ship the libraries for these.
6c15a0
rm -Rvf %{buildroot}%{_includedir}/clang-tidy/
6c15a0
6c15a0
# Add a symlink in /usr/bin to clang-format-diff
6c15a0
ln -s %{_datadir}/clang/clang-format-diff.py %{buildroot}%{_bindir}/clang-format-diff
6c15a0
6c15a0
%check
6c15a0
%if %{without compat_build}
6c15a0
# requires lit.py from LLVM utilities
6c15a0
# FIXME: Fix failing ARM tests
6c15a0
LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %cmake_build --target check-all || \
6c15a0
%ifarch %{arm}
6c15a0
:
6c15a0
%else
6c15a0
false
6c15a0
%endif
6c15a0
6c15a0
%endif
6c15a0
6c15a0
6c15a0
%if %{without compat_build}
6c15a0
%files
6c15a0
%license LICENSE.TXT
6c15a0
%{clang_binaries}
6c15a0
%{_mandir}/man1/clang.1.gz
6c15a0
%{_mandir}/man1/clang++.1.gz
6c15a0
%{_mandir}/man1/clang-%{maj_ver}.1.gz
6c15a0
%{_mandir}/man1/clang++-%{maj_ver}.1.gz
6c15a0
%endif
6c15a0
6c15a0
%files libs
6c15a0
%if %{without compat_build}
6c15a0
%{_libdir}/clang/
6c15a0
%{_libdir}/*.so.*
6c15a0
%else
6c15a0
%{pkg_libdir}/*.so.*
6c15a0
%{pkg_libdir}/clang/%{version}
6c15a0
%endif
6c15a0
6c15a0
%files devel
6c15a0
%if %{without compat_build}
6c15a0
%{_libdir}/*.so
6c15a0
%{_includedir}/clang/
6c15a0
%{_includedir}/clang-c/
6c15a0
%{_libdir}/cmake/*
6c15a0
%dir %{_datadir}/clang/
6c15a0
%else
6c15a0
%{pkg_libdir}/*.so
6c15a0
%{pkg_includedir}/clang/
6c15a0
%{pkg_includedir}/clang-c/
6c15a0
%{pkg_libdir}/cmake/
6c15a0
%endif
6c15a0
6c15a0
%files resource-filesystem
6c15a0
%dir %{pkg_libdir}/clang/%{version}/
6c15a0
%dir %{pkg_libdir}/clang/%{version}/include/
6c15a0
%dir %{pkg_libdir}/clang/%{version}/lib/
6c15a0
%dir %{pkg_libdir}/clang/%{version}/share/
6c15a0
%if %{without compat_build}
6c15a0
%{pkg_libdir}/clang/%{maj_ver}
6c15a0
%endif
6c15a0
6c15a0
%if %{without compat_build}
6c15a0
%files analyzer
6c15a0
%{_bindir}/scan-view
6c15a0
%{_bindir}/scan-build
6c15a0
%{_libexecdir}/ccc-analyzer
6c15a0
%{_libexecdir}/c++-analyzer
6c15a0
%{_datadir}/scan-view/
6c15a0
%{_datadir}/scan-build/
6c15a0
%{_mandir}/man1/scan-build.1.*
6c15a0
6c15a0
%files tools-extra
6c15a0
%{clang_tools_binaries}
6c15a0
%{_bindir}/c-index-test
6c15a0
%{_bindir}/find-all-symbols
6c15a0
%{_bindir}/modularize
6c15a0
%{_bindir}/clang-format-diff
6c15a0
%{_mandir}/man1/diagtool.1.gz
6c15a0
%{_emacs_sitestartdir}/clang-format.el
6c15a0
%{_emacs_sitestartdir}/clang-rename.el
6c15a0
%{_emacs_sitestartdir}/clang-include-fixer.el
6c15a0
%{_datadir}/clang/clang-format.py*
6c15a0
%{_datadir}/clang/clang-format-diff.py*
6c15a0
%{_datadir}/clang/clang-include-fixer.py*
6c15a0
%{_datadir}/clang/clang-tidy-diff.py*
6c15a0
%{_datadir}/clang/run-clang-tidy.py*
6c15a0
%{_datadir}/clang/run-find-all-symbols.py*
6c15a0
%{_datadir}/clang/clang-rename.py*
6c15a0
6c15a0
%files -n git-clang-format
6c15a0
%{_bindir}/git-clang-format
6c15a0
6c15a0
%files -n python3-clang
6c15a0
%{python3_sitelib}/clang/
6c15a0
6c15a0
6c15a0
%endif
6c15a0
%changelog
cc2ffe
* Wed May 12 2021 Davide Cavalca <dcavalca@fb.com> - 12.0.0-1.3
cc2ffe
- Rebuild for llvm-12.0.0-6.3
cc2ffe
cc30da
* Sun May 09 2021 Davide Cavalca <dcavalca@fb.com> - 12.0.0-1.2
cc30da
- Rebuild for llvm-12.0.0-6.2
cc30da
35043e
* Fri May 07 2021 Davide Cavalca <dcavalca@fb.com> - 12.0.0-1.1
35043e
- Add build fixes for CentOS Stream
35043e
6c15a0
* Fri Apr 16 2021 Tom Stellard <tstellar@redhat.cm> - 12.0.0-1
6c15a0
- 12.0.0 Release
6c15a0
6c15a0
* Wed Apr 14 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-0.12.rc5
6c15a0
- Add symlink to clang-format-diff in /usr/bin
6c15a0
- rhbz#1939018
6c15a0
6c15a0
* Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.11.rc5
6c15a0
- New upstream release candidate
6c15a0
6c15a0
* Sat Apr 03 2021 sguelton@redhat.com - 12.0.0-0.10.rc4
6c15a0
- Make pyc files from python3-clang reproducible
6c15a0
6c15a0
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.9.rc4
6c15a0
- New upstream release candidate
6c15a0
6c15a0
* Wed Mar 31 2021 Jonathan Wakely <jwakely@redhat.com> - 12.0.0-0.8.rc3
6c15a0
- Rebuilt for removed libstdc++ symbols (#1937698)
6c15a0
6c15a0
* Mon Mar 15 2021 sguelton@redhat.com - 12.0.0-0.7.rc3
6c15a0
- Apply patch D97846 to fix rhbz#1934065
6c15a0
6c15a0
* Mon Mar 15 2021 Timm Bäder <tbaeder@redhat.com> 12.0.0-0.6.rc3
6c15a0
- Set CLANG_DEFAULT_UNWIND_LIB instead of using custom patch
6c15a0
- Add toolchains test to the tests.yml
6c15a0
6c15a0
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.5.rc3
6c15a0
- LLVM 12.0.0 rc3
6c15a0
6c15a0
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.4.rc2
6c15a0
- rebuilt
6c15a0
6c15a0
* Mon Mar 01 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
6c15a0
- Reapply some wrongly removed patch
6c15a0
6c15a0
* Wed Feb 24 2021 sguelton@redhat.com - 12.0.0-0.2.rc2
6c15a0
- 12.0.0-rc2 release
6c15a0
6c15a0
* Sun Feb 14 2021 sguelton@redhat.com - 12.0.0-0.1.rc1
6c15a0
- 12.0.0-rc1 release
6c15a0
6c15a0
* Tue Feb 09 2021 Tom Stellard <tstellar@redhat.com> - 11.1.0-0.5.rc2
6c15a0
- Remove some unnecessary scan-view files
6c15a0
6c15a0
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.4.rc2
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6c15a0
6c15a0
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.3.rc2
6c15a0
- 11.1.0-rc2 release
6c15a0
6c15a0
* Wed Jan 20 2021 Serge Guelton - 11.1.0-0.2.rc1
6c15a0
- rebuilt with https://reviews.llvm.org/D94941 applied.
6c15a0
6c15a0
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
6c15a0
- 11.1.0-rc1 release
6c15a0
6c15a0
* Wed Jan 06 2021 Serge Guelton - 11.0.1-4
6c15a0
- LLVM 11.0.1 final
6c15a0
6c15a0
* Sun Dec 20 2020 sguelton@redhat.com - 11.0.1-3.rc2
6c15a0
- llvm 11.0.1-rc2
6c15a0
6c15a0
* Wed Dec 16 2020 Tom Stellard <tstellar@redhat.com> - 11.0.1-2.rc1
6c15a0
- Don't build with -flto
6c15a0
6c15a0
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
6c15a0
- llvm 11.0.1-rc1
6c15a0
6c15a0
* Thu Oct 29 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-3
6c15a0
- Remove -ffat-lto-objects compiler flag
6c15a0
6c15a0
* Wed Oct 28 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-2
6c15a0
- Add clang-resource-filesystem sub-package
6c15a0
6c15a0
* Thu Oct 15 2020 sguelton@redhat.com - 11.0.0-1
6c15a0
- Fix NVR
6c15a0
6c15a0
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.7
6c15a0
- llvm 11.0.0 - final release
6c15a0
6c15a0
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.6.rc6
6c15a0
- 11.0.0-rc6
6c15a0
6c15a0
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.5.rc5
6c15a0
- 11.0.0-rc5 Release
6c15a0
6c15a0
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.4.rc3
6c15a0
- Fix NVR
6c15a0
6c15a0
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
6c15a0
- 11.0.0-rc3 Release
6c15a0
6c15a0
* Tue Sep 22 2020 sguelton@redhat.com - 11.0.0-0.3.rc2
6c15a0
- Prefer gcc toolchains with libgcc_s
6c15a0
6c15a0
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.2.rc2
6c15a0
- Normalize some doc directory locations
6c15a0
6c15a0
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.1.rc2
6c15a0
- 11.0.0-rc2 Release
6c15a0
- Use %%license macro
6c15a0
6c15a0
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
6c15a0
- Fix test failures
6c15a0
6c15a0
* Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1.rc1
6c15a0
- 11.0.0-rc1 Release
6c15a0
6c15a0
* Tue Aug 04 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-11
6c15a0
- Remove Requires: emacs-filesystem
6c15a0
6c15a0
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-10
6c15a0
- Second attempt - Rebuilt for
6c15a0
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6c15a0
6c15a0
* Tue Jul 28 2020 Jeff Law <law@redhat.com> - 10.0.0-9
6c15a0
- Disable LTO on arm and i686
6c15a0
6c15a0
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-8
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6c15a0
6c15a0
* Mon Jul 20 2020 sguelton@redhat.com - 10.0.0-7
6c15a0
- Update cmake macro usage
6c15a0
- Finalize source verification
6c15a0
6c15a0
* Fri Jun 26 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-6
6c15a0
- Add cet.h header
6c15a0
6c15a0
* Mon Jun 08 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-5
6c15a0
- Accept multiple --config options
6c15a0
6c15a0
* Wed Jun  3 2020 Dan Čermák <dan.cermak@cgc-instruments.com> - 10.0.0-4
6c15a0
- Add symlink to %%{_libdir}/clang/%%{maj_ver} for persistent access to the resource directory accross minor version bumps
6c15a0
6c15a0
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 10.0.0-3
6c15a0
- Rebuilt for Python 3.9
6c15a0
6c15a0
* Tue May 19 2020 sguelton@redhat.com - 10.0.0-2
6c15a0
- Backport ad7211df6f257e39da2e5a11b2456b4488f32a1e, see rhbz#1825593
6c15a0
6c15a0
* Thu Mar 26 2020 sguelton@redhat.com - 10.0.0-1
6c15a0
- 10.0.0 final
6c15a0
6c15a0
* Tue Mar 24 2020 sguelton@redhat.com - 10.0.0-0.11.rc6
6c15a0
- 10.0.0 rc6
6c15a0
6c15a0
* Sun Mar 22 2020 sguelton@redhat.com - 10.0.0-0.10.rc5
6c15a0
- Update git-clang-format dependency, see rhbz#1815913
6c15a0
6c15a0
* Fri Mar 20 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-0.9.rc5
6c15a0
- Add dependency on libomp-devel
6c15a0
6c15a0
* Fri Mar 20 2020 sguelton@redhat.com - 10.0.0-0.8.rc5
6c15a0
- 10.0.0 rc5
6c15a0
6c15a0
* Sat Mar 14 2020 sguelton@redhat.com - 10.0.0-0.7.rc4
6c15a0
- 10.0.0 rc4
6c15a0
6c15a0
* Thu Mar 12 2020 sguelton@redhat.com - 10.0.0-0.6.rc3
6c15a0
- Move a few files from clang to clang-tools-extra.
6c15a0
6c15a0
* Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.5.rc3
6c15a0
- 10.0.0 rc3
6c15a0
6c15a0
* Tue Feb 25 2020 sguelton@redhat.com - 10.0.0-0.4.rc2
6c15a0
- Apply -fdiscard-value-names patch.
6c15a0
6c15a0
* Mon Feb 17 2020 sguelton@redhat.com - 10.0.0-0.3.rc2
6c15a0
- Fix NVR
6c15a0
6c15a0
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.1.rc2
6c15a0
- 10.0.0 rc2
6c15a0
6c15a0
* Tue Feb 11 2020 sguelton@redhat.com - 10.0.0-0.2.rc1
6c15a0
- Explicitly conflicts with any different compiler-rt version, see rhbz#1800705
6c15a0
6c15a0
* Fri Jan 31 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-0.1.rc1
6c15a0
- Stop shipping individual component libraries
6c15a0
- https://fedoraproject.org/wiki/Changes/Stop-Shipping-Individual-Component-Libraries-In-clang-lib-Package
6c15a0
6c15a0
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
6c15a0
- 10.0.0 rc1
6c15a0
6c15a0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-3
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6c15a0
6c15a0
* Fri Jan 10 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-2
6c15a0
- Fix crash with kernel bpf self-tests
6c15a0
6c15a0
* Thu Dec 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.1-1
6c15a0
- 9.0.1 Release
6c15a0
6c15a0
* Wed Dec 11 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-3
6c15a0
- Add explicit requires for clang-libs to fix rpmdiff errors
6c15a0
6c15a0
* Tue Dec 10 2019 sguelton@redhat.com - 9.0.0-2
6c15a0
- Activate -funwind-tables on all arches, see rhbz#1655546.
6c15a0
6c15a0
* Thu Sep 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
6c15a0
- 9.0.0 Release
6c15a0
6c15a0
* Wed Sep 11 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.2.rc3
6c15a0
- Reduce debug info verbosity on ppc64le to avoid OOM errors in koji
6c15a0
6c15a0
* Thu Aug 22 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc3
6c15a0
- 9.0.0 Release candidate 3
6c15a0
6c15a0
* Tue Aug 20 2019 sguelton@redhat.com - 8.0.0-4
6c15a0
- Rebuilt for Python 3.8
6c15a0
6c15a0
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0.0-3.2
6c15a0
- Rebuilt for Python 3.8
6c15a0
6c15a0
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-3.1
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6c15a0
6c15a0
* Thu May 16 2019 sguelton@redhat.com - 8.0.0-3
6c15a0
- Fix for rhbz#1674031
6c15a0
6c15a0
* Fri Apr 12 2019 sguelton@redhat.com - 8.0.0-2
6c15a0
- Remove useless patch thanks to GCC upgrade
6c15a0
6c15a0
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
6c15a0
- 8.0.0 final
6c15a0
6c15a0
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.6.rc4
6c15a0
- 8.0.0 Release candidate 4
6c15a0
6c15a0
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.5.rc3
6c15a0
- Cleanup specfile after llvm dependency update
6c15a0
6c15a0
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.4.rc3
6c15a0
- 8.0.0 Release candidate 3
6c15a0
6c15a0
* Mon Feb 25 2019 tstellar@redhat.com - 8.0.0-0.3.rc2
6c15a0
- Fix compiling with -stdlib=libc++
6c15a0
6c15a0
* Thu Feb 21 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
6c15a0
- 8.0.0 Release candidate 2
6c15a0
6c15a0
* Sat Feb 09 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
6c15a0
- 8.0.0 Release candidate 1
6c15a0
6c15a0
* Tue Feb 05 2019 sguelton@redhat.com - 7.0.1-6
6c15a0
- Update patch for Python3 port of scan-view
6c15a0
6c15a0
* Tue Feb 05 2019 sguelton@redhat.com - 7.0.1-5
6c15a0
- Working CI test suite
6c15a0
6c15a0
* Mon Feb 04 2019 sguelton@redhat.com - 7.0.1-4
6c15a0
- Workaround gcc-9 bug when compiling bitfields
6c15a0
6c15a0
* Fri Feb 01 2019 sguelton@redhat.com - 7.0.1-3
6c15a0
- Fix uninitialized error detected by gcc-9
6c15a0
6c15a0
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6c15a0
6c15a0
* Wed Dec 19 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-2
6c15a0
- Fix for rhbz#1657544
6c15a0
6c15a0
* Tue Dec 18 2018 sguelton@redhat.com - 7.0.1-1
6c15a0
- 7.0.1
6c15a0
6c15a0
* Tue Dec 18 2018 sguelton@redhat.com - 7.0.0-10
6c15a0
- Install proper manpage symlinks for clang/clang++ versions
6c15a0
6c15a0
* Fri Dec 14 2018 sguelton@redhat.com - 7.0.0-9
6c15a0
- No longer Ignore -fstack-clash-protection option
6c15a0
6c15a0
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-8
6c15a0
- Ensure rpmlint passes on specfile
6c15a0
6c15a0
* Fri Nov 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-7
6c15a0
- Drop python2 dependency from clang-tools-extra
6c15a0
6c15a0
* Wed Nov 21 2018 sguelton@redhat.com - 7.0.0-6
6c15a0
- Prune unneeded reference to llvm-test-suite sub-package
6c15a0
6c15a0
* Mon Nov 19 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-5
6c15a0
- Run 'make check-all' instead of 'make check-clang'
6c15a0
6c15a0
* Mon Nov 19 2018 sergesanspaille <sguelton@redhat.com> - 7.0.0-4
6c15a0
- Avoid Python2 + Python3 dependency for clang-analyzer
6c15a0
6c15a0
* Mon Nov 05 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-3
6c15a0
- User helper macro to fixup config.h for multilib
6c15a0
6c15a0
* Tue Oct 02 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-2
6c15a0
- Use correct shebang substitution for python scripts
6c15a0
6c15a0
* Mon Sep 24 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
6c15a0
- 7.0.0 Release
6c15a0
6c15a0
* Wed Sep 19 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.16.rc3
6c15a0
- Move builtin headers into clang-libs sub-package
6c15a0
6c15a0
* Wed Sep 19 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.15.rc3
6c15a0
- Remove ambiguous python shebangs
6c15a0
6c15a0
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.14.rc3
6c15a0
- Move unversioned shared objects to devel package
6c15a0
6c15a0
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.13.rc3
6c15a0
- Rebuild with new llvm-devel that disables rpath on install
6c15a0
6c15a0
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.12.rc3
6c15a0
- Fix clang++-7 symlink
6c15a0
6c15a0
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.11.rc3
6c15a0
- 7.0.0-rc3 Release
6c15a0
6c15a0
* Mon Sep 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.10.rc2
6c15a0
- Drop siod from llvm-test-suite
6c15a0
6c15a0
* Fri Sep 07 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.9.rc2
6c15a0
- Drop python2 dependency from clang package
6c15a0
6c15a0
* Thu Sep 06 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.8.rc2
6c15a0
- Drop all uses of python2 from lit tests
6c15a0
6c15a0
* Sat Sep 01 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.7.rc2
6c15a0
- Add Fedora specific version string
6c15a0
6c15a0
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.6.rc2
6c15a0
- 7.0.0-rc2 Release
6c15a0
6c15a0
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc1
6c15a0
- Enable unit tests
6c15a0
6c15a0
* Fri Aug 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc1
6c15a0
- Move llvm-test-suite into a sub-package
6c15a0
6c15a0
* Fri Aug 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
6c15a0
- Recommend the same version of compiler-rt
6c15a0
6c15a0
* Wed Aug 15 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
6c15a0
- Rebuild for f30
6c15a0
6c15a0
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
6c15a0
- 7.0.0-rc1 Release
6c15a0
6c15a0
* Mon Jul 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
6c15a0
- Sync spec file with the clang6.0 package
6c15a0
6c15a0
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6c15a0
6c15a0
* Tue Jun 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
6c15a0
- 6.0.1 Release
6c15a0
6c15a0
* Wed Jun 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc2
6c15a0
- 6.0.1-rc2
6c15a0
6c15a0
* Fri May 11 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.1.rc1
6c15a0
- 6.0.1-rc1 Release
6c15a0
6c15a0
* Fri Mar 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-5
6c15a0
- Add a clang++-{version} symlink rhbz#1534098
6c15a0
6c15a0
* Thu Mar 22 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-4
6c15a0
- Use correct script for running lit tests
6c15a0
6c15a0
* Wed Mar 21 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
6c15a0
- Fix toolchain detection so we don't default to using cross-compilers:
6c15a0
  rhbz#1482491
6c15a0
6c15a0
* Mon Mar 12 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
6c15a0
- Add Provides: clang(major) rhbz#1547444
6c15a0
6c15a0
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
6c15a0
- 6.0.0 Release
6c15a0
6c15a0
* Mon Feb 12 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.6.rc2
6c15a0
- 6.0.0-rc2 Release
6c15a0
6c15a0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.5.rc1
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6c15a0
6c15a0
* Thu Feb 01 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.4.rc1
6c15a0
- Package python helper scripts for tools
6c15a0
6c15a0
* Fri Jan 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.3.rc1
6c15a0
- Ignore -fstack-clash-protection option instead of giving an error
6c15a0
6c15a0
* Fri Jan 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.2.rc1
6c15a0
- Package emacs integration files
6c15a0
6c15a0
* Wed Jan 24 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
6c15a0
- 6.0.0-rc1 Release
6c15a0
6c15a0
* Wed Jan 24 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-3
6c15a0
- Rebuild against llvm5.0 compatibility package
6c15a0
- rhbz#1538231
6c15a0
6c15a0
* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.0.1-2
6c15a0
- Update Python 2 dependency declarations to new packaging standards
6c15a0
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
6c15a0
6c15a0
* Wed Dec 20 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
6c15a0
- 5.0.1 Release
6c15a0
6c15a0
* Wed Dec 13 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-3
6c15a0
- Make compiler-rt a weak dependency and add a weak dependency on libomp
6c15a0
6c15a0
* Mon Nov 06 2017 Merlin Mathesius <mmathesi@redhat.com> - 5.0.0-2
6c15a0
- Cleanup spec file conditionals
6c15a0
6c15a0
* Mon Oct 16 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
6c15a0
- 5.0.0 Release
6c15a0
6c15a0
* Wed Oct 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 4.0.1-6
6c15a0
- python2-clang subpkg (#1490997)
6c15a0
- tools-extras: tighten (internal) -libs dep
6c15a0
- %%install: avoid cd
6c15a0
6c15a0
* Wed Aug 30 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-5
6c15a0
- Add Requires: python for git-clang-format
6c15a0
6c15a0
* Sun Aug 06 2017 Björn Esser <besser82@fedoraproject.org> - 4.0.1-4
6c15a0
- Rebuilt for AutoReq cmake-filesystem
6c15a0
6c15a0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6c15a0
6c15a0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6c15a0
6c15a0
* Fri Jun 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
6c15a0
- 4.0.1 Release.
6c15a0
6c15a0
* Fri Jun 16 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-8
6c15a0
- Enable make check-clang
6c15a0
6c15a0
* Mon Jun 12 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-7
6c15a0
- Package git-clang-format
6c15a0
6c15a0
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
6c15a0
- Generate man pages
6c15a0
6c15a0
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
6c15a0
- Ignore test-suite failures until all arches are fixed.
6c15a0
6c15a0
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
6c15a0
- Run llvm test-suite
6c15a0
6c15a0
* Mon Mar 27 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-3
6c15a0
- Enable eh/rtti, which are required by lldb.
6c15a0
6c15a0
* Fri Mar 24 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
6c15a0
- Fix clang-tools-extra build
6c15a0
- Fix install
6c15a0
6c15a0
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
6c15a0
- clang 4.0.0 final release
6c15a0
6c15a0
* Mon Mar 20 2017 David Goerger <david.goerger@yale.edu> - 3.9.1-3
6c15a0
- add clang-tools-extra rhbz#1328091
6c15a0
6c15a0
* Thu Mar 16 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-2
6c15a0
- Enable build-id by default rhbz#1432403
6c15a0
6c15a0
* Thu Mar 02 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-1
6c15a0
- clang 3.9.1 final release
6c15a0
6c15a0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-4
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6c15a0
6c15a0
* Mon Nov 14 2016 Nathaniel McCallum <npmccallum@redhat.com> - 3.9.0-3
6c15a0
- Add Requires: compiler-rt to clang-libs.
6c15a0
- Without this, compiling with certain CFLAGS breaks.
6c15a0
6c15a0
* Tue Nov  1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.0-2
6c15a0
- Rebuild for new arches
6c15a0
6c15a0
* Fri Oct 14 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
6c15a0
- clang 3.9.0 final release
6c15a0
6c15a0
* Fri Jul 01 2016 Stephan Bergmann <sbergman@redhat.com> - 3.8.0-2
6c15a0
- Resolves: rhbz#1282645 add GCC abi_tag support
6c15a0
6c15a0
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
6c15a0
- clang 3.8.0 final release
6c15a0
6c15a0
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.4
6c15a0
- clang 3.8.0rc3
6c15a0
6c15a0
* Wed Feb 24 2016 Dave Airlie <airlied@redhat.com> - 3.8.0-0.3
6c15a0
- package all libs into clang-libs.
6c15a0
6c15a0
* Wed Feb 24 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
6c15a0
- enable dynamic linking of clang against llvm
6c15a0
6c15a0
* Thu Feb 18 2016 Dave Airlie <airlied@redhat.com> - 3.8.0-0.1
6c15a0
- clang 3.8.0rc2
6c15a0
6c15a0
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
6c15a0
- rebuild against latest llvm packages
6c15a0
- add BuildRequires llvm-static
6c15a0
6c15a0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-3
6c15a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6c15a0
6c15a0
* Thu Jan 28 2016 Dave Airlie <airlied@redhat.com> 3.7.1-2
6c15a0
- just accept clang includes moving to /usr/lib64, upstream don't let much else happen
6c15a0
6c15a0
* Thu Jan 28 2016 Dave Airlie <airlied@redhat.com> 3.7.1-1
6c15a0
- initial build in Fedora.
6c15a0
6c15a0
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
6c15a0
- initial version using cmake build system