2011-04-20 15:53:17 +02:00
|
|
|
#
|
2011-06-03 15:52:45 +02:00
|
|
|
# spec file for package llvm
|
2011-04-20 15:53:17 +02:00
|
|
|
#
|
2011-06-03 15:52:45 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-04-20 15:53:17 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-12-25 21:35:34 +01:00
|
|
|
|
2011-12-01 19:06:09 +01:00
|
|
|
%define _revision 145598
|
2011-05-29 19:48:28 +02:00
|
|
|
%define _release_version 3.0
|
2011-11-16 15:28:41 +01:00
|
|
|
%define _supported_archs "ARM;X86"
|
2011-05-26 13:59:52 +02:00
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
Name: llvm
|
2011-12-01 19:06:09 +01:00
|
|
|
Version: 3.0
|
2011-12-22 16:34:18 +01:00
|
|
|
Release: 0
|
2011-05-30 16:35:16 +02:00
|
|
|
Summary: Low Level Virtual Machine
|
2011-12-22 16:34:18 +01:00
|
|
|
License: NCSA
|
2011-05-30 16:35:16 +02:00
|
|
|
Group: Development/Languages/Other
|
2011-12-22 16:34:18 +01:00
|
|
|
Url: http://www.llvm.org
|
2011-10-18 13:53:37 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2011-04-20 15:53:17 +02:00
|
|
|
Source100: %{name}-rpmlintrc
|
2011-05-29 18:36:18 +02:00
|
|
|
# PATCH-FIX-OPENSUSE set-revision.patch idoenmez@suse.de -- Allow us to set revision
|
|
|
|
Patch1: set-revision.patch
|
|
|
|
# PATCH-FIX-OPENSUSE set-revision.patch idoenmez@suse.de -- Use correct lib prefix
|
|
|
|
Patch2: clang-cmake-lib.patch
|
2011-08-12 12:31:37 +02:00
|
|
|
# PATCH-FIX-OPENSUSE assume-opensuse.patch idoenmez@suse.de -- Always enable openSUSE/SUSE features
|
|
|
|
Patch3: assume-opensuse.patch
|
2011-12-22 16:34:18 +01:00
|
|
|
# PATCH-FIX-UPSTREAM clang-glibc2.14.patch idoenmez@suse.de -- Support glibc 2.14 headers
|
|
|
|
Patch4: clang-glibc2.14.patch
|
2011-12-25 16:48:32 +01:00
|
|
|
# PATCH-FIX-OPENSUSE clang-disable-ada-extension.patch idoenmez@suse.de -- Don't run gcc for ada files
|
|
|
|
Patch5: clang-disable-ada-extension.patch
|
2011-04-20 15:53:17 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-05-30 16:35:16 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2011-11-06 23:03:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1220
|
|
|
|
BuildRequires: binutils-devel >= 2.21.90
|
|
|
|
%endif
|
2011-05-30 16:35:16 +02:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: dejagnu
|
2011-04-20 15:53:17 +02:00
|
|
|
BuildRequires: fdupes
|
2011-05-30 16:35:16 +02:00
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: tcl-devel
|
|
|
|
BuildRequires: tk-devel
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
# Code10 does not have libffi
|
|
|
|
%if 0%{?suse_version} > 1100
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# LLVM is not supported on PPC64
|
|
|
|
# http://llvm.org/bugs/show_bug.cgi?id=3729
|
|
|
|
ExcludeArch: ppc64
|
|
|
|
|
|
|
|
%description
|
|
|
|
LLVM is a compiler infrastructure designed for compile-time,
|
|
|
|
link-time, runtime, and idle-time optimization of programs from
|
|
|
|
arbitrary programming languages.
|
|
|
|
|
2011-05-30 16:35:16 +02:00
|
|
|
The compiler infrastructure includes mirror sets of programming
|
2011-04-20 15:53:17 +02:00
|
|
|
tools as well as libraries with equivalent functionality.
|
|
|
|
|
|
|
|
%package devel
|
2011-06-10 11:29:12 +02:00
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
Summary: Libraries and Header Files for LLVM
|
|
|
|
Group: Development/Languages/Other
|
2011-05-30 16:35:16 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: libffi-devel
|
|
|
|
Requires: libstdc++-devel >= 3.4
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains library and header files needed to develop
|
|
|
|
new native programs that use the LLVM infrastructure.
|
|
|
|
|
|
|
|
%package doc
|
2011-06-10 11:29:12 +02:00
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
Summary: Documentation for LLVM
|
|
|
|
Group: Documentation/HTML
|
2011-05-30 16:35:16 +02:00
|
|
|
Requires: %{name} = %{version}
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for the LLVM compiler infrastructure.
|
|
|
|
|
|
|
|
%package clang
|
2011-06-10 11:29:12 +02:00
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
Summary: CLANG frontend for LLVM
|
|
|
|
Group: Development/Languages/Other
|
2011-05-30 16:35:16 +02:00
|
|
|
Requires: %{name} = %{version}
|
2011-07-11 14:41:14 +02:00
|
|
|
Provides: clang
|
2011-04-20 15:53:17 +02:00
|
|
|
%{py_requires}
|
|
|
|
|
|
|
|
%description clang
|
|
|
|
This package contains the clang (C language) frontend for LLVM.
|
|
|
|
|
2011-05-30 16:35:16 +02:00
|
|
|
%package clang-devel
|
2011-06-10 11:29:12 +02:00
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
Summary: CLANG frontend for LLVM (devel package)
|
|
|
|
Group: Development/Languages/Other
|
2011-10-25 20:59:57 +02:00
|
|
|
Requires: llvm-devel = %{version}
|
|
|
|
Requires: clang = %{version}
|
2011-04-20 15:53:17 +02:00
|
|
|
%{py_requires}
|
|
|
|
|
|
|
|
%description clang-devel
|
|
|
|
This package contains the clang (C language) frontend for LLVM.
|
|
|
|
(development files)
|
|
|
|
|
|
|
|
%package vim-plugins
|
2011-06-10 11:29:12 +02:00
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
Summary: Vim plugins for LLVM
|
|
|
|
Group: Productivity/Text/Editors
|
|
|
|
Requires: vim
|
|
|
|
|
|
|
|
%description vim-plugins
|
|
|
|
This package contains vim plugins for LLVM like syntax highlighting.
|
|
|
|
|
|
|
|
%prep
|
2011-05-26 13:59:52 +02:00
|
|
|
%setup -q
|
2011-05-29 18:36:18 +02:00
|
|
|
%patch1
|
|
|
|
%patch2
|
2011-08-12 12:31:37 +02:00
|
|
|
%patch3
|
2011-12-22 16:34:18 +01:00
|
|
|
cd tools/clang
|
|
|
|
%patch4
|
|
|
|
cd ../..
|
2011-12-25 16:48:32 +01:00
|
|
|
%patch5 -p1
|
2011-09-29 22:33:54 +02:00
|
|
|
|
2011-05-29 18:36:18 +02:00
|
|
|
sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
|
2011-04-20 15:53:17 +02:00
|
|
|
|
2011-11-07 10:17:59 +01:00
|
|
|
# Nasty hardcoded path
|
2011-12-22 16:34:18 +01:00
|
|
|
sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp
|
2011-11-07 10:17:59 +01:00
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
%build
|
2011-05-26 13:59:52 +02:00
|
|
|
TOPLEVEL=$PWD
|
2011-12-05 14:38:51 +01:00
|
|
|
mkdir stage1 stage2 stage3
|
|
|
|
pushd stage1
|
2011-05-26 13:59:52 +02:00
|
|
|
|
2011-12-02 13:22:27 +01:00
|
|
|
# Idiot cmake doesn't let me select my own optimization level here
|
|
|
|
# hence we use configure, this needed to workaround a gcc 4.5 bug
|
|
|
|
../configure \
|
|
|
|
--enable-optimized \
|
|
|
|
--disable-assertions \
|
|
|
|
--with-optimize-option="-O0" \
|
|
|
|
--enable-targets=host
|
2011-04-20 15:53:17 +02:00
|
|
|
|
2011-05-29 18:36:18 +02:00
|
|
|
make %{?_smp_mflags}
|
2011-05-26 13:59:52 +02:00
|
|
|
|
2011-12-05 14:38:51 +01:00
|
|
|
popd
|
|
|
|
pushd stage2
|
2011-05-29 18:36:18 +02:00
|
|
|
|
2011-12-02 13:22:27 +01:00
|
|
|
export CC=$TOPLEVEL/stage1/Release/bin/clang
|
|
|
|
export CXX=$TOPLEVEL/stage1/Release/bin/clang++
|
2011-05-29 18:36:18 +02:00
|
|
|
|
2011-12-05 14:38:51 +01:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
|
|
|
|
..
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
popd
|
|
|
|
pushd stage3
|
|
|
|
# Needed to make clang resource dir working inside build tree
|
|
|
|
ln -s lib lib64
|
|
|
|
|
2011-12-05 20:33:29 +01:00
|
|
|
export CC=$TOPLEVEL/stage2/bin/clang
|
|
|
|
export CXX=$TOPLEVEL/stage2/bin/clang++
|
2011-12-05 14:38:51 +01:00
|
|
|
|
2011-05-29 18:36:18 +02:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
2011-11-16 15:28:41 +01:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2011-07-07 14:17:56 +02:00
|
|
|
-DLLVM_ENABLE_ASSERTIONS=FALSE \
|
2011-05-29 18:36:18 +02:00
|
|
|
-DLLVM_ENABLE_PIC=TRUE \
|
2011-12-05 17:01:36 +01:00
|
|
|
-DLLVM_ENABLE_TIMESTAMPS=FALSE \
|
2011-11-10 11:34:16 +01:00
|
|
|
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
|
2011-05-29 18:36:18 +02:00
|
|
|
-DCLANG_VENDOR="SUSE Linux" \
|
2011-12-05 17:01:36 +01:00
|
|
|
%if "%{_lib}" == "lib64"
|
2011-05-29 18:36:18 +02:00
|
|
|
-DLLVM_LIBDIR_SUFFIX=64 \
|
2011-11-06 23:03:33 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} >= 1220
|
|
|
|
-DLLVM_BINUTILS_INCDIR=/usr/include \
|
2011-04-20 15:53:17 +02:00
|
|
|
%endif
|
2011-05-29 18:36:18 +02:00
|
|
|
-DCLANG_RESOURCE_DIR="../%{_lib}/clang/%{_release_version}" \
|
|
|
|
..
|
|
|
|
make %{?_smp_mflags}
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%check
|
2011-12-05 14:38:51 +01:00
|
|
|
cd stage3
|
2011-04-20 15:53:17 +02:00
|
|
|
make check
|
2011-05-29 18:36:18 +02:00
|
|
|
make clang-test
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%install
|
2011-12-05 14:38:51 +01:00
|
|
|
cd stage3
|
2011-05-29 18:36:18 +02:00
|
|
|
%makeinstall
|
2011-05-26 13:59:52 +02:00
|
|
|
cd ..
|
|
|
|
|
2011-11-29 14:23:48 +01:00
|
|
|
# Fixup libdir
|
|
|
|
%if "%{_lib}" == "lib64"
|
2011-10-19 17:46:09 +02:00
|
|
|
sed -i s,ABS_RUN_DIR/lib,ABS_RUN_DIR/lib64, %{buildroot}/%{_bindir}/llvm-config
|
|
|
|
%endif
|
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
# cleanup
|
|
|
|
file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
|
|
|
|
file %{buildroot}/%{_libdir}/%{name}/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d
|
|
|
|
|
|
|
|
find %{buildroot}%{_includedir}/clang -name '*.tmp' -exec rm {} +
|
|
|
|
|
|
|
|
for file in `find examples -type f`; do
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}-doc/`dirname $file`
|
|
|
|
install -m 644 $file %{buildroot}%{_docdir}/%{name}-doc/$file
|
|
|
|
done
|
|
|
|
|
|
|
|
find %{buildroot}%{_docdir}/%{name}-doc/ -name '*.tar.gz' -exec rm {} \;
|
|
|
|
|
|
|
|
# install scan-build et al
|
2011-09-01 16:35:13 +02:00
|
|
|
install -d %{buildroot}%{_datadir}/clang
|
2011-05-29 18:36:18 +02:00
|
|
|
install -d %{buildroot}%{py_sitedir}
|
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
pushd tools/clang/tools
|
|
|
|
for file in scan-build/ccc-analyzer scan-build/scan-build \
|
|
|
|
scan-view/scan-view; do
|
|
|
|
install $file %{buildroot}%{_bindir}
|
|
|
|
done
|
|
|
|
for file in scan-build/scanview.css scan-build/sorttable.js; do
|
2011-09-01 16:35:13 +02:00
|
|
|
install -m 644 $file %{buildroot}%{_datadir}/clang/
|
2011-04-20 15:53:17 +02:00
|
|
|
done
|
|
|
|
for file in scan-view/Reporter.py scan-view/ScanView.py \
|
|
|
|
scan-view/startfile.py; do
|
|
|
|
install -m 644 $file %{buildroot}%{py_sitedir}
|
|
|
|
done
|
|
|
|
install -d %{buildroot}%{py_sitedir}/Resources/
|
|
|
|
for file in scan-view/Resources/*; do
|
|
|
|
install -m 644 $file %{buildroot}%{py_sitedir}/Resources/
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
pushd %{buildroot}%{_bindir}
|
|
|
|
ln -s ccc-analyzer c++-analyzer
|
|
|
|
popd
|
|
|
|
|
|
|
|
sed -i 's,RealBin/bin/clang,RealBin/clang,' \
|
|
|
|
%{buildroot}%{_bindir}/scan-build
|
|
|
|
|
|
|
|
sed -i 's,RealBin/bin/ccc-analyzer,RealBin/ccc-analyzer,' \
|
|
|
|
%{buildroot}%{_bindir}/scan-build
|
|
|
|
|
|
|
|
sed -i 's,RealBin/bin/ccc-analyzer,RealBin/ccc-analyzer,' \
|
|
|
|
%{buildroot}%{_bindir}/scan-build
|
|
|
|
|
2011-09-01 16:35:13 +02:00
|
|
|
sed -i 's,$RealBin/sorttable.js,%{_datadir}/clang/sorttable.js,' \
|
2011-04-20 15:53:17 +02:00
|
|
|
%{buildroot}%{_bindir}/scan-build
|
|
|
|
|
2011-09-01 16:35:13 +02:00
|
|
|
sed -i 's,$RealBin/scanview.css,%{_datadir}/clang/scanview.css,' \
|
2011-04-20 15:53:17 +02:00
|
|
|
%{buildroot}%{_bindir}/scan-build
|
|
|
|
|
|
|
|
sed -i 's,RealBin/bin,RealBin,' \
|
|
|
|
%{buildroot}%{_bindir}/scan-build
|
|
|
|
|
|
|
|
install -m 755 -d %{buildroot}%{_datadir}/vim/site/syntax/
|
|
|
|
install -m 644 utils/vim/*.vim %{buildroot}%{_datadir}/vim/site/syntax/
|
|
|
|
mv utils/vim/README utils/vim/README.vim
|
|
|
|
|
2011-05-30 16:35:16 +02:00
|
|
|
# Create man pages because cmake buildsystem doesn't do for us
|
|
|
|
install -m 755 -d %{buildroot}%{_mandir}/man1
|
2011-10-18 13:53:37 +02:00
|
|
|
# tblgen is not installed anymore.
|
|
|
|
rm docs/CommandGuide/tblgen.pod
|
2011-05-30 16:35:16 +02:00
|
|
|
for i in docs/CommandGuide/*.pod tools/clang/docs/tools/*.pod; do
|
2011-06-01 15:32:18 +02:00
|
|
|
page=`echo $i|awk -F"/" '{print $(NF)}'|sed s,.pod,,` &&
|
2011-07-02 21:57:45 +02:00
|
|
|
pod2man -s1 $i %{buildroot}%{_mandir}/man1/$page.1;
|
2011-05-30 16:35:16 +02:00
|
|
|
done
|
|
|
|
|
2011-06-01 21:48:25 +02:00
|
|
|
# Remove gtest library
|
2011-06-01 23:01:24 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*gtest*
|
|
|
|
|
|
|
|
# Wrong lib name + static
|
|
|
|
rm -f %{buildroot}%{_libdir}/liblibclang.a
|
2011-06-01 21:48:25 +02:00
|
|
|
|
2011-06-02 13:29:39 +02:00
|
|
|
# Stuff we don't want to include
|
|
|
|
rm -f %{buildroot}%{_libdir}/BugpointPasses.*
|
|
|
|
rm -f %{buildroot}%{_libdir}/LLVMHello.*
|
|
|
|
rm -f %{buildroot}%{_libdir}/libCompilerDriver.*
|
|
|
|
rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.*
|
|
|
|
|
2011-04-20 15:53:17 +02:00
|
|
|
%fdupes -s %{buildroot}%{_docdir}/%{name}
|
|
|
|
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
|
|
|
|
|
2011-10-25 20:59:57 +02:00
|
|
|
%post clang -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun clang -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post clang-devel -p /sbin/ldconfig
|
2011-09-02 09:56:10 +02:00
|
|
|
|
2011-10-25 20:59:57 +02:00
|
|
|
%postun clang-devel -p /sbin/ldconfig
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc *.TXT *.txt
|
|
|
|
%{_bindir}/bugpoint
|
2011-08-12 12:31:37 +02:00
|
|
|
%{_bindir}/diagtool
|
2011-04-20 15:53:17 +02:00
|
|
|
%{_bindir}/llc
|
|
|
|
%{_bindir}/lli
|
|
|
|
%{_bindir}/macho-dump
|
|
|
|
%exclude %{_bindir}/%{name}-config
|
|
|
|
%{_bindir}/%{name}*
|
|
|
|
%{_bindir}/opt
|
2011-05-30 16:35:16 +02:00
|
|
|
%{_mandir}/man1/bugpoint.1%{ext_man}
|
|
|
|
%exclude %{_mandir}/man1/lit.1%{ext_man}
|
|
|
|
%{_mandir}/man1/llc.1%{ext_man}
|
|
|
|
%{_mandir}/man1/lli.1%{ext_man}
|
|
|
|
%exclude %{_mandir}/man1/%{name}-config.1%{ext_man}
|
|
|
|
%{_mandir}/man1/llvm*.1%{ext_man}
|
|
|
|
%{_mandir}/man1/opt.1%{ext_man}
|
2011-06-01 21:48:25 +02:00
|
|
|
%{_mandir}/man1/FileCheck.1%{ext_man}
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%files clang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/clang
|
2011-05-29 18:36:18 +02:00
|
|
|
%{_bindir}/clang-*
|
2011-04-20 15:53:17 +02:00
|
|
|
%{_bindir}/clang++
|
2011-09-29 22:33:54 +02:00
|
|
|
%{_bindir}/c-index-test
|
2011-04-20 15:53:17 +02:00
|
|
|
%{_bindir}/ccc-analyzer
|
|
|
|
%{_bindir}/c++-analyzer
|
|
|
|
%{_bindir}/scan-build
|
|
|
|
%{_bindir}/scan-view
|
|
|
|
%{py_sitedir}/ScanView.py
|
|
|
|
%{py_sitedir}/Reporter.py
|
|
|
|
%{py_sitedir}/startfile.py
|
|
|
|
%{py_sitedir}/Resources
|
2011-09-01 16:35:13 +02:00
|
|
|
%{_datadir}/clang
|
2011-04-20 15:53:17 +02:00
|
|
|
%{_mandir}/man1/clang.1.gz
|
2011-12-25 22:14:06 +01:00
|
|
|
%{_libdir}/libclang.so.*
|
|
|
|
%{_libdir}/libLTO.a
|
2011-12-22 17:10:59 +01:00
|
|
|
%{_libdir}/*profile*.a
|
2011-11-06 23:03:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1220
|
|
|
|
%{_libdir}/LLVMgold.so
|
|
|
|
%endif
|
2011-05-30 16:35:16 +02:00
|
|
|
%dir %{_libdir}/clang
|
|
|
|
%dir %{_libdir}/clang/*
|
|
|
|
%dir %{_libdir}/clang/*/include
|
|
|
|
%{_libdir}/clang/*/include/altivec.h
|
|
|
|
%{_libdir}/clang/*/include/arm_neon.h
|
|
|
|
%{_libdir}/clang/*/include/avxintrin.h
|
|
|
|
%{_libdir}/clang/*/include/emmintrin.h
|
|
|
|
%{_libdir}/clang/*/include/float.h
|
|
|
|
%{_libdir}/clang/*/include/immintrin.h
|
|
|
|
%{_libdir}/clang/*/include/iso646.h
|
|
|
|
%{_libdir}/clang/*/include/limits.h
|
|
|
|
%{_libdir}/clang/*/include/mm_malloc.h
|
|
|
|
%{_libdir}/clang/*/include/mmintrin.h
|
|
|
|
%{_libdir}/clang/*/include/nmmintrin.h
|
|
|
|
%{_libdir}/clang/*/include/pmmintrin.h
|
|
|
|
%{_libdir}/clang/*/include/smmintrin.h
|
2011-10-18 13:53:37 +02:00
|
|
|
%{_libdir}/clang/*/include/stdalign.h
|
2011-05-30 16:35:16 +02:00
|
|
|
%{_libdir}/clang/*/include/stdarg.h
|
|
|
|
%{_libdir}/clang/*/include/stdbool.h
|
|
|
|
%{_libdir}/clang/*/include/stddef.h
|
|
|
|
%{_libdir}/clang/*/include/stdint.h
|
|
|
|
%{_libdir}/clang/*/include/tgmath.h
|
|
|
|
%{_libdir}/clang/*/include/tmmintrin.h
|
|
|
|
%{_libdir}/clang/*/include/varargs.h
|
|
|
|
%{_libdir}/clang/*/include/wmmintrin.h
|
|
|
|
%{_libdir}/clang/*/include/x86intrin.h
|
|
|
|
%{_libdir}/clang/*/include/xmmintrin.h
|
|
|
|
%{_libdir}/clang/*/include/mm3dnow.h
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%files clang-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/clang
|
|
|
|
%{_includedir}/clang-c
|
2011-12-25 22:14:06 +01:00
|
|
|
%{_libdir}/libLTO.so
|
|
|
|
%{_libdir}/libclang.so
|
2011-10-25 20:59:57 +02:00
|
|
|
%{_libdir}/libclang*.a
|
2011-12-22 17:10:59 +01:00
|
|
|
%{_libdir}/*profile*.so
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/%{name}-config
|
2011-06-02 13:29:39 +02:00
|
|
|
%dir %{_datadir}/llvm/
|
2011-06-02 09:50:08 +02:00
|
|
|
%{_datadir}/llvm/*
|
2011-05-30 16:35:16 +02:00
|
|
|
%doc %{_mandir}/man1/%{name}-config.1%{ext_man}
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_includedir}/%{name}-c/
|
2011-06-01 21:48:25 +02:00
|
|
|
%{_libdir}/libLLVM*
|
2011-04-20 15:53:17 +02:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_docdir}/%{name}-doc
|
|
|
|
|
|
|
|
%files vim-plugins
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc utils/vim/README.vim
|
|
|
|
%{_datadir}/vim/
|
|
|
|
|
|
|
|
%changelog
|