be655c4
# Components skipped by default:
de5c3ae
%bcond_with doxygen
de5c3ae
be655c4
# Components built by default:
be655c4
%bcond_without clang
be655c4
%bcond_without crt
b8f7dc4
be655c4
# Components enabled if supported by target arch:
be655c4
%ifnarch s390 s390x sparc64
be655c4
  %bcond_without ocaml
be655c4
%else
434321d
  %bcond_with ocaml
be655c4
%endif
be655c4
%ifarch %ix86 x86_64
be655c4
  %bcond_without gold
434321d
%else
be655c4
  %bcond_with gold
434321d
%endif
Kyle McMartin 78ab519
# lldb not ported to anything but x86 so far.
Kyle McMartin 78ab519
%ifarch x86_64 %{ix86}
53ecfe1
  %bcond_without lldb
53ecfe1
%else
53ecfe1
  %bcond_with lldb
53ecfe1
%endif
53ecfe1
434321d
be655c4
# Documentation install path
230d47c
%if 0%{?fedora} < 20
be655c4
  %global llvmdocdir() %{_docdir}/%1-%{version}
0e3ec48
%else
be655c4
  %global llvmdocdir() %{_docdir}/%1
0b697ba
%endif
0b697ba
bf2cfe2
#global prerel rc3
bf2cfe2
%global downloadurl http://llvm.org/%{?prerel:pre-}releases/%{version}%{?prerel:/%{prerel}}
be655c4
fc7190b
Name:           llvm
bf2cfe2
Version:        3.4
18fe8ca
Release:        10%{?dist}
fc7190b
Summary:        The Low Level Virtual Machine
fc7190b
fc7190b
Group:          Development/Languages
fc7190b
License:        NCSA
fc7190b
URL:            http://llvm.org/
dcd073e
be655c4
# source archives
18fe8ca
Source0:	http://llvm.org/releases/3.4.2/llvm-3.4.2.src.tar.gz
18fe8ca
Source1:	http://llvm.org/releases/3.4.2/cfe-3.4.2.src.tar.gz
bf2cfe2
Source2:        %{downloadurl}/compiler-rt-%{version}%{?prerel}.src.tar.gz
bf2cfe2
Source3:        %{downloadurl}/lldb-%{version}%{?prerel}.src.tar.gz
23fedaf
be655c4
# multilib fixes
be655c4
Source10:       llvm-Config-config.h
be655c4
Source11:       llvm-Config-llvm-config.h
97e156a
ad1778b
# sync with release_34@209031
18fe8ca
#Patch1:		0001-Merging-r207990.patch
18fe8ca
#Patch2:		0002-Merging-r208721.patch
18fe8ca
#Patch3:		0003-Merging-r208501.patch
18fe8ca
#Patch4:		0004-Merging-r208908.patch
bb18301
ad1778b
# patches
ad1778b
Patch11:         0001-data-install-preserve-timestamps.patch
ad1778b
Patch12:         0002-linker-flags-speedup-memory.patch
3f23b32
2bdca5d
# sledgehammer to default to hard-float on arm
2bdca5d
Patch20:	clang-3.4-arm-hard-float.patch
2bdca5d
bc07a16
# http://llvm.org/bugs/attachment.cgi?id=12586
bc07a16
Patch22:	pr12586.patch
bc07a16
fc7190b
BuildRequires:  bison
ab1203a
BuildRequires:  chrpath
fc7190b
BuildRequires:  flex
fc7190b
BuildRequires:  groff
a5a420c
BuildRequires:  libffi-devel
fc7190b
BuildRequires:  libtool-ltdl-devel
0b697ba
%if %{with gold}
0b697ba
BuildRequires:  binutils-devel
0b697ba
%endif
434321d
%if %{with ocaml}
fc7190b
BuildRequires:  ocaml-ocamldoc
434321d
%endif
283a960
BuildRequires:  ncurses-devel
cfc53b6
BuildRequires:  zip
565c64d
# for DejaGNU test suite
48b530b
BuildRequires:  dejagnu tcl-devel python
c73f9c2
# for doxygen documentation
de5c3ae
%if %{with doxygen}
fc7190b
BuildRequires:  doxygen graphviz
b8f7dc4
%endif
30312b5
# pod2man moved to perl-podlators in F19
30312b5
BuildRequires:  %{_bindir}/pod2man
420ce43
Requires:       llvm-libs%{?_isa} = %{version}-%{release}
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%description
Bryan O'Sullivan d291b49
LLVM is a compiler infrastructure designed for compile-time,
Bryan O'Sullivan d291b49
link-time, runtime, and idle-time optimization of programs from
Bryan O'Sullivan d291b49
arbitrary programming languages.  The compiler infrastructure includes
Bryan O'Sullivan d291b49
mirror sets of programming tools as well as libraries with equivalent
Bryan O'Sullivan d291b49
functionality.
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%package devel
fc7190b
Summary:        Libraries and header files for LLVM
fc7190b
Group:          Development/Languages
420ce43
Requires:       %{name}%{?_isa} = %{version}-%{release}
d9bb825
Requires:       libffi-devel
fc7190b
Requires:       libstdc++-devel >= 3.4
283a960
Requires:       ncurses-devel
a5a420c
Requires(posttrans): /usr/sbin/alternatives
a5a420c
Requires(postun):    /usr/sbin/alternatives
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%description devel
Bryan O'Sullivan d291b49
This package contains library and header files needed to develop new
Bryan O'Sullivan d291b49
native programs that use the LLVM infrastructure.
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%package doc
fc7190b
Summary:        Documentation for LLVM
c19d461
Group:          Documentation
27c0ebc
BuildArch:      noarch
719d6b0
Requires:       %{name} = %{version}-%{release}
be655c4
# might seem redundant, but needed to kill off the old arch-ed -doc subpackage
bda980e
Obsoletes:      %{name}-doc < %{version}-%{release}
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%description doc
Bryan O'Sullivan d291b49
Documentation for the LLVM compiler infrastructure.
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
a8c599f
%package libs
a8c599f
Summary:        LLVM shared libraries
a8c599f
Group:          System Environment/Libraries
ad1778b
%if 0%{?fedora} > 20
Rex Dieter 668585c
## retire OpenGTL/libQtGTL here
ad1778b
Obsoletes: OpenGTL < 0.9.18-50
ad1778b
Obsoletes: OpenGTL-libs < 0.9.18-50
ad1778b
Obsoletes: OpenGTL-devel < 0.9.18-50
ad1778b
Obsoletes: libQtGTL < 0.9.3-50
ad1778b
Obsoletes: libQtGTL-devel < 0.9.3-50
ad1778b
%endif
a8c599f
a8c599f
%description libs
a8c599f
Shared libraries for the LLVM compiler infrastructure.
a8c599f
a8c599f
97e156a
%package static
97e156a
Summary:	LLVM static libraries
97e156a
Group:		Development/Languages
97e156a
Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
97e156a
97e156a
%description static
97e156a
Static libraries for the LLVM compiler infrastructure.  Not recommended
97e156a
for general consumption.
97e156a
97e156a
de5c3ae
%if %{with clang}
c19d461
%package -n clang
64041e3
Summary:        A C language family front-end for LLVM
c6833e1
License:        NCSA
fc7190b
Group:          Development/Languages
420ce43
Requires:       llvm%{?_isa} = %{version}-%{release}
de5c3ae
# clang requires gcc, clang++ requires libstdc++-devel
be655c4
Requires:       libstdc++-devel
ccf33f4
# remove clang-doc pacakge
ccf33f4
Obsoletes:      clang-doc < %{version}-%{release}
Bryan O'Sullivan d291b49
c19d461
%description -n clang
c6833e1
clang: noun
c6833e1
    1. A loud, resonant, metallic sound.
