b366979
%bcond_with snapshot_build
b366979
b366979
%if %{with snapshot_build}
b366979
%{llvm_sb}
b366979
%endif
b366979
71bc065
%global toolchain clang
71bc065
c54c083
# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
c54c083
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
c54c083
%undefine _include_frame_pointers
c54c083
89c3d8e
%bcond_with compat_build
8dae109
%bcond_without check
04969fe
04969fe
%ifarch aarch64
04969fe
# Use lld on aarch64, becuase ld.bfd will occasionally fail with the error:
04969fe
# `Could not create temporary file: Too many open files`
3d9fc8e
%bcond_without linker_lld
3d9fc8e
%else
3d9fc8e
%bcond_with linker_lld
3d9fc8e
%endif
74e8e23
3d9fc8e
%global maj_ver 18
3d9fc8e
%global min_ver 1
d817535
%global patch_ver 6
f086ac5
#global rc_ver 4
b366979
b366979
%if %{with snapshot_build}
b366979
%undefine rc_ver
b366979
%global maj_ver %{llvm_snapshot_version_major}
b366979
%global min_ver %{llvm_snapshot_version_minor}
b366979
%global patch_ver %{llvm_snapshot_version_patch}
b366979
%endif
b366979
1a54a32
%global clang_version %{maj_ver}.%{min_ver}.%{patch_ver}
8d35cec
89c3d8e
%if %{with compat_build}
620fd8a
%global pkg_name clang%{maj_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.
620fd8a
%global install_prefix %{_libdir}/llvm%{maj_ver}
74e8e23
%global install_bindir %{install_prefix}/bin
74e8e23
%global install_includedir %{install_prefix}/include
74e8e23
%global install_libdir %{install_prefix}/lib
7c3f944
%global install_datadir %{install_prefix}/share
bec3936
%global install_libexecdir %{install_prefix}/libexec
bec3936
%global install_docdir %{install_datadir}/doc
74e8e23
620fd8a
%global pkg_includedir %{install_includedir}
74e8e23
%else
74e8e23
%global pkg_name clang
bec3936
%global install_prefix %{_prefix}
bec3936
%global install_bindir %{_bindir}
7c3f944
%global install_datadir %{_datadir}
074a2a7
%global install_libdir %{_libdir}
bec3936
%global install_includedir %{_includedir}
bec3936
%global install_libexecdir %{_libexecdir}
bec3936
%global install_docdir %{_docdir}
74e8e23
%endif
74e8e23
1ca4985
%ifarch ppc64le
1ca4985
# Too many threads on ppc64 systems causes OOM errors.
1ca4985
%global _smp_mflags -j8
1ca4985
%endif
1ca4985
3d9fc8e
# Try to limit memory use on i686.
3d9fc8e
%ifarch %ix86
3d9fc8e
%constrain_build -m 3072
3d9fc8e
%endif
3d9fc8e
1a54a32
%global clang_srcdir clang-%{clang_version}%{?rc_ver:rc%{rc_ver}}.src
1a54a32
%global clang_tools_srcdir clang-tools-extra-%{clang_version}%{?rc_ver:rc%{rc_ver}}.src
4058470
74e8e23
Name:		%pkg_name
b366979
Version:	%{clang_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
8ea3202
Release:	3%{?dist}
4a6eb83
Summary:	A C language family front-end for LLVM
4a6eb83
809237e
License:	Apache-2.0 WITH LLVM-exception OR NCSA
4a6eb83
URL:		http://llvm.org
b366979
%if %{with snapshot_build}
b366979
Source0:    %{llvm_snapshot_source_prefix}clang-%{llvm_snapshot_yyyymmdd}.src.tar.xz
b366979
Source1:    %{llvm_snapshot_source_prefix}clang-tools-extra-%{llvm_snapshot_yyyymmdd}.src.tar.xz
b366979
%{llvm_snapshot_extra_source_tags}
b366979
b366979
%else
1a54a32
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz
1a54a32
Source3:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_srcdir}.tar.xz.sig
1a54a32
Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz
1a54a32
Source2:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{clang_version}%{?rc_ver:-rc%{rc_ver}}/%{clang_tools_srcdir}.tar.xz.sig
6afe272
Source4:	release-keys.asc
b366979
%endif
967d1e9
%if %{without compat_build}
6afe272
Source5:	macros.%{name}
d99713b
%endif
935c2e1
# This file is still needed because We still build on F38 in the
935c2e1
# upstream-snapshot branch.
935c2e1
Source6:	clang.cfg
4a6eb83
08bee7e
# Patches for clang
b366979
Patch1:     0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
08bee7e
Patch2:     0003-PATCH-clang-Don-t-install-static-libraries.patch
c4482a5
# Workaround a bug in ORC on ppc64le.
c4482a5
# More info is available here: https://reviews.llvm.org/D159115#4641826
522fd69
Patch5:     0001-Workaround-a-bug-in-ORC-on-ppc64le.patch
efe2f45
b534a5d
# RHEL specific patches
152d45a
# Avoid unwanted dependency on python-myst-parser
152d45a
Patch101:  0009-disable-myst-parser.patch
b534a5d
add0acc
# Patches for clang-tools-extra
add0acc
# See https://reviews.llvm.org/D120301
71bc065
Patch201:   0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch
08bee7e
71bc065
BuildRequires:	clang
3d9fc8e
%if %{with linker_lld}
3d9fc8e
BuildRequires:	lld
3d9fc8e
%endif
4a6eb83
BuildRequires:	cmake
b53704a
BuildRequires:	ninja-build
fff5077
89c3d8e
%if %{with compat_build}
fff5077
%global llvm_pkg_name llvm%{maj_ver}
74e8e23
%else
fff5077
%global llvm_pkg_name llvm
bec3936
BuildRequires:  %{llvm_pkg_name}-test = %{version}
bec3936
BuildRequires:  %{llvm_pkg_name}-googletest = %{version}
fff5077
%endif
fff5077
fff5077
BuildRequires:	%{llvm_pkg_name}-devel = %{version}
ad3b6d9
# llvm-static is required, because clang-tablegen needs libLLVMTableGen, which
ad3b6d9
# is not included in libLLVM.so.
fff5077
BuildRequires:	%{llvm_pkg_name}-static = %{version}
fff5077
BuildRequires:	%{llvm_pkg_name}-cmake-utils = %{version}
74e8e23
4a6eb83
BuildRequires:	libxml2-devel
c67fd45
BuildRequires:	perl-generators
c67fd45
BuildRequires:	ncurses-devel
d0138c6
# According to https://fedoraproject.org/wiki/Packaging:Emacs a package
d0138c6
# should BuildRequires: emacs if it packages emacs integration files.
d0138c6
BuildRequires:	emacs
ce584ee
4058470
# The testsuite uses /usr/bin/lit which is part of the python3-lit package.
c67fd45
BuildRequires:	python3-lit
ce584ee
c67fd45
BuildRequires:	python3-sphinx
b534a5d
%if %{undefined rhel}
152d45a
BuildRequires:	python3-myst-parser
b534a5d
%endif
c67fd45
BuildRequires:	libatomic
c473ab9
e87e2f5
# We need python3-devel for %%py3_shebang_fix
17d1605
BuildRequires:	python3-devel
ce584ee
3f6550f
# For reproducible pyc file generation
3f6550f
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
3f6550f
BuildRequires: /usr/bin/marshalparser
bec3936
%if %{without compat_build}
3f6550f
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
993e835
%endif
3f6550f
816ea52
# Needed for %%multilib_fix_c_header
c67fd45
BuildRequires:	multilib-rpm-config
82aa4d3
82aa4d3
# For origin certification
82aa4d3
BuildRequires:	gnupg2
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
4a6eb83
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
4a6eb83
4a6eb83
# clang requires gcc, clang++ requires libstdc++-devel
4a6eb83
# - https://bugzilla.redhat.com/show_bug.cgi?id=1021645
4a6eb83
# - https://bugzilla.redhat.com/show_bug.cgi?id=1158594
4a6eb83
Requires:	libstdc++-devel
4a6eb83
Requires:	gcc-c++
4a6eb83
c67fd45
Provides:	clang(major) = %{maj_ver}
5e7e9e3
bf0177d
Conflicts:	compiler-rt < 11.0.0
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
4a6eb83
%package libs
4a6eb83
Summary: Runtime library for clang
2ad36cf
Requires: %{name}-resource-filesystem = %{version}
68eed61
Recommends: compiler-rt%{?_isa} = %{version}
7808ecb
# atomic support is not part of compiler-rt
7808ecb
Recommends: libatomic%{?_isa}
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
3389ce3
Requires: %{name}-libs = %{version}-%{release}
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}
ffe2656
Provides: clang-devel(major) = %{maj_ver}
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
ffe2656
Provides: clang-resource-filesystem(major) = %{maj_ver}
2ad36cf
BuildArch: noarch
5bff53b
5bff53b
%description resource-filesystem
2ad36cf
This package owns the clang resouce directory: lib/clang/$version/
5bff53b
4a6eb83
%package analyzer
4a6eb83
Summary:	A source code analysis framework
809237e
License:	Apache-2.0 WITH LLVM-exception OR NCSA OR 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
3169a32
%package tools-extra-devel
3169a32
Summary: Development header files for clang tools
3169a32
Requires: %{name}-tools-extra = %{version}-%{release}
3169a32
3169a32
%description tools-extra-devel
3169a32
Development header files for clang tools.
3169a32
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
bec3936
%if %{without compat_build}
b53704a
%package -n python3-clang
b53704a
Summary:       Python3 bindings for clang
be81927
Requires:      %{name}-devel%{?_isa} = %{version}-%{release}
b53704a
Requires:      python3
b53704a
%description -n python3-clang
c9eea4f
%{summary}.
52c2187
b53704a
74e8e23
%endif
c9eea4f
c9eea4f
4a6eb83
%prep
b366979
%if %{without snapshot_build}
6afe272
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE0}'
b366979
%endif
6afe272
82aa4d3
b366979
%if %{without snapshot_build}
6afe272
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE1}'
b366979
%endif
b366979
4058470
%setup -T -q -b 1 -n %{clang_tools_srcdir}
08bee7e
%autopatch -m200 -p2
cef168d
cef168d
# failing test case
71bc065
rm test/clang-tidy/checkers/altera/struct-pack-align.cpp
ce584ee
e87e2f5
%py3_shebang_fix \
e87e2f5
	clang-tidy/tool/ \