c6833e1
    2. The strident call of a crane or goose.
c6833e1
    3. C-language family front-end toolkit.
Bryan O'Sullivan d291b49
c6833e1
The goal of the Clang project is to create a new C, C++, Objective C
c19d461
and Objective C++ front-end for the LLVM compiler. Its tools are built
64041e3
as libraries and designed to be loosely-coupled and extensible.
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
216ddcf
%package -n clang-devel
216ddcf
Summary:        Header files for clang
216ddcf
Group:          Development/Languages
420ce43
Requires:       clang%{?_isa} = %{version}-%{release}
216ddcf
216ddcf
%description -n clang-devel
216ddcf
This package contains header files for the Clang compiler.
216ddcf
216ddcf
c19d461
%package -n clang-analyzer
8f6b35f
Summary:        A source code analysis framework
8f6b35f
License:        NCSA
8f6b35f
Group:          Development/Languages
7130989
BuildArch:      noarch
7130989
Requires:       clang = %{version}-%{release}
8f6b35f
# not picked up automatically since files are currently not instaled
8f6b35f
# in standard Python hierarchies yet
8f6b35f
Requires:       python
8f6b35f
c19d461
%description -n clang-analyzer
8f6b35f
The Clang Static Analyzer consists of both a source code analysis
8f6b35f
framework and a standalone tool that finds bugs in C and Objective-C
8f6b35f
programs. The standalone tool is invoked from the command-line, and is
8f6b35f
intended to run in tandem with a build of a project or code base.
8f6b35f
194b08b
%endif
c19d461
be655c4
%if %{with lldb}
be655c4
%package -n lldb
be655c4
Summary:        Next generation high-performance debugger
be655c4
License:        NCSA
be655c4
Group:          Development/Languages
be655c4
Requires:       llvm%{?_isa} = %{version}-%{release}
be655c4
BuildRequires:  swig
be655c4
BuildRequires:  libedit-devel
be655c4
BuildRequires:  python-devel
be655c4
be655c4
%description -n lldb
be655c4
LLDB is a next generation, high-performance debugger. It is built as a set
be655c4
of reusable components which highly leverage existing libraries in the
be655c4
larger LLVM Project, such as the Clang expression parser and LLVM
be655c4
disassembler.
eb791e9
eb791e9
%package -n lldb-devel
eb791e9
Summary:        Header files for LLDB
eb791e9
Group:          Development/Languages
eb791e9
Requires:       lldb%{?_isa} = %{version}-%{release}
eb791e9
eb791e9
%description -n lldb-devel
eb791e9
This package contains header files for the LLDB debugger.
be655c4
%endif
c19d461
de5c3ae
%if %{with doxygen}
Bryan O'Sullivan d291b49
%package apidoc
fc7190b
Summary:        API documentation for LLVM
fc7190b
Group:          Development/Languages
c73f9c2
BuildArch:      noarch
c73f9c2
Requires:       %{name}-doc = %{version}-%{release}
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%description apidoc
Bryan O'Sullivan d291b49
API documentation for the LLVM compiler infrastructure.
c73f9c2
c73f9c2
de5c3ae
%if %{with clang}
c73f9c2
%package -n clang-apidoc
c73f9c2
Summary:        API documentation for Clang
c73f9c2
Group:          Development/Languages
c73f9c2
BuildArch:      noarch
c73f9c2
c73f9c2
c7b1517
%description -n clang-apidoc
c73f9c2
API documentation for the Clang compiler.
b8f7dc4
%endif
194b08b
%endif
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
434321d
%if %{with ocaml}
fc7190b
%package        ocaml
fc7190b
Summary:        OCaml binding for LLVM
fc7190b
Group:          Development/Libraries
420ce43
Requires:       %{name}%{?_isa} = %{version}-%{release}
fc7190b
Requires:       ocaml-runtime
Bryan O'Sullivan 03bad00
fc7190b
%description    ocaml
Bryan O'Sullivan 03bad00
OCaml binding for LLVM.
Bryan O'Sullivan 03bad00
Bryan O'Sullivan 03bad00
Bryan O'Sullivan 03bad00
%package        ocaml-devel
fc7190b
Summary:        Development files for %{name}-ocaml
fc7190b
Group:          Development/Libraries
4ac733a
Requires:       %{name}-static%{?_isa} = %{version}-%{release}
420ce43
Requires:       %{name}-ocaml%{?_isa} = %{version}-%{release}
160b755
Requires:       ocaml
Bryan O'Sullivan 03bad00
fc7190b
%description    ocaml-devel
Bryan O'Sullivan 03bad00
The %{name}-ocaml-devel package contains libraries and signature files
Bryan O'Sullivan 03bad00
for developing applications that use %{name}-ocaml.
Bryan O'Sullivan 03bad00
Bryan O'Sullivan 03bad00
c6833e1
%package ocaml-doc
c6833e1
Summary:        Documentation for LLVM's OCaml binding
c6833e1
Group:          Documentation
c73f9c2
BuildArch:      noarch
c6833e1
Requires:       %{name}-ocaml = %{version}-%{release}
c6833e1
c6833e1
%description ocaml-doc
c6833e1
HTML documentation for LLVM's OCaml binding.
434321d
%endif
c6833e1
c6833e1
Bryan O'Sullivan d291b49
%prep
18fe8ca
%setup -q %{?with_clang:-a1} %{?with_crt:-a2} %{?with_lldb:-a3} -n llvm-3.4.2.src
be655c4
rm -rf tools/clang tools/lldb projects/compiler-rt
de5c3ae
%if %{with clang}
18fe8ca
mv cfe-*/ tools/clang
be655c4
%endif
be655c4
%if %{with crt}
bf2cfe2
mv compiler-rt-%{version} projects/compiler-rt
be655c4
%endif
be655c4
%if %{with lldb}
bf2cfe2
mv lldb-%{version} tools/lldb
194b08b
%endif
Bryan O'Sullivan d291b49
ad1778b
%patch11 -p1
ad1778b
%patch12 -p1
2bdca5d
%if %{with clang}
2bdca5d
%patch20 -p1
2bdca5d
%endif
bc07a16
%patch22 -p1
97e156a
ab1203a
# fix library paths
be655c4
sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' ./configure
ab1203a
sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}/%{name}|g' Makefile.config.in
ab1203a
sed -i 's|/lib\>|/%{_lib}/%{name}|g' tools/llvm-config/llvm-config.cpp
09ee2ab
Bryan O'Sullivan d291b49
%build
94fba1f
# clang is lovely and all, but fedora builds with gcc
2f5517c
export CC=gcc
2f5517c
export CXX=c++
c73f9c2
%configure \
c6833e1
  --libdir=%{_libdir}/%{name} \
be655c4
  --disable-polly \
be655c4
  --disable-libcpp \
be655c4
  --enable-cxx11 \
be655c4
  --enable-clang-arcmt \
be655c4
  --enable-clang-static-analyzer \
be655c4
  --enable-clang-rewriter \
be655c4
  --enable-optimized \
be655c4
  --disable-profiling \
be655c4
  --disable-assertions \
be655c4
  --disable-werror \
be655c4
  --disable-expensive-checks \
be655c4
  --enable-debug-runtime \
be655c4
  --enable-keep-symbols \
be655c4
  --enable-jit \
be655c4
  --enable-docs \
de5c3ae
%if %{with doxygen}
c73f9c2
  --enable-doxygen \
be655c4
%else
be655c4
  --disable-doxygen \
b8f7dc4
%endif
be655c4
  --enable-threads \
be655c4
  --enable-pthreads \
be655c4
  --enable-zlib \
be655c4
  --enable-pic \
be655c4
  --enable-shared \
be655c4
  --disable-embed-stdcxx \
be655c4
  --enable-timestamps \
be655c4
  --enable-backtraces \
be655c4
  --enable-targets=x86,powerpc,arm,aarch64,cpp,nvptx,systemz \
be655c4
  --enable-experimental-targets=R600 \
be655c4
%if %{with ocaml}
be655c4
  --enable-bindings=ocaml \
be655c4
%else
be655c4
  --enable-bindings=none \
0b697ba
%endif
be655c4
  --enable-libffi \
be655c4
  --enable-ltdl-install \
be655c4
  \
98be43e
%ifarch armv7hl armv7l
98be43e
  --with-cpu=cortex-a8 \
98be43e
  --with-tune=cortex-a8 \
98be43e
  --with-arch=armv7-a \
98be43e
  --with-float=hard \
98be43e
  --with-fpu=vfpv3-d16 \
98be43e
  --with-abi=aapcs-linux \
98be43e
%endif
be655c4
  \
be655c4
%if %{with gold}
be655c4
  --with-binutils-include=%{_includedir} \