1ca4985
	clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
15d2b4b
4058470
%setup -q -n %{clang_srcdir}
b534a5d
%autopatch -M%{?!rhel:100}%{?rhel:200} -p2
efa9dd6
cef168d
# failing test case
cef168d
rm test/CodeGen/profile-filter.c
17d1605
e87e2f5
%py3_shebang_fix \
e87e2f5
	tools/clang-format/ \
15d2b4b
	tools/clang-format/git-clang-format \
fe1772d
	utils/hmaptool/hmaptool \
3dd3a6d
	tools/scan-view/bin/scan-view \
eaac7c9
	tools/scan-view/share/Reporter.py \
eaac7c9
	tools/scan-view/share/startfile.py \
a5df6c7
	tools/scan-build-py/bin/* \
a5df6c7
	tools/scan-build-py/libexec/*
David Goerger 1e780f7
4a6eb83
%build
4c025cd
3d9fc8e
# Disable lto on i686 due to memory constraints.
04969fe
%ifarch %ix86
8c1d807
%define _lto_cflags %{nil}
71bc065
%endif
8c1d807
b366979
# Disable LTO to speed up builds
b366979
%if %{with snapshot_build}
b366979
%global _lto_cflags %nil
b366979
%endif
b366979
88b9baf
%ifarch s390 s390x aarch64 %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
3d9fc8e
%if %{with linker_lld}
3d9fc8e
# TODO: Use LLVM_USE_LLD cmake option, but this doesn't seem to work with
3d9fc8e
# standalone builds.
3d9fc8e
%global build_ldflags %(echo %{build_ldflags} -fuse-ld=lld)
3d9fc8e
%endif
3d9fc8e
71bc065
# Disable dwz on aarch64, because it takes a huge amount of time to decide not to optimize things.
71bc065
%ifarch aarch64
71bc065
%define _find_debuginfo_dwz_opts %{nil}
71bc065
%endif
add0acc
54612cb
# We set CLANG_DEFAULT_PIE_ON_LINUX=OFF and PPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON to match the
54612cb
# defaults used by Fedora's GCC.
b366979
%cmake -G Ninja \
4e04207
	-DCLANG_DEFAULT_PIE_ON_LINUX=OFF \
a969e61
%if 0%{?fedora} || 0%{?rhel} > 9
54612cb
	-DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON \
54612cb
%endif
478f0a1
	-DLLVM_PARALLEL_LINK_JOBS=1 \
b486bb1
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
4a6eb83
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
b730992
	-DPYTHON_EXECUTABLE=%{__python3} \
cd6d62e
	-DCMAKE_SKIP_RPATH:BOOL=ON \
88b9baf
%ifarch s390 s390x %ix86 ppc64le
cf309ff
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
cf309ff
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
1ca4985
%endif
89c3d8e
%if %{with compat_build}
74e8e23
	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
9a88eef
	-DLLVM_CMAKE_DIR=%{install_libdir}/cmake/llvm \
74e8e23
%else
74e8e23
%if 0%{?__isa_bits} == 64
c67fd45
	-DLLVM_LIBDIR_SUFFIX=64 \
74e8e23
%else
c67fd45
	-DLLVM_LIBDIR_SUFFIX= \
74e8e23
%endif
74e8e23
%endif
bec3936
	-DCLANG_INCLUDE_TESTS:BOOL=ON \
bec3936
	-DLLVM_BUILD_UTILS:BOOL=ON \
bec3936
	-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../%{clang_tools_srcdir} \
bec3936
	-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
bec3936
	-DLLVM_LIT_ARGS="-vv" \
bec3936
	-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
4a6eb83
	\
b366979
%if %{with snapshot_build}
b366979
	-DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" \
b366979
%endif
b366979
	\
89c3d8e
%if %{with compat_build}
620fd8a
	-DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen-%{maj_ver} \
277bd76
%else
620fd8a
	-DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen \
277bd76
%endif
7c3f944
	-DLLVM_COMMON_CMAKE_UTILS=%{install_datadir}/llvm/cmake \
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 \
1ca4985
	-DCLANG_LINK_CLANG_DYLIB=ON \
c473ab9
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
4a6eb83
	\
6a62f09
	-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
03d5785
	-DBUILD_SHARED_LIBS=OFF \
4bdb177
	-DCLANG_REPOSITORY_STRING="%{?dist_vendor} %{version}-%{release}" \
b366979
	-DCLANG_RESOURCE_DIR=../lib/clang/%{maj_ver} \
152d45a
	-DCLANG_CONFIG_FILE_SYSTEM_DIR=%{_sysconfdir}/%{name}/ \
152d45a
%ifarch %{arm}
152d45a
	-DCLANG_DEFAULT_LINKER=lld \
152d45a
%endif
283f230
	-DCLANG_DEFAULT_UNWINDLIB=libgcc
4a6eb83
82aa4d3
%cmake_build
4a6eb83
4a6eb83
%install
82aa4d3
82aa4d3
%cmake_install
4a6eb83
bec3936
# Add a symlink in /usr/bin to clang-format-diff
bec3936
ln -s %{install_datadir}/clang/clang-format-diff.py %{buildroot}%{install_bindir}/clang-format-diff
74e8e23
d99713b
# File in the macros file for other packages to use.  We are not doing this
d99713b
# in the compat package, because the version macros would # conflict with
d99713b
# eachother if both clang and the clang compat package were installed together.
bec3936
%if %{without compat_build}
6afe272
install -p -m0644 -D %{SOURCE5} %{buildroot}%{_rpmmacrodir}/macros.%{name}
d99713b
sed -i -e "s|@@CLANG_MAJOR_VERSION@@|%{maj_ver}|" \
d99713b
       -e "s|@@CLANG_MINOR_VERSION@@|%{min_ver}|" \
d99713b
       -e "s|@@CLANG_PATCH_VERSION@@|%{patch_ver}|" \
d99713b
       %{buildroot}%{_rpmmacrodir}/macros.%{name}
d99713b
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
a5df6c7
# install scanbuild-py to python sitelib.
0d77a0c
mv %{buildroot}%{_prefix}/%{_lib}/{libear,libscanbuild} %{buildroot}%{python3_sitelib}
a5df6c7
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/{libear,libscanbuild}
a5df6c7
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
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
bec3936
# Fix permission
bec3936
chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
bec3936
fe4c554
# Add clang++-{version} symlink
434e918
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
434e918
bec3936
%else
bec3936
# Not sure where to put these python modules for the compat build.
bec3936
rm -Rf %{buildroot}%{install_libdir}/{libear,libscanbuild}
bec3936
bec3936
# Not sure where to put the emacs integration files for the compat build.
bec3936
rm -Rf %{buildroot}%{install_datadir}/clang/*.el
bec3936
bec3936
# Not sure what to do with man pages for the compat builds
bec3936
rm -Rf %{buildroot}%{install_prefix}/share/man/
bec3936
bec3936
# Add version suffix to binaries
bec3936
mkdir -p %{buildroot}%{_bindir}
bec3936
for f in %{buildroot}/%{install_bindir}/*; do
bec3936
  filename=`basename $f`
bec3936
  if echo $filename | grep -e '%{maj_ver}'; then
bec3936
    continue
bec3936
  fi
bec3936
  ln -s ../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename-%{maj_ver}
bec3936
done
434e918
bec3936
# Add clang++-{version} symlink
bec3936
ln -s ../../%{install_bindir}/clang++  %{buildroot}%{install_bindir}/clang++-%{maj_ver}
d870610
f2a6113
%endif
f2a6113
3ff60a0
%if 0%{?fedora} == 38
3ff60a0
# Install config file
3ff60a0
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
3ff60a0
mv %{SOURCE6} %{buildroot}%{_sysconfdir}/%{name}/%{_target_platform}.cfg
3ff60a0
%endif
3ff60a0
3d9fc8e
# Install config file for clang
3d9fc8e
%if %{maj_ver} >=18
3d9fc8e
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
8ea3202
echo "--gcc-triple=%{_target_cpu}-redhat-linux" >> %{buildroot}%{_sysconfdir}/%{name}/%{_target_platform}-clang.cfg
8ea3202
echo "--gcc-triple=%{_target_cpu}-redhat-linux" >> %{buildroot}%{_sysconfdir}/%{name}/%{_target_platform}-clang++.cfg
3d9fc8e
%endif
3d9fc8e
bec3936
# Fix permissions of scan-view scripts
bec3936
chmod a+x %{buildroot}%{install_datadir}/scan-view/{Reporter.py,startfile.py}
bec3936
bec3936
# multilib fix
bec3936
%multilib_fix_c_header --file %{install_includedir}/clang/Config/config.h
bec3936
bec3936
# remove editor integrations (bbedit, sublime, emacs, vim)
bec3936
rm -vf %{buildroot}%{install_datadir}/clang/clang-format-bbedit.applescript
bec3936
rm -vf %{buildroot}%{install_datadir}/clang/clang-format-sublime.py*
bec3936
bec3936
# TODO: Package html docs
bec3936
rm -Rvf %{buildroot}%{install_docdir}/Clang/clang/html
bec3936
rm -Rvf %{buildroot}%{install_datadir}/clang/clang-doc-default-stylesheet.css
bec3936
rm -Rvf %{buildroot}%{install_datadir}/clang/index.js
bec3936
bec3936
# TODO: What are the Fedora guidelines for packaging bash autocomplete files?
bec3936
rm -vf %{buildroot}%{install_datadir}/clang/bash-autocomplete.sh
bec3936
bec3936
5bff53b
# Create sub-directories in the clang resource directory that will be
5bff53b
# populated by other packages
2ad36cf
mkdir -p %{buildroot}%{install_prefix}/lib/clang/%{maj_ver}/{bin,include,lib,share}/
5bff53b
1382930
#Add versioned resource directory macro
1382930
mkdir -p %{buildroot}%{_rpmmacrodir}/
1382930
echo "%%clang%{maj_ver}_resource_dir %%{_prefix}/lib/clang/%{maj_ver}" >> %{buildroot}%{_rpmmacrodir}/macros.%{name}
1382930
4a6eb83
%check
8dae109
%if %{with check}
71aa74d
# Build test dependencies separately, to prevent invocations of host clang from being affected
71aa74d
# by LD_LIBRARY_PATH below.
71aa74d
%cmake_build --target clang-test-depends \
71aa74d
    ExtraToolsUnitTests ClangdUnitTests ClangIncludeCleanerUnitTests ClangPseudoUnitTests
4a6eb83
# requires lit.py from LLVM utilities
bec3936
LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C %{__cmake_builddir}
74e8e23
%endif
ce584ee
ce584ee
4a6eb83
%files
1167eb1
%license LICENSE.TXT
bec3936
%{install_bindir}/clang
bec3936
%{install_bindir}/clang++
bec3936
%{install_bindir}/clang-%{maj_ver}
bec3936
%{install_bindir}/clang++-%{maj_ver}
bec3936
%{install_bindir}/clang-cl
bec3936
%{install_bindir}/clang-cpp
bec3936
%if %{without compat_build}
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
bec3936
%else
bec3936
%{_bindir}/clang-%{maj_ver}
bec3936
%{_bindir}/clang++-%{maj_ver}
bec3936
%{_bindir}/clang-cl-%{maj_ver}
bec3936
%{_bindir}/clang-cpp-%{maj_ver}
74e8e23
%endif
4a6eb83
4a6eb83
%files libs
b366979
%{install_prefix}/lib/clang/%{maj_ver}/include/*
074a2a7
%{install_libdir}/*.so.*
a729440
%if 0%{?fedora} == 38
152d45a
%{_sysconfdir}/%{name}/%{_target_platform}.cfg
a729440
%endif
8ea3202
%{_sysconfdir}/%{name}/%{_target_platform}-clang.cfg
8ea3202
%{_sysconfdir}/%{name}/%{_target_platform}-clang++.cfg
4a6eb83
4a6eb83
%files devel
074a2a7
%{install_libdir}/*.so
bec3936
%{install_includedir}/clang/
bec3936
%{install_includedir}/clang-c/
bec3936
%{install_libdir}/cmake/*
bec3936
%{install_bindir}/clang-tblgen
bec3936
%if %{with compat_build}
bec3936
%{_bindir}/clang-tblgen-%{maj_ver}
74e8e23
%endif
bec3936
%dir %{install_datadir}/clang/
4a6eb83
5bff53b
%files resource-filesystem
2ad36cf
%dir %{install_prefix}/lib/clang/
2ad36cf
%dir %{install_prefix}/lib/clang/%{maj_ver}/
2ad36cf
%dir %{install_prefix}/lib/clang/%{maj_ver}/bin/
2ad36cf
%dir %{install_prefix}/lib/clang/%{maj_ver}/include/
2ad36cf
%dir %{install_prefix}/lib/clang/%{maj_ver}/lib/
2ad36cf
%dir %{install_prefix}/lib/clang/%{maj_ver}/share/
8e7cc4a
%{_rpmmacrodir}/macros.%{name}
8e7cc4a
8e7cc4a
4a6eb83
%files analyzer
bec3936
%{install_bindir}/scan-view
bec3936
%{install_bindir}/scan-build
bec3936
%{install_bindir}/analyze-build
bec3936
%{install_bindir}/intercept-build
bec3936
%{install_bindir}/scan-build-py
bec3936
%if %{with compat_build}
bec3936
%{_bindir}/scan-view-%{maj_ver}
bec3936
%{_bindir}/scan-build-%{maj_ver}
bec3936
%{_bindir}/analyze-build-%{maj_ver}
bec3936
%{_bindir}/intercept-build-%{maj_ver}
bec3936
%{_bindir}/scan-build-py-%{maj_ver}
bec3936
%endif
bec3936
%{install_libexecdir}/ccc-analyzer
bec3936
%{install_libexecdir}/c++-analyzer
bec3936
%{install_libexecdir}/analyze-c++
bec3936
%{install_libexecdir}/analyze-cc
bec3936
%{install_libexecdir}/intercept-c++
bec3936
%{install_libexecdir}/intercept-cc
bec3936
%{install_datadir}/scan-view/
bec3936
%{install_datadir}/scan-build/
bec3936
%if %{without compat_build}
4a6eb83
%{_mandir}/man1/scan-build.1.*
a5df6c7
%{python3_sitelib}/libear
a5df6c7
%{python3_sitelib}/libscanbuild
bec3936
%endif
a5df6c7
4a6eb83
David Goerger 1e780f7
%files tools-extra
bec3936
%{install_bindir}/amdgpu-arch
bec3936
%{install_bindir}/clang-apply-replacements
bec3936
%{install_bindir}/clang-change-namespace
bec3936
%{install_bindir}/clang-check
bec3936
%{install_bindir}/clang-doc
bec3936
%{install_bindir}/clang-extdef-mapping
bec3936
%{install_bindir}/clang-format
bec3936
%{install_bindir}/clang-include-cleaner
bec3936
%{install_bindir}/clang-include-fixer
bec3936
%{install_bindir}/clang-move
bec3936
%{install_bindir}/clang-offload-bundler
bec3936
%{install_bindir}/clang-offload-packager
bec3936
%{install_bindir}/clang-linker-wrapper
bec3936
%{install_bindir}/clang-pseudo
bec3936
%{install_bindir}/clang-query
bec3936
%{install_bindir}/clang-refactor
bec3936
%{install_bindir}/clang-rename
bec3936
%{install_bindir}/clang-reorder-fields
bec3936
%{install_bindir}/clang-repl
bec3936
%{install_bindir}/clang-scan-deps
bec3936
%{install_bindir}/clang-tidy
bec3936
%{install_bindir}/clangd
bec3936
%{install_bindir}/diagtool
bec3936
%{install_bindir}/hmaptool
bec3936
%{install_bindir}/nvptx-arch
bec3936
%{install_bindir}/pp-trace
bec3936
%{install_bindir}/c-index-test
bec3936
%{install_bindir}/find-all-symbols
bec3936
%{install_bindir}/modularize
bec3936
%{install_bindir}/clang-format-diff
bec3936
%{install_bindir}/run-clang-tidy
bec3936
%if %{with compat_build}
bec3936
%{_bindir}/amdgpu-arch-%{maj_ver}
bec3936
%{_bindir}/clang-apply-replacements-%{maj_ver}
bec3936
%{_bindir}/clang-change-namespace-%{maj_ver}
bec3936
%{_bindir}/clang-check-%{maj_ver}
bec3936
%{_bindir}/clang-doc-%{maj_ver}
bec3936
%{_bindir}/clang-extdef-mapping-%{maj_ver}
bec3936
%{_bindir}/clang-format-%{maj_ver}
bec3936
%{_bindir}/clang-include-cleaner-%{maj_ver}
bec3936
%{_bindir}/clang-include-fixer-%{maj_ver}
bec3936
%{_bindir}/clang-move-%{maj_ver}
bec3936
%{_bindir}/clang-offload-bundler-%{maj_ver}
bec3936
%{_bindir}/clang-offload-packager-%{maj_ver}
bec3936
%{_bindir}/clang-linker-wrapper-%{maj_ver}
bec3936
%{_bindir}/clang-pseudo-%{maj_ver}
bec3936
%{_bindir}/clang-query-%{maj_ver}
bec3936
%{_bindir}/clang-refactor-%{maj_ver}
bec3936
%{_bindir}/clang-rename-%{maj_ver}
bec3936
%{_bindir}/clang-reorder-fields-%{maj_ver}
bec3936
%{_bindir}/clang-repl-%{maj_ver}
bec3936
%{_bindir}/clang-scan-deps-%{maj_ver}
bec3936
%{_bindir}/clang-tidy-%{maj_ver}
bec3936
%{_bindir}/clangd-%{maj_ver}
bec3936
%{_bindir}/diagtool-%{maj_ver}
bec3936
%{_bindir}/hmaptool-%{maj_ver}
bec3936
%{_bindir}/nvptx-arch-%{maj_ver}
bec3936
%{_bindir}/pp-trace-%{maj_ver}
bec3936
%{_bindir}/c-index-test-%{maj_ver}
bec3936
%{_bindir}/find-all-symbols-%{maj_ver}
bec3936
%{_bindir}/modularize-%{maj_ver}
bec3936
%{_bindir}/clang-format-diff-%{maj_ver}
bec3936
%{_bindir}/run-clang-tidy-%{maj_ver}
bec3936
%else
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
bec3936
%endif
bec3936
%{install_datadir}/clang/clang-format.py*
bec3936
%{install_datadir}/clang/clang-format-diff.py*
bec3936
%{install_datadir}/clang/clang-include-fixer.py*
bec3936
%{install_datadir}/clang/clang-tidy-diff.py*
bec3936
%{install_datadir}/clang/run-find-all-symbols.py*
bec3936
%{install_datadir}/clang/clang-rename.py*
David Goerger 1e780f7
3169a32
%files tools-extra-devel
bec3936
%{install_includedir}/clang-tidy/
3169a32
d8d5392
%files -n git-clang-format
bec3936
%{install_bindir}/git-clang-format
bec3936
%if %{with compat_build}
bec3936
%{_bindir}/git-clang-format-%{maj_ver}
bec3936
%endif
d8d5392
bec3936
%if %{without compat_build}
b53704a
%files -n python3-clang
b53704a
%{python3_sitelib}/clang/
b53704a
c9eea4f
74e8e23
%endif
4a6eb83
%changelog
d817535
* Mon May 20 2024 Tom Stellard <tstellar@redhat.com> - 18.1.6-1
d817535
- 18.1.6 Release
d817535
8ea3202
* Tue May 14 2024 Tom Stellard <tstellar@redhat.com> - 18.1.4-3
8ea3202
- Add triple prefix to clang config files
8ea3202
a00e768
* Thu May 2 2024 Tom Stellard <tstellar@redhat.com> - 18.1.4
a00e768
- 18.1.4 Release
a00e768
882487a
* Thu Apr 18 2024 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 18.1.3-2
882487a
- Split config files
882487a
5a3b460
* Tue Apr 16 2024 Tom Stellard <tstellar@redhat.com> - 18.1.3-1
5a3b460
- 18.1.3 Release
5a3b460
1382930
* Thu Apr 04 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-3
1382930
- Add a versioned clang_resource_dir macro
1382930
ffe2656
* Thu Apr 04 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-2
ffe2656
- Fix Provides for compat-packages
ffe2656
adf7ef3
* Thu Mar 21 2024 Tom Stellrd <tstellar@redhat.com> - 18.1.2-1
adf7ef3
- 18.1.2 Release
adf7ef3
f086ac5
* Mon Mar 11 2024 Tom Stellrd <tstellar@redhat.com> - 18.1.1-1
f086ac5
- 18.1.1 Release
f086ac5
04969fe
* Fri Mar 08 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc4-3
04969fe
- Remove some LTO workarounds
04969fe
b955ce0
* Wed Feb 28 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc4-2
b955ce0
- Fix gcc triple on i686
b955ce0
3d9fc8e
* Tue Feb 27 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc4-1
3d9fc8e
- 18.0.1-rc4 Release
3d9fc8e
b2bda92
* Fri Jan 26 2024 Kefu Chai <kefu.chai@scylladb.com> - 17.0.6-6
b2bda92
- Fix the too-early instantiation of conditional "explict" by applying the patch
b2bda92
  of https://github.com/llvm/llvm-project/commit/128b3b61fe6768c724975fd1df2be0abec848cf6
b2bda92
63afbe0
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-5
63afbe0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
63afbe0
f221534
%{?llvm_snapshot_changelog_entry}
f221534
f221534
* Mon Jan 22 2024 Nikita Popov <npopov@redhat.com> - 17.0.6-4
f221534
- Fix build with GCC 14 on ARM. Fix rhbz#2259254.
f221534
cdad081
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-3
cdad081
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
cdad081
Jeremy Newton 46db673
* Mon Dec 18 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 17.0.6-2
Jeremy Newton 46db673
- Add clang-devel(major) provides
Jeremy Newton 46db673
d4938d5
* Tue Nov 28 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-1
d4938d5
- Update to LLVM 17.0.6
d4938d5
627ccea
* Tue Nov 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.5-1
627ccea
- Update to LLVM 17.0.5
627ccea
2e43f86
* Wed Nov 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.4-1
2e43f86
- Update to LLVM 17.0.4
2e43f86
469438d
* Tue Oct 17 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.3-1
469438d
- Update to LLVM 17.0.3
469438d
efe2f45
* Mon Oct 09 2023 Timm Bäder <tbaeder@redhat.com> - 17.0.2-2
efe2f45
- Backport upstream fixes for https://issues.redhat.com/browse/RHEL-1650
efe2f45
c3ec280
* Wed Oct 04 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.2-1
c3ec280
- Update to LLVM 17.0.2
c3ec280
522fd69
* Sat Sep 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.1-1
522fd69
- Update to LLVM 17.0.1
522fd69
7ca2731
* Tue Sep 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc4-4
7ca2731
- Re-add dwarf4 patch. Fix rhbz#2239619.
7ca2731
8e7cc4a
* Tue Sep 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc4-3
8e7cc4a
- Move macros.clang to resource-filesystem
8e7cc4a
2ad36cf
* Mon Sep 18 2023 Alessandro Astone <ales.astone@gmail.com> - 17.0.0~rc4-2
2ad36cf
- Fix resource-filesystem after https://fedoraproject.org/wiki/Changes/LLVM-17
2ad36cf
4d5309e
* Wed Sep 06 2023 Tom Stellard <tstellar@redhat.com> - 17.0.0~rc3-2
4d5309e
- Drop dwarf4 patch in favor of config files
4d5309e
c4482a5
* Tue Sep 05 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc4-1
c4482a5
- Update to LLVM 17.0.0 RC4
c4482a5
e81bc4e
* Wed Aug 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc3-1
e81bc4e
- Update to LLVM 17.0.0 RC3
e81bc4e
a399e92
* Mon Aug 21 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc2-1
a399e92
- Update to LLVM 17.0.0 RC2
a399e92
b366979
* Tue Aug 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-1
b366979
- Update to LLVM 17.0.0 RC1
b366979
419d05e
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.6-3
419d05e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
419d05e
461ef15
* Wed Jul 12 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-2
461ef15
- Fix rhbz#2221585
461ef15
30d8eed
* Fri Jun 16 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-1
30d8eed
- Update to LLVM 16.0.6
30d8eed
ff33483
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 16.0.5-4
ff33483
- Rebuilt for Python 3.12
ff33483
7c3f944
* Thu Jun 15 2023 Nikita Popov <npopov@redhat.com> - 16.0.5-3
7c3f944
- Use llvm-cmake-utils package
7c3f944
ec9fa02
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 16.0.5-2
ec9fa02
- Rebuilt for Python 3.12
ec9fa02
efb4b42
* Tue Jun 06 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
efb4b42
- Update to LLVM 16.0.5
efb4b42
92d3782
* Fri May 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.4-1
92d3782
- Update to LLVM 16.0.4
92d3782
22846ba
* Mon May 15 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-2
22846ba
- Remove patch for ppc64le triple in favor of https://reviews.llvm.org/D149746
22846ba
90664d8
* Tue May 09 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-1
90664d8
- Update to LLVM 16.0.3
90664d8
f6ef7a1
* Wed Apr 26 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.2-1
f6ef7a1
- Update to LLVM 16.0.2
f6ef7a1
99fab00
* Wed Apr 12 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
99fab00
- Update to LLVM 16.0.1
99fab00
1ed3539
* Wed Apr 12 2023 Timm Bäder <tbaeder@redhat.com> - 16.0.0-3
1ed3539
- Use correct source for clang.macros file
1ed3539
1903e54
* Thu Mar 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-2
1903e54
- Remove unnecessary patch and macro
1903e54
914aca4
* Mon Mar 20 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
914aca4
- Update to LLVM 16.0.0
914aca4
daaf0ad
* Thu Mar 16 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-2
daaf0ad
- Fix tests with the right triple
daaf0ad
f419afe
* Tue Mar 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-1
f419afe
- Update to LLVM 16.0.0 RC4
f419afe
4cb2bd6
* Tue Mar 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-2
4cb2bd6
- Fix RPM macro clang_resource_dir
4cb2bd6
1bafe64
* Thu Feb 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-1
1bafe64
- Update to LLVM 16.0.0 RC3
1bafe64
809237e
* Thu Jan 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 15.0.7-3
809237e
- Update license to SPDX identifiers.
809237e
- Include the Apache license adopted in 2019.
809237e
4d3ffb7
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.7-2
4d3ffb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
4d3ffb7
26eb3b0
* Thu Jan 12 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-1
26eb3b0
- Update to LLVM 15.0.7
26eb3b0
26eb3b0
* Thu Jan 12 2023 Nikita Popov <npopov@redhat.com> - 15.0.6-5
d59ff31
- Fix resource-filesystem ownership conflict
d59ff31
c54c083
* Mon Jan 09 2023 Tom Stellard <tstellar@redhat.com> - 15.0.6-4
c54c083
- Omit frame pointers when building
c54c083
be81927
* Wed Dec 21 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-3
be81927
- Add clang-devel dep to python3-clang
be81927
daa332d
* Mon Dec 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-2
daa332d
- Backport patches for ucrt64 toolchain detection
daa332d
e132ea8
* Mon Dec 05 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-1
e132ea8
- Update to LLVM 15.0.6
e132ea8
abec3da
* Thu Nov 03 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-1
abec3da
- Update to LLVM 15.0.4
abec3da
54612cb
* Wed Oct 19 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-6
54612cb
- Enable ieeelongdouble for ppc64le, fix rhbz#2136099
54612cb
4e04207
* Thu Oct 13 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-5
4e04207
- Default to non-pie, fix rhbz#2134146
4e04207
3169a32
* Wed Oct 05 2022 sguelton@redhat.com - 15.0.0-4
3169a32
- Package clang-tidy headers in clang-tools-extra-devel, fix rhbz#2123479
3169a32
14e25ec
* Thu Sep 22 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-3
14e25ec
- Add patch for inline builtins with asm label
14e25ec
df64681
* Sat Sep 17 2022 sguelton@redhat.com - 15.0.0-3
df64681
- Improve integration of llvm's libunwind
df64681
668f77d
* Wed Sep 14 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2
668f77d
- Downgrade implicit int and implicit function declaration to warning only
668f77d
71bc065
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
71bc065
- Update to LLVM 15.0.0
71bc065
7808ecb
* Mon Aug 29 2022 sguelton@redhat.com - 14.0.5-7
7808ecb
- Add a Recommends on libatomic, see rhbz#2118592
7808ecb
2b8dcb4
* Wed Aug 10 2022 Nikita Popov <npopov@redhat.com> - 14.0.5-6
2b8dcb4
- Revert powerpc -mabi=ieeelongdouble default
2b8dcb4
71bc065
* Thu Aug 04 2022 Tom Stellard <tstellar@redhat.com> - 14.0.5-5
2efd3e3
- Re-enable ieee128 as the default long double format on ppc64le
2efd3e3
4bdb177
* Thu Jul 28 2022 Amit Shah <amitshah@fedoraproject.org> - 14.0.5-4
4bdb177
- Use the dist_vendor macro to identify the distribution
4bdb177
0ca250e
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.5-3
0ca250e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
0ca250e
e263579
* Thu Jun 30 2022 Miro Hrončok <mhroncok@redhat.com> - 14.0.5-2
e263579
- Revert "Use the ieee128 format for long double on ppc64le" until rhbz#2100546 is fixed
e263579
a679a44
* Tue Jun 14 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
a679a44
- Update to 14.0.5
a679a44
561ebf3
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 14.0.0-4
561ebf3
- Rebuilt for Python 3.11
561ebf3
27327ff
* Thu May 19 2022 Tom Stellard <tstellar@redhat.com> - 14.0.0-3
27327ff
- Use the ieee128 format for long double on ppc64le
27327ff
Mystro256 c00fbc7
* Mon Apr 04 2022 Jeremy Newton <alexjnewt AT hotmail DOT com> - 14.0.0-2
Mystro256 c00fbc7
- Add patch for HIP (cherry-picked from llvm trunk, to be LLVM15)
Mystro256 c00fbc7
add0acc
* Wed Mar 23 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
add0acc
- Update to 14.0.0
add0acc
eaac7c9
* Wed Feb 16 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-2
eaac7c9
- Fix some rpmlinter errors
eaac7c9
563751c
* Thu Feb 03 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1
563751c
- Update to LLVM 13.0.1 final
563751c
aecb4c8
* Tue Feb 01 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc3-1
aecb4c8
- Update to LLVM 13.0.1rc3
aecb4c8
f0fcd73
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.1~rc2-2
f0fcd73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f0fcd73
2932468
* Fri Jan 14 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc2-1
2932468
- Update to LLVM 13.0.1rc2
2932468
5b7b147
* Wed Jan 12 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc1-1
5b7b147
- Update to LLVM 13.0.1rc1
5b7b147
6699b0a
* Thu Oct 28 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-5
6699b0a
- Make lld the default linker on arm
6699b0a
a6f7984
* Wed Oct 27 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-4
bf0177d
- Remove Conflicts: compiler-rt for newer versions of compiler-rt
bf0177d
fde900e
* Wed Oct 06 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-3
fde900e
- Fix gcc detection with redhat triples
fde900e
2fb038f
* Tue Oct 05 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-2
2fb038f
- Drop abi_revision from soname
2fb038f
bfd11a3
* Fri Oct 01 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
bfd11a3
- 13.0.0 Release
bfd11a3
3752a31
* Sat Sep 18 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-5
3752a31
- 13.0.0-rc3 Release
3752a31
8dae109
* Tue Sep 14 2021 Konrad Kleine <kkleine@redhat.com> - 13.0.0~rc1-4
8dae109
- Add --without=check option
8dae109
6f28841
* Fri Sep 10 2021 sguelton@redhat.com - 13.0.0~rc1-3
6f28841
- Apply scan-build-py intergation patch
6f28841
d99713b
* Thu Sep 09 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-2
d99713b
- Add macros.clang file
d99713b
a5df6c7
* Fri Aug 06 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
a5df6c7
- 13.0.0-rc1 Release
a5df6c7
f2a6113
* Thu Jul 22 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-3
f2a6113
- Fix compat build
f2a6113
c5f66f8
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
c5f66f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
c5f66f8
236196a
* Tue Jul 13 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
236196a
- 12.0.1 Release
236196a
3dd3a6d
* Fri Jul 09 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc3-2
3dd3a6d
- Fix ambiguous python shebangs
3dd3a6d
2bf74be
* Wed Jun 30 2021 Tom Stellard <tstellar@redhat.com> - clang-12.0.1~rc3-1
2bf74be
- 12.0.1-rc3 Release
2bf74be
8ef0cdb
* Tue Jun 08 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-3
8ef0cdb
- Only enable -funwind-tables by default on Fedora arches
8ef0cdb
696be3e
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 12.0.1~rc1-2
696be3e
- Rebuilt for Python 3.10
696be3e
1a54a32
* Thu May 27 2021 Tom Stellard <tstellar@redhat.com> - clang-12.0.1~rc1-1
1a54a32
- 12.0.1-rc1 Release
1a54a32
93869e0
* Tue May 18 2021 sguelton@redhat.com - 12.0.0-2
93869e0
- Use the alternative-managed version of llvm-config
93869e0
81370f3
* Fri Apr 16 2021 Tom Stellard <tstellar@redhat.cm> - 12.0.0-1
81370f3
- 12.0.0 Release
81370f3
e8cbe82
* Wed Apr 14 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-0.12.rc5
e8cbe82
- Add symlink to clang-format-diff in /usr/bin
e8cbe82
- rhbz#1939018
e8cbe82
56c57e4
* Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.11.rc5
56c57e4
- New upstream release candidate
56c57e4
3f6550f
* Sat Apr 03 2021 sguelton@redhat.com - 12.0.0-0.10.rc4
3f6550f
- Make pyc files from python3-clang reproducible
3f6550f
e1a8750
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.9.rc4
e1a8750
- New upstream release candidate
e1a8750
b4f38b0
* Wed Mar 31 2021 Jonathan Wakely <jwakely@redhat.com> - 12.0.0-0.8.rc3
b4f38b0
- Rebuilt for removed libstdc++ symbols (#1937698)
b4f38b0
c1e69a3
* Mon Mar 15 2021 sguelton@redhat.com - 12.0.0-0.7.rc3
c1e69a3
- Apply patch D97846 to fix rhbz#1934065
c1e69a3
283f230
* Mon Mar 15 2021 Timm Bäder <tbaeder@redhat.com> 12.0.0-0.6.rc3
283f230
- Set CLANG_DEFAULT_UNWIND_LIB instead of using custom patch
283f230
- Add toolchains test to the tests.yml
283f230
6fb3a46
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.5.rc3
6fb3a46
- LLVM 12.0.0 rc3
6fb3a46
bfcdcf4
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.4.rc2
bfcdcf4
- rebuilt
bfcdcf4
333b956
* Mon Mar 01 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
333b956
- Reapply some wrongly removed patch
333b956
52abd39
* Wed Feb 24 2021 sguelton@redhat.com - 12.0.0-0.2.rc2
52abd39
- 12.0.0-rc2 release
52abd39
cef168d
* Sun Feb 14 2021 sguelton@redhat.com - 12.0.0-0.1.rc1
cef168d
- 12.0.0-rc1 release
cef168d
cef168d
* Tue Feb 09 2021 Tom Stellard <tstellar@redhat.com> - 11.1.0-0.5.rc2
efa9dd6
- Remove some unnecessary scan-view files
efa9dd6
c631efb
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.4.rc2
c631efb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c631efb
58487a9
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.3.rc2
58487a9
- 11.1.0-rc2 release
58487a9
a60f8bc
* Wed Jan 20 2021 Serge Guelton - 11.1.0-0.2.rc1
a60f8bc
- rebuilt with https://reviews.llvm.org/D94941 applied.
a60f8bc
81f9d35
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
81f9d35
- 11.1.0-rc1 release
81f9d35
a0ab815
* Wed Jan 06 2021 Serge Guelton - 11.0.1-4
a0ab815
- LLVM 11.0.1 final
a0ab815
42917e7
* Sun Dec 20 2020 sguelton@redhat.com - 11.0.1-3.rc2
42917e7
- llvm 11.0.1-rc2
42917e7
8c1d807
* Wed Dec 16 2020 Tom Stellard <tstellar@redhat.com> - 11.0.1-2.rc1
8c1d807
- Don't build with -flto
8c1d807
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