be655c4
%endif
be655c4
  --with-c-include-dirs=%{_includedir}:$(echo %{_prefix}/lib/gcc/%{_target_cpu}*/*/include) \
be655c4
  --with-optimize-option=-O3
565c64d
cfc53b6
make %{_smp_mflags} REQUIRES_RTTI=1 VERBOSE=1 \
71feaf9
%ifarch ppc
94fba1f
  OPTIMIZE_OPTION="%{optflags} -UPPC"
71feaf9
%else
71feaf9
  OPTIMIZE_OPTION="%{optflags}"
71feaf9
%endif
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%install
be655c4
make install DESTDIR=%{buildroot} PROJ_docsdir=/moredocs
c6833e1
a5a420c
# multilib fixes
a5a420c
mv %{buildroot}%{_bindir}/llvm-config{,-%{__isa_bits}}
a5a420c
a5a420c
pushd %{buildroot}%{_includedir}/llvm/Config
a5a420c
mv config.h config-%{__isa_bits}.h
94fba1f
cp -p %{SOURCE10} config.h
a5a420c
mv llvm-config.h llvm-config-%{__isa_bits}.h
94fba1f
cp -p %{SOURCE11} llvm-config.h
a5a420c
popd
a5a420c
216ddcf
# Create ld.so.conf.d entry
216ddcf
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
64041e3
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf << EOF
216ddcf
%{_libdir}/llvm
216ddcf
EOF
216ddcf
de5c3ae
%if %{with clang}
a02ba10
# Static analyzer not installed by default:
a02ba10
# http://clang-analyzer.llvm.org/installation#OtherPlatforms
9dd4cd3
9dd4cd3
# scan-view
9dd4cd3
mkdir -p %{buildroot}%{_libexecdir}/clang-analyzer/
9dd4cd3
cp -pr tools/clang/tools/scan-view %{buildroot}%{_libexecdir}/clang-analyzer/
9dd4cd3
9dd4cd3
# scan-build
9dd4cd3
mkdir -p %{buildroot}%{_libexecdir}/clang-analyzer/scan-build
9dd4cd3
for file in c++-analyzer ccc-analyzer scan-build scanview.css sorttable.js; do
9dd4cd3
  cp -p tools/clang/tools/scan-build/$file %{buildroot}%{_libexecdir}/clang-analyzer/scan-build/
9dd4cd3
done
9dd4cd3
9dd4cd3
# scan-build manual page
9dd4cd3
mkdir -p %{buildroot}%{_mandir}/man1
9dd4cd3
cp -p tools/clang/tools/scan-build/scan-build.1 %{buildroot}%{_mandir}/man1/
9dd4cd3
9dd4cd3
# scan-build requires clang in search path
7130989
ln -s ../../../bin/clang %{buildroot}%{_libexecdir}/clang-analyzer/scan-build/clang
9dd4cd3
7130989
# launchers in /bin
8f6b35f
for f in scan-{build,view}; do
7130989
  ln -s %{_libexecdir}/clang-analyzer/$f/$f %{buildroot}%{_bindir}/$f
8f6b35f
done
194b08b
%endif
a02ba10
be655c4
# Get rid of erroneously installed example files.
be655c4
rm %{buildroot}%{_libdir}/%{name}/*LLVMHello.*
be655c4
be655c4
# remove executable bit from static libraries
be655c4
find %{buildroot}%{_libdir} -name "*.a" -type f -print0 | xargs -0 chmod -x
c19d461
be655c4
# Install man page for LLDB
be655c4
%if %{with lldb}
be655c4
mkdir -p %{buildroot}%{_mandir}/man1
be655c4
cp tools/lldb/docs/lldb.1 %{buildroot}%{_mandir}/man1/
b8f7dc4
%endif
c73f9c2
be655c4
# Install documentation documentation
be655c4
find %{buildroot}/moredocs/ -name "*.tar.gz" -print0 | xargs -0 rm -rf
be655c4
mkdir -p %{buildroot}%{_docdir}
be655c4
be655c4
# llvm
be655c4
mkdir -p %{buildroot}%{llvmdocdir llvm}
be655c4
for f in CREDITS.TXT LICENSE.TXT README.txt; do
be655c4
	cp $f %{buildroot}%{llvmdocdir llvm}
c19d461
done
c19d461
be655c4
# llvm-doc
be655c4
mkdir -p %{buildroot}%{llvmdocdir llvm-doc}
be655c4
cp -ar examples %{buildroot}%{llvmdocdir llvm-doc}/examples
be655c4
find %{buildroot}%{llvmdocdir llvm-doc} -name Makefile -o -name CMakeLists.txt -o -name LLVMBuild.txt -print0 | xargs -0 rm -f
c6833e1
be655c4
# llvm-apidoc
be655c4
%if %{with doxygen}
be655c4
mv %{buildroot}/moredocs/html/doxygen %{buildroot}%{llvmdocdir llvm-apidoc}
be655c4
%endif
Bryan O'Sullivan d291b49
be655c4
# llvm-ocaml-doc
be655c4
%if %{with ocaml}
be655c4
mv %{buildroot}/moredocs/ocamldoc/html %{buildroot}%{llvmdocdir llvm-ocaml-doc}
be655c4
%endif
be655c4
be655c4
# clang
be655c4
%if %{with clang}
be655c4
mkdir -p %{buildroot}%{llvmdocdir clang}
be655c4
for f in LICENSE.TXT NOTES.txt README.txt CODE_OWNERS.TXT; do
be655c4
  cp tools/clang/$f %{buildroot}%{llvmdocdir clang}/
be655c4
done
be655c4
%endif
Bryan O'Sullivan 03bad00
be655c4
# clang-apidoc
be655c4
%if %{with clang}
be655c4
%if %{with doxygen}
be655c4
cp -ar tools/clang/docs/doxygen/html %{buildroot}%{llvmdocdir clang-apidoc}
be655c4
%endif
be655c4
%endif
Bryan O'Sullivan d291b49
be655c4
# lldb
be655c4
%if %{with lldb}
be655c4
mkdir -p %{buildroot}%{llvmdocdir lldb}
be655c4
cp tools/lldb/LICENSE.TXT %{buildroot}%{llvmdocdir lldb}/
be655c4
%endif
Bryan O'Sullivan d291b49
be655c4
# delete the rest of installed documentation (because it's bad)
be655c4
rm -rf %{buildroot}/moredocs
Bryan O'Sullivan d291b49
0242d4d
# install CMake modules
0242d4d
mkdir -p %{buildroot}%{_datadir}/llvm/cmake/
0242d4d
cp -p cmake/modules/*.cmake %{buildroot}%{_datadir}/llvm/cmake/
0242d4d
ab1203a
# remove RPATHs
ab1203a
file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
ab1203a
file %{buildroot}/%{_libdir}/llvm/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
Bryan O'Sullivan 03bad00
a5a420c
%check
b3232c7
# the Koji build server does not seem to have enough RAM
b3232c7
# for the default 16 threads
0370924
94fba1f
# the || : is wrong, i know, but the git snaps fail to make check due to
94fba1f
# broken makefiles in the doc dirs.
94fba1f
420ce43
# LLVM test suite failing on ARM, PPC64 and s390(x)
be655c4
mkdir -p %{buildroot}%{llvmdocdir llvm-devel}
be655c4
make -k check LIT_ARGS="-v -j4" | tee %{buildroot}%{llvmdocdir llvm-devel}/testlog-%{_arch}.txt || :
0370924
de5c3ae
%if %{with clang}
18499e0
# clang test suite failing on PPC and s390(x)
cfc53b6
# FIXME:
cfc53b6
# unexpected failures on all platforms with GCC 4.7.0.
cfc53b6
# capture logs
be655c4
mkdir -p %{buildroot}%{llvmdocdir clang-devel}
be655c4
make -C tools/clang/test TESTARGS="-v -j4" | tee %{buildroot}%{llvmdocdir clang-devel}/testlog-%{_arch}.txt || :
194b08b
%endif
a5a420c
a5a420c
999f905
%post libs -p /sbin/ldconfig
999f905
%postun libs -p /sbin/ldconfig
194b08b
de5c3ae
%if %{with clang}
194b08b
%post -n clang -p /sbin/ldconfig
999f905
%postun -n clang -p /sbin/ldconfig
194b08b
%endif
Bryan O'Sullivan d291b49
f6033f2
%if %{with lldb}
f6033f2
%post -n lldb -p /sbin/ldconfig
f6033f2
%postun -n lldb -p /sbin/ldconfig
f6033f2
%endif
f6033f2
Bryan O'Sullivan d291b49
a5a420c
%posttrans devel
a5a420c
# link llvm-config to the platform-specific file;
a5a420c
# use ISA bits as priority so that 64-bit is preferred
a5a420c
# over 32-bit if both are installed
94fba1f
#
94fba1f
# XXX ew alternatives though. seems like it'd be better to install a
94fba1f
# shell script that cases on $(arch) and calls out to the appropriate
94fba1f
# llvm-config-%d.
a5a420c
alternatives \
a5a420c
  --install \
a5a420c
  %{_bindir}/llvm-config \
a5a420c
  llvm-config \
a5a420c
  %{_bindir}/llvm-config-%{__isa_bits} \
a5a420c
  %{__isa_bits}
a5a420c
a5a420c
%postun devel
a5a420c
if [ $1 -eq 0 ]; then
a5a420c
  alternatives --remove llvm-config \
a5a420c
    %{_bindir}/llvm-config-%{__isa_bits}
a5a420c
fi
a5a420c
exit 0
a5a420c
a5a420c
Bryan O'Sullivan d291b49
%files
Bryan O'Sullivan d291b49
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir llvm}/
0242d4d
%dir %{_datadir}/llvm
Bryan O'Sullivan d291b49
%{_bindir}/bugpoint
Bryan O'Sullivan d291b49
%{_bindir}/llc
Bryan O'Sullivan d291b49
%{_bindir}/lli
bf2cfe2
%{_bindir}/lli-child-target
a5a420c
%exclude %{_bindir}/llvm-config-%{__isa_bits}
Bryan O'Sullivan d291b49
%{_bindir}/llvm*
a914126
%{_bindir}/macho-dump
Bryan O'Sullivan d291b49
%{_bindir}/opt
de5c3ae
%if %{with clang}
8f6b35f
%exclude %{_mandir}/man1/clang.1.*
9dd4cd3
%exclude %{_mandir}/man1/scan-build.1.*
194b08b
%endif
be655c4
%if %{with lldb}
be655c4
%exclude %{_mandir}/man1/lldb.1.*
be655c4
%endif
216ddcf
%doc %{_mandir}/man1/*.1.*
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%files devel
Bryan O'Sullivan d291b49
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir llvm-devel}/
a5a420c
%{_bindir}/llvm-config-%{__isa_bits}
Bryan O'Sullivan d291b49
%{_includedir}/%{name}
Bryan O'Sullivan d291b49
%{_includedir}/%{name}-c
0242d4d
%{_datadir}/llvm/cmake
c6833e1
a8c599f
%files libs
a8c599f
%defattr(-,root,root,-)
a8c599f
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf
a8c599f
%dir %{_libdir}/%{name}
de5c3ae
%if %{with clang}
a8c599f
%exclude %{_libdir}/%{name}/libclang.so
194b08b
%endif
be655c4
%if %{with lldb}
be655c4
%exclude %{_libdir}/%{name}/liblldb.so
be655c4
%endif
a8c599f
%{_libdir}/%{name}/*.so
a8c599f
97e156a
%files static
97e156a
%defattr(-,root,root,-)
97e156a
%{_libdir}/%{name}/*.a
97e156a
de5c3ae
%if %{with clang}
c19d461
%files -n clang
c6833e1
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir clang}/
c6833e1
%{_bindir}/clang*
9ff1905
%{_bindir}/c-index-test
a8c599f
%{_libdir}/%{name}/libclang.so
c19d461
%{_prefix}/lib/clang
8f6b35f
%doc %{_mandir}/man1/clang.1.*
8f6b35f
216ddcf
%files -n clang-devel
216ddcf
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir clang-devel}/
216ddcf
%{_includedir}/clang
216ddcf
%{_includedir}/clang-c
216ddcf
c19d461
%files -n clang-analyzer
8f6b35f
%defattr(-,root,root,-)
9dd4cd3
%{_mandir}/man1/scan-build.1.*
8f6b35f
%{_bindir}/scan-build
8f6b35f
%{_bindir}/scan-view
7130989
%{_libexecdir}/clang-analyzer
be655c4
%endif
c6833e1
be655c4
%if %{with lldb}
be655c4
%files -n lldb
c19d461
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir lldb}/
be655c4
%{_bindir}/lldb
be655c4
%{_bindir}/lldb-platform
be655c4
%{_libdir}/%{name}/liblldb.so
be655c4
%doc %{_mandir}/man1/lldb.1.*
eb791e9
eb791e9
%files -n lldb-devel
eb791e9
%defattr(-,root,root,-)
eb791e9
%{_includedir}/lldb
194b08b
%endif
c19d461
c6833e1
%files doc
c6833e1
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir llvm-doc}/
Bryan O'Sullivan d291b49
434321d
%if %{with ocaml}
Bryan O'Sullivan 03bad00
%files ocaml
Bryan O'Sullivan 03bad00
%defattr(-,root,root,-)
Bryan O'Sullivan 03bad00
%{_libdir}/ocaml/*.cma
Bryan O'Sullivan 03bad00
%{_libdir}/ocaml/*.cmi
eb791e9
%{_libdir}/ocaml/dll*.so
bf2cfe2
%{_libdir}/ocaml/META.llvm*
Bryan O'Sullivan 03bad00
Bryan O'Sullivan 03bad00
%files ocaml-devel
Bryan O'Sullivan 03bad00
%defattr(-,root,root,-)
Bryan O'Sullivan 03bad00
%{_libdir}/ocaml/*.a
Bryan O'Sullivan 03bad00
%{_libdir}/ocaml/*.cmx*
Bryan O'Sullivan 03bad00
%{_libdir}/ocaml/*.mli
Bryan O'Sullivan 03bad00
c6833e1
%files ocaml-doc
Bryan O'Sullivan d291b49
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir llvm-ocaml-doc}/
434321d
%endif
Bryan O'Sullivan d291b49
de5c3ae
%if %{with doxygen}
Bryan O'Sullivan d291b49
%files apidoc
Bryan O'Sullivan d291b49
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir llvm-apidoc}/
c73f9c2
de5c3ae
%if %{with clang}
c7b1517
%files -n clang-apidoc
c73f9c2
%defattr(-,root,root,-)
be655c4
%doc %{llvmdocdir clang-apidoc}/
b8f7dc4
%endif
194b08b
%endif
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%changelog
18fe8ca
* Thu Jul 24 2014 Adam Jackson <ajax@redhat.com> 3.4-10
18fe8ca
- llvm and clang 3.4.2
18fe8ca
bc07a16
* Wed Jun 11 2014 Adam Jackson <ajax@redhat.com> 3.4-9
bc07a16
- Different attempt to default to hard-float on arm (#803433)
bc07a16
2bdca5d
* Mon Jun 02 2014 Adam Jackson <ajax@redhat.com> 3.4-8
2bdca5d
- Attempt to default to hard-float on arm (#803433)
2bdca5d
ad1778b
* Thu May 29 2014 Adam Jackson <ajax@redhat.com> 3.4-7
ad1778b
- Update to llvm 3.4.1 plus a few things from svn
ad1778b
- Drop radeonsi patch, merged in 3.4.1
ad1778b
fdf37f6
* Fri Apr 11 2014 Adam Jackson <ajax@redhat.com> 3.4-6
fdf37f6
- Undo OpenGTL obsoletion in F20 since we got it building
fdf37f6
- Don't conditionalize lldb source, it does the wrong thing when koji decides
fdf37f6
  it's cool to build the srpm on !x86.
fdf37f6
3f23b32
* Wed Mar 19 2014 Dave Airlie <airlied@redhat.com> 3.4-5
3f23b32
- backport patches from 3.5 to enable GL3.3 on radeonsi
3f23b32
Kyle McMartin 78ab519
* Fri Jan 31 2014 Kyle McMartin <kyle@redhat.com> 3.4-4
Kyle McMartin 78ab519
- Disable lldb on everything but x86_64, and i686. It hasn't been ported
Kyle McMartin 78ab519
  beyond those platforms so far.
Kyle McMartin 78ab519
eaac0fa
* Fri Jan 17 2014 Dave Airlie <airlied@redhat.com> 3.4-3
eaac0fa
- bump nvr for lldb on ppc disable
eaac0fa
b04ba79
* Tue Jan 14 2014 Dave Airlie <airlied@redhat.com> 3.4-2
b04ba79
- add ncurses-devel BR and Requires
b04ba79
bf2cfe2
* Tue Jan 14 2014 Dave Airlie <airlied@redhat.com> 3.4-1
bf2cfe2
- update to llvm 3.4 release
bf2cfe2
ab1203a
* Fri Dec 20 2013 Jan Vcelak <jvcelak@fedoraproject.org> 3.3-4
ab1203a
- remove RPATHs
f6033f2
- run ldconfig when installing lldb (#1044431)
9dd4cd3
- fix: scan-build manual page is installed into wrong location (#1038829)
4ac733a
- fix: requirements for llvm-ocaml-devel packages (#975914)
0242d4d
- add LLVM cmake modules into llvm-devel (#914713)
ab1203a
ccf33f4
* Sat Nov 30 2013 Jan Vcelak <jvcelak@fedoraproject.org> 3.3-3
ccf33f4
- properly obsolete clang-doc subpackage (#1035268)
7130989
- clang-analyzer: fix scan-build search for compiler (#982645)
7130989
- clang-analyzer: switch package architecture to noarch
ccf33f4
8d395c3
* Thu Nov 21 2013 Jan Vcelak <jvcelak@fedoraproject.org> 3.3-2
8d395c3
- fix build failure, missing __clear_cache() declaration
8d395c3
be655c4
* Tue Nov 12 2013 Jan Vcelak <jvcelak@fedoraproject.org> 3.3-1
be655c4
- upgrade to 3.3 release
be655c4
- add compiler-rt, enables address sanitizer (#949489)
be655c4
- add LLDB - debugger from LLVM project (#1009406)
be655c4
- clean up documentation
be655c4
fe12f5f
* Thu Oct 17 2013 Jakub Jelinek <jakub@redhat.com> - 3.3-0.10.rc3
fe12f5f
- Rebuild for gcc 4.8.2
fe12f5f
e9eba4e
* Sat Sep 14 2013 Petr Pisar <ppisar@redhat.com> - 3.3-0.9.rc3
e9eba4e
- Rebuild for OCaml 4.01.0.
e9eba4e
33d1985
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-0.8.rc3
33d1985
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
33d1985
3337b53
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 3.3-0.7.rc3
3337b53
- Perl 5.18 rebuild
3337b53
c697117
* Mon Jun 10 2013 Adam Jackson <ajax@redhat.com> 3.3-0.6.rc3
c697117
- llvm 3.3-rc3
c697117
a418044
* Tue Jun 04 2013 Adam Jackson <ajax@redhat.com> 3.3-0.5.rc2
a418044
- Rebuild for gcc 4.8.1
a418044
dd9e07d
* Tue May 28 2013 Adam Jackson <ajax@redhat.com> 3.3-0.4.rc2
dd9e07d
- llvm 3.3-rc2
dd9e07d
069eca6
* Sat May 18 2013 Peter Robinson <pbrobinson@fedoraproject.org> 3.3-0.3.20130507
069eca6
- Enable aarch64 target
069eca6
94fba1f
* Tue May 07 2013 Adam Jackson <ajax@redhat.com> 3.3-0.1.20130507
94fba1f
- Bump to LLVM 3.3svn
94fba1f
- Enable s390 backend
94fba1f
6531bd7
* Mon May 06 2013 Adam Jackson <ajax@redhat.com> 3.2-6
6531bd7
- Only build codegen backends for arches that actually exist in Fedora
6531bd7
bb18301
* Wed May 01 2013 Adam Jackson <ajax@redhat.com> 3.2-5
bb18301
- Tweak ld flags for memory usage and performance
bb18301
4a3f435
* Thu Apr  4 2013 Jens Petersen <petersen@redhat.com> - 3.2-4
4a3f435
- fix bogus date for 2.9-0.2.rc1
4a3f435
- drop insufficient llvm-3.2-clang-driver-secondary-arch-triplets.patch
4a3f435
c960848
* Sun Mar 31 2013 Dennis Gilmore <dennis@ausil.us> - 3.2-3
c960848
- add a hack to clang defaulting arm to hardfloat
c960848
97e156a
* Fri Mar 08 2013 Adam Jackson <ajax@redhat.com> 3.2-2
97e156a
- Update R600 patches
97e156a
- Move static libs to -static subpackage
97e156a
- Prep for F18 backport
97e156a
2f5517c
* Wed Feb 13 2013 Jens Petersen <petersen@redhat.com> - 3.2-1
2f5517c
- update to 3.2
2f5517c
- update R600 patches to Tom Stellard's git tree
2f5517c
- llvm-fix-ghc.patch is upstream
2f5517c
- llvm-3.1-docs-pod-markup-fixes.patch no longer needed
2f5517c
- add llvm-3.2-clang-driver-secondary-arch-triplets.patch (#803433)
2f5517c
- build with gcc/g++ even if clang is installed
2f5517c
- llvm-config.1 manpage is no longer
2f5517c
a185901
* Mon Feb  4 2013 Jens Petersen <petersen@redhat.com> - 3.1-16
b8204c1
- bring back configuration for gcc arch include dir (Yury Zaytsev, #893817)
a185901
  which was dropped in 3.0-0.1.rc3
a185901
- BR gcc and gcc-c++ with gcc_version
a185901
74f5b79
* Thu Jan 31 2013 Jens Petersen <petersen@redhat.com> - 3.1-15
74f5b79
- move lvm-config manpage to devel subpackage (#855882)
30312b5
- pod2man moved to perl-podlators in F19
74f5b79
4040d82
* Fri Jan 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.1-14
4040d82
- Rebuilt for GCC 4.8.0
4040d82
4bbca00
* Wed Jan 23 2013 Jens Petersen <petersen@redhat.com> - 3.1-13
cbfd76e
- fix some docs pod markup errors to build with new perl-Pod-Parser
4bbca00
39fcb67
* Mon Oct 29 2012 Richard W.M. Jones <rjones@redhat.com> - 3.1-12
39fcb67
- Rebuild for OCaml 4.00.1.
39fcb67
9d73f9b
* Mon Sep 24 2012 Michel Salim <salimma@fedoraproject.org> - 3.1-11
9d73f9b
- Actually build against GCC 4.7.2
9d73f9b
5e1a5c2
* Mon Sep 24 2012 Michel Salim <salimma@fedoraproject.org> - 3.1-10
5e1a5c2
- Rebuild for GCC 4.7.2
5e1a5c2
3ce0b9c
* Tue Aug 14 2012 Dan Horák <dan[at]danny.cz> - 3.1-9
3ce0b9c
- Apply clang patches only when clang is being built
3ce0b9c
3a31d79
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-8
3a31d79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3a31d79
e4d99d1
* Fri Jul 13 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.1-7
e4d99d1
- Rename patch as it actually fixes Haskell
e4d99d1
23fedaf
* Thu Jul 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.1-6
23fedaf
- Add patch to fix building OCAML on ARM
23fedaf
a8758de
* Wed Jul  4 2012 Michel Salim <salimma@fedoraproject.org> - 3.1-5
a8758de
- Actually set runtime dependency on libstdc++ 4.7.1
a8758de
1fd52d5
* Mon Jul  2 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.1-4
1fd52d5
- Rebuild for new libstdc++ bump
1fd52d5
588e7c5
* Sun Jun 10 2012 Richard W.M. Jones <rjones@redhat.com> - 3.1-3
588e7c5
- Rebuild for OCaml 4.00.0.
588e7c5
8dfeb9f
* Fri Jun  8 2012 Michel Salim <salimma@fedoraproject.org> - 3.1-2
8dfeb9f
- Rebuild for ocaml 4.00.0 beta
8dfeb9f
dcd073e
* Sun Jun 03 2012 Dave Airlie <airlied@redhat.com> 3.1-1
dcd073e
- rebase to 3.1 + add r600 patches from Tom Stellar
dcd073e
98be43e
* Fri May 25 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0-13
98be43e
- Add compiler build options for ARM hardfp
98be43e
5362a9b
* Sun May  6 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0-12
5362a9b
- Bump build
5362a9b
de5c3ae
* Fri Mar 30 2012 Michel Alexandre Salim <michel@hermione.localdomain> - 3.0-11
de5c3ae
- Replace overly-broad dependency on gcc-c++ with gcc and libstdc++-devel
de5c3ae
- Pin clang's dependency on libstdc++-devel to the version used for building
de5c3ae
- Standardize on bcond for conditional build options
de5c3ae
- Remove /lib from search path, everything is now in /usr/lib*
de5c3ae
9dca0ca
* Mon Mar 26 2012 Kalev Lember <kalevlember@gmail.com> - 3.0-10
9dca0ca
- Build without -ftree-pre as a workaround for clang segfaulting
9dca0ca
  on x86_64 (#791365)
9dca0ca
8fe0322
* Sat Mar 17 2012 Karsten Hopp <karsten@redhat.com> 3.0-9
8fe0322
- undefine PPC on ppc as a temporary workaround for 
8fe0322
  http://llvm.org/bugs/show_bug.cgi?id=10969 and 
8fe0322
  RHBZ#769803
8fe0322
db8da8f
* Sat Feb 25 2012 Michel Salim <salimma@fedoraproject.org> - 3.0-8
db8da8f
- Apply upstream patch to properly link LLVMgold against LTO
db8da8f
0b697ba
* Fri Feb 24 2012 Michel Salim <salimma@fedoraproject.org> - 3.0-7
0b697ba
- Build LLVMgold plugin on supported architectures
0b697ba
420ce43
* Tue Feb  7 2012 Michel Salim <salimma@fedoraproject.org> - 3.0-6
420ce43
- Make subpackage dependencies arch-specific
420ce43
- Make LLVM test failures non-fatal on ARM architectures as well (# 770208)
420ce43
- Save LLVM test log on platforms where it fails
420ce43
cfc53b6
* Sun Feb  5 2012 Michel Salim <salimma@fedoraproject.org> - 3.0-5
cfc53b6
- Clang test suite yields unexpected failures with GCC 4.7.0. Make
cfc53b6
  this non-fatal and save the results
cfc53b6
- Multilib fix for harcoded ld search path in ./configure script
cfc53b6
1c32726
* Sat Jan 07 2012 Richard W.M. Jones <rjones@redhat.com> - 3.0-4
1c32726
- Rebuild for OCaml 3.12.1.
1c32726
3bc0872
* Wed Dec 14 2011 Adam Jackson <ajax@redhat.com> 3.0-3
3bc0872
- Also ExcludeArch: ppc* in RHEL
3bc0872
2fb04f7
* Tue Dec 13 2011 Adam Jackson <ajax@redhat.com> 3.0-2
2fb04f7
- ExcludeArch: s390* in RHEL since the native backend has disappeared in 3.0
2fb04f7
e69facf
* Sun Dec 11 2011 Michel Salim <salimma@fedoraproject.org> - 3.0-1
e69facf
- Update to final 3.0 release
e69facf
194b08b
* Mon Dec 05 2011 Adam Jackson <ajax@redhat.com> 3.0-0.2.rc3
194b08b
- RHEL customization: disable clang, --enable-targets=host
194b08b
9ff1905
* Fri Nov 11 2011 Michel Salim <salimma@fedoraproject.org> - 3.0-0.1.rc3
9ff1905
- Update to 3.0rc3
9ff1905
18499e0
* Tue Oct 11 2011 Dan Horák <dan[at]danny.cz> - 2.9-5
18499e0
- don't fail the build on failing tests on ppc(64) and s390(x)
18499e0
3946039
* Fri Sep 30 2011 Michel Salim <salimma@fedoraproject.org> - 2.9-4
3946039
- Apply upstream patch for Operator.h C++0x incompatibility (# 737365)
3946039
0370924
* Sat Aug  6 2011 Michel Salim <salimma@fedoraproject.org> - 2.9-3
0370924
- Disable LLVM test suite on ppc64 architecture  (# 728604)
0370924
- Disable clang test suite on ppc* architectures (-)
0370924
d9bb825
* Wed Aug  3 2011 Michel Salim <salimma@fedoraproject.org> - 2.9-2
d9bb825
- Add runtime dependency of -devel on libffi-devel
d9bb825
a5a420c
* Mon Aug  1 2011 Michel Salim <salimma@fedoraproject.org> - 2.9-1
a5a420c
- Update to 2.9
a5a420c
- Depend on libffi to allow the LLVM interpreter to call external functions
a5a420c
- Build with RTTI enabled, needed by e.g. Rubinius (# 722714)
b3232c7
- Fix multilib installation (# 699416)
b3232c7
- Fix incorrect platform-specific include path on i686
a5a420c
8b95ec6
* Tue May 31 2011 Karsten Hopp <karsten@redhat.com> 2.9-0.4.rc2
8b95ec6
- enable ppc64 build
8b95ec6
Michel Alexandre Salim a09d313
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.9-0.3.rc2
Michel Alexandre Salim 9bdfe6c
- Update to 2.9rc2
Michel Alexandre Salim 9bdfe6c
4a3f435
* Thu Mar 17 2011 Michel Salim <salimma@fedoraproject.org> - 2.9-0.2.rc1
a8c599f
- Split shared libraries into separate subpackage
8686d9a
- Don't include test logs; breaks multilib (# 666195)
68d1c11
- clang++: also search for platform-specific include files (# 680644)
68d1c11
383ea0f
* Thu Mar 10 2011 Michel Salim <salimma@fedoraproject.org> - 2.9-0.1.rc1
383ea0f
- Update to 2.9rc1
383ea0f
75d0f4e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-7
75d0f4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
75d0f4e
4bd5997
* Mon Jan 10 2011 Richard W.M. Jones <rjones@redhat.com> - 2.8-6
4bd5997
- Rebuild for OCaml 3.12 (http://fedoraproject.org/wiki/Features/OCaml3.12).
4bd5997
05504a3
* Sat Nov 27 2010 Michel Salim <salimma@fedoraproject.org> - 2.8-5
05504a3
- clang now requires gcc-c++ for linking and headers (bug #654560)
05504a3
3fc5264
* Fri Nov 12 2010 Michel Salim <salimma@fedoraproject.org> - 2.8-4
3fc5264
- Backport support for C++0x (# 648990)
3fc5264
3107968
* Fri Oct 15 2010 Michel Salim <salimma@fedoraproject.org> - 2.8-3
3107968
- Re-add omitted %%{_includedir}
3107968
7ea8ecf
* Thu Oct 14 2010 Michel Salim <salimma@fedoraproject.org> - 2.8-2
7ea8ecf
- Add correct C include directory at compile time (# 641500)
7ea8ecf
09e7c11
* Tue Oct 12 2010 Michel Salim <salimma@fedoraproject.org> - 2.8-1
09e7c11
- Update to 2.8 release
09e7c11
Jesse Keating ff6b65b
* Wed Sep 29 2010 jkeating - 2.7-10
Jesse Keating ff6b65b
- Rebuilt for gcc bug 634757
Jesse Keating ff6b65b
b302e35
* Mon Sep 20 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-9
b302e35
- Dynamically determine C++ include path at compile time (# 630474)
b302e35
- Remove unneeded BuildRoot field and clean section
b302e35
6668812
* Wed Sep 15 2010 Dennis Gilmore <dennis@ausil.us> - 2.7-8
6668812
- disable ocaml support on sparc64
6668812
d3b17da
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-7
d3b17da
- recompiling .py files against Python 2.7 (rhbz#623332)
d3b17da
434321d
* Sat Jul 17 2010 Dan Horák <dan[at]danny.cz> - 2.7-6
434321d
- conditionalize ocaml support
434321d
bda980e
* Mon Jun  7 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-5
bda980e
- Make the new noarch -doc obsoletes older (arched) subpackages
bda980e
c0c6405
* Sat Jun  5 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-4
c0c6405
- Add F-12/x86_64 and F-13 C++ header paths
c0c6405
b8f7dc4
* Wed May 26 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-3
b8f7dc4
- Revert to disabling apidoc by default
b8f7dc4
c73f9c2
* Mon May 24 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-2
c73f9c2
- Exclude llm-gcc manpages
c73f9c2
- Turn on apidoc generation
c73f9c2
- Build with srcdir=objdir, otherwise clang doxygen build fails
c73f9c2
64041e3
* Sun May  2 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-1
64041e3
- Update to final 2.7 release
64041e3
216ddcf
* Sun Mar 28 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-0.1.pre1
216ddcf
- Update to first 2.7 pre-release
216ddcf
1384796
* Fri Sep 18 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.6.pre2
1384796
- Update to 2.6 pre-release2
1384796
- -devel subpackage now virtually provides -static
1384796
4ff9eca
* Wed Sep  9 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.5.pre1
4ff9eca
- Disable var tracking assignments on PPC
4ff9eca
09ee2ab
* Wed Sep  9 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.4.pre1
c19d461
- Don't adjust clang include dir; files there are noarch (bz#521893)
09ee2ab
- Enable clang unit tests
c19d461
- clang and clang-analyzer renamed; no longer depend on llvm at runtime
09ee2ab
a02ba10
* Mon Sep  7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.3.pre1
a02ba10
- Package Clang's static analyzer tools
a02ba10
d3f05fb
* Mon Sep  7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.2.pre1
d3f05fb
- PIC is now enabled by default; explicitly disable on %%{ix86}
d3f05fb
c6833e1
* Mon Sep  7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.1.pre1
c6833e1
- First 2.6 prerelease
c6833e1
- Enable Clang front-end
c6833e1
- Enable debuginfo generation
c6833e1
c6833e1
* Sat Sep  5 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-6
09ee2ab
- Disable assertions (needed by OpenGTL, bz#521261)
565c64d
- Align spec file with upstream build instructions
565c64d
- Enable unit tests
565c64d
6f2b484
* Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-5
6f2b484
- Only disable PIC on %%ix86; ppc actually needs it
6f2b484
09280fb
* Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-4
09280fb
- Disable use of position-independent code on 32-bit platforms
09280fb
  (buggy in LLVM <= 2.5)
09280fb
b44f18c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
b44f18c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b44f18c
719d6b0
* Wed Mar  4 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-2
719d6b0
- Remove build scripts; they require the build directory to work
719d6b0
fc7190b
* Wed Mar  4 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-1
fc7190b
- Update to 2.5
fc7190b
- Package build scripts (bug #457881)
9644979
Bryan O'Sullivan 03bad00
* Tue Dec  2 2008 Michel Salim <salimma@fedoraproject.org> - 2.4-2
Bryan O'Sullivan 03bad00
- Patched build process for the OCaml binding
Bryan O'Sullivan 03bad00
Bryan O'Sullivan 03bad00
* Tue Dec  2 2008 Michel Salim <salimma@fedoraproject.org> - 2.4-1
Bryan O'Sullivan 03bad00
- Update to 2.4
Bryan O'Sullivan 03bad00
- Package Ocaml binding
Bryan O'Sullivan 03bad00
Bryan O'Sullivan e2fa788
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-2
Bryan O'Sullivan e2fa788
- Add dependency on groff
Bryan O'Sullivan e2fa788
Bryan O'Sullivan df8851e
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-1
Bryan O'Sullivan df8851e
- LLVM 2.3
Bryan O'Sullivan df8851e
2d471be
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2-4
2d471be
- fix license tags
2d471be
Bryan O'Sullivan a2e4a2f
* Wed Mar  5 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.2-3
Bryan O'Sullivan a2e4a2f
- Fix compilation problems with gcc 4.3
Bryan O'Sullivan a2e4a2f
7889508
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2-2
7889508
- Autorebuild for GCC 4.3
7889508
Bryan O'Sullivan d291b49
* Sun Jan 20 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.1-2
Bryan O'Sullivan d291b49
- Fix review comments
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
* Sun Jan 20 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.1-1
Bryan O'Sullivan d291b49
- Initial version