3 %bcond_without lldb # LLDB debugger
4 %bcond_without polly # Polly cache-locality optimization, auto-parallelism and vectorization
5 %bcond_without rt # compiler-rt libraries
6 %bcond_with ocaml # OCaml binding
7 %bcond_without doc # HTML docs and man pages
8 %bcond_with apidocs # doxygen docs (HUGE, so they are not built by default)
9 %bcond_with tests # run tests
11 # No ocaml on other arches or no native ocaml (required for ocaml-ctypes)
12 %ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
16 Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
17 Summary(pl.UTF-8): Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
21 License: University of Illinois/NCSA Open Source License
22 Group: Development/Languages
23 #Source0Download: http://llvm.org/releases/download.html
24 Source0: http://llvm.org/releases/%{version}/%{name}-%{version}.src.tar.xz
25 # Source0-md5: 0c1ee3597d75280dee603bae9cbf5cc2
26 Source1: http://llvm.org/releases/%{version}/cfe-%{version}.src.tar.xz
27 # Source1-md5: ff862793682f714bb7862325b9c06e20
28 Source2: http://llvm.org/releases/%{version}/compiler-rt-%{version}.src.tar.xz
29 # Source2-md5: e3bc4eb7ba8c39a6fe90d6c988927f3c
30 Source3: http://llvm.org/releases/%{version}/lldb-%{version}.src.tar.xz
31 # Source3-md5: 51e5eb552f777b950bb0ff326e60d5f0
32 Source4: http://llvm.org/releases/%{version}/polly-%{version}.src.tar.xz
33 # Source4-md5: 09dd91d06cc0832095379d00206bc3a1
34 Source5: http://llvm.org/releases/%{version}/clang-tools-extra-%{version}.src.tar.xz
35 # Source5-md5: 3ebc1dc41659fcec3db1b47d81575e06
36 Source6: http://llvm.org/releases/%{version}/lld-%{version}.src.tar.xz
37 # Source6-md5: 7143cc4fa88851a9f9b9a03621fbb387
38 Patch0: %{name}-config.patch
39 # Data files should be installed with timestamps preserved
40 Patch1: %{name}-2.6-timestamp.patch
41 Patch2: %{name}-pld.patch
42 Patch3: %{name}-use-ocamlfind-for-ocamldoc.patch
43 Patch4: %{name}-lldb.patch
44 Patch5: %{name}-lldb-atomic.patch
45 Patch6: %{name}-lld-link.patch
47 BuildRequires: autoconf >= 2.60
48 BuildRequires: automake >= 1:1.9.6
52 BuildRequires: gcc >= 5:3.4
53 # gcc4 might be installed, but not current __cc
54 %if "%(echo %{cc_version} | cut -d. -f1,2)" < "3.4"
55 BuildRequires: __cc >= 3.4
58 BuildRequires: glibc-devel(x86_64)
61 BuildRequires: libltdl-devel
62 BuildRequires: libtool >= 2:1.5.22
63 BuildRequires: libstdc++-devel >= 5:3.4
65 BuildRequires: ocaml-ctypes-devel
66 BuildRequires: ocaml-findlib
67 BuildRequires: ocaml-ocamldoc
68 BuildRequires: ocaml-ounit
70 BuildRequires: perl-base >= 1:5.6
71 BuildRequires: perl-tools-pod
72 BuildRequires: rpm-pythonprov
73 %{?with_doc:BuildRequires: sphinx-pdg}
74 BuildRequires: tar >= 1:1.22
77 BuildRequires: doxygen
78 BuildRequires: graphviz
81 BuildRequires: dejagnu
83 BuildRequires: tcl-devel
87 BuildRequires: libatomic-devel
89 BuildRequires: libedit-devel
90 BuildRequires: libxml2-devel >= 2
91 BuildRequires: ncurses-ext-devel
92 BuildRequires: python-devel >= 2
95 BuildRequires: cloog-isl-devel
97 BuildRequires: gmp-devel
98 BuildRequires: isl-devel >= 0.14
100 BuildRequires: pluto-devel
101 BuildRequires: scoplib-devel >= 0.2.1-2
104 Requires: %{name}-libs = %{version}-%{release}
105 # LLVM is not supported on PPC64
106 # http://llvm.org/bugs/show_bug.cgi?id=3729
108 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
110 %define _sysconfdir /etc/%{name}
112 %define specflags_ppc -fno-var-tracking-assignments
114 # strip corrupts: $RPM_BUILD_ROOT/usr/lib64/llvm-gcc/bin/llvm-c++ ...
115 %define _noautostrip .*/\\(libmud.*\\.a\\|bin/llvm-.*\\|lib.*++\\.a\\)
118 LLVM is a compiler infrastructure designed for compile-time,
119 link-time, runtime, and idle-time optimization of programs from
120 arbitrary programming languages. LLVM is written in C++ and has been
121 developed since 2000 at the University of Illinois and Apple. It
122 currently supports compilation of C and C++ programs using clang
125 %description -l pl.UTF-8
126 LLVM to infrastruktura kompilatora zaprojektowana do optymalizacji
127 czasu kompilowania, linkowania, działania i bezczynności programów w
128 dowolnych językach programowania. Jest napisana w C++, rozwijana od
129 roku 2000 przez Uniwersytet w Illinois i Apple. Aktualnie obsługuje
130 kompilację programów w C i C++ przy użyciu frontendu clang.
133 Summary: LLVM shared library
134 Summary(pl.UTF-8): Biblioteka współdzielona LLVM-a
136 Conflicts: llvm < 3.2
141 %description libs -l pl.UTF-8
142 Biblioteka współdzielona LLVM-a.
145 Summary: Static libraries and header files for LLVM
146 Summary(pl.UTF-8): Biblioteki statyczne i pliki nagłówkowe dla LLVM-a
147 Group: Development/Languages
148 Requires: %{name}-libs = %{version}-%{release}
149 Requires: libstdc++-devel >= 6:3.4
152 This package contains static libraries and header files needed to
153 develop new native programs that use the LLVM infrastructure.
155 %description devel -l pl.UTF-8
156 Ten pakiet zawiera biblioteki statyczne oraz pliki nagłówkowe
157 potrzebne do tworzenia nowych programów natywnych wykorzystujących
161 Summary: Documentation for LLVM
162 Summary(pl.UTF-8): Dokumentacja do LLVM-a
164 # does not require base
167 Documentation for the LLVM compiler infrastructure.
169 %description doc -l pl.UTF-8
170 Dokumentacja do infrastruktury kompilatorów LLVM.
173 Summary: API documentation for LLVM
174 Summary(pl.UTF-8): Dokumentacja API LLVM-a
175 Group: Development/Languages
176 Requires: %{name}-doc = %{version}-%{release}
179 API documentation for the LLVM compiler infrastructure.
181 %description apidocs -l pl.UTF-8
182 Dokumentacja API infrastruktury kompilatorów LLVM.
185 Summary: Polyhedral optimizations for LLVM
186 Summary(pl.UTF-8): Optymalizacje wielościanowe dla LLVM-a
187 Group: Development/Tools
188 URL: http://polly.llvm.org/
189 Requires: %{name} = %{version}-%{release}
192 Polly is a high-level loop and data-locality optimizer and
193 optimization infrastructure for LLVM. It uses an abstract mathematical
194 representation based on integer polyhedra to analyze and optimize the
195 memory access pattern of a program.
197 %description polly -l pl.UTF-8
198 Polly to wysokopoziomowy optymalizator i infrastruktura LLVM-a do
199 optymalizacji pętli i położenia danych. Wykorzystuje abstrakcyjną
200 reprezentację matematyczną opartą na wielościanach całkowitoliczbowych
201 do analizy i optymalizacji wzorców dostępu do pamięci przez program.
204 Summary: Header files for LLVM Polly optimization infrastructure
205 Summary(pl.UTF-8): Pliki nagłówkowe infrastruktury optymalizacji LLVM-a Polly
206 Group: Development/Libraries
207 URL: http://polly.llvm.org/
208 Requires: %{name}-devel = %{version}-%{release}
209 Requires: %{name}-polly = %{version}-%{release}
211 %description polly-devel
212 Header files for LLVM Polly optimization infrastructure.
214 %description polly-devel -l pl.UTF-8
215 Pliki nagłówkowe infrastruktury optymalizacji LLVM-a Polly.
218 Summary: A C language family frontend for LLVM
219 Summary(pl.UTF-8): Frontend LLVM-a do języków z rodziny C
221 Group: Development/Languages
222 Requires: %{name} = %{version}-%{release}
224 %description -n clang
225 clang: noun 1. A loud, resonant, metallic sound. 2. The strident call
226 of a crane or goose. 3. C-language family front-end toolkit.
228 The goal of the Clang project is to create a new C, C++, Objective C
229 and Objective C++ front-end for the LLVM compiler. Its tools are built
230 as libraries and designed to be loosely-coupled and extendable.
232 %description -n clang -l pl.UTF-8
233 clang (z angielskiego): 1. głośny, rezonujący, metaliczny dźwięk; 2.
234 piskliwy odgłos żurawia lub gęsi; 3. narzędzia frontendowe dla języków
237 Celem projektu Clang jest utworzenie nowego frontendu dla kompilatora
238 LLVM do języków C, C++, Objective C i Objective C++. Narzędzia są
239 budowane jako biblioteki i zaprojektowane z myślą o swobodnym łączeniu
242 %package -n clang-analyzer
243 Summary: A source code analysis framework
244 Summary(pl.UTF-8): Szkielet do analizy kodu źródłowego
246 Group: Development/Languages
247 Requires: clang = %{version}-%{release}
248 # not picked up automatically since files are currently not instaled
249 # in standard Python hierarchies yet
252 %description -n clang-analyzer
253 The Clang Static Analyzer consists of both a source code analysis
254 framework and a standalone tool that finds bugs in C and Objective-C
255 programs. The standalone tool is invoked from the command-line, and is
256 intended to run in tandem with a build of a project or code base.
258 %description -n clang-analyzer -l pl.UTF-8
259 Clang Static Analyzer składa się ze szkieletu do analizy kodu
260 źródłowego oraz samodzielnego narzędzia znajdującego błędy w
261 programach w C i C++. Narzędzie jest wywoływane z linii poleceń, z
262 myślą o uruchamianiu wraz z kompilacją projektu lub kodu.
264 %package -n clang-devel
265 Summary: Header files for Clang
266 Summary(pl.UTF-8): Pliki nagłówkowe Clanga
267 Group: Development/Languages
268 Requires: %{name}-devel = %{version}-%{release}
269 Requires: clang = %{version}-%{release}
271 %description -n clang-devel
272 This package contains header files for the Clang compiler.
274 %description -n clang-devel -l pl.UTF-8
275 Ten pakiet zawiera pliki nagłówkowe kompilatora Clang.
277 %package -n clang-doc
278 Summary: Documentation for Clang
279 Summary(pl.UTF-8): Dokumentacja do Clanga
281 Requires: %{name} = %{version}-%{release}
283 %description -n clang-doc
284 Documentation for the Clang compiler front-end.
286 %description -n clang-doc -l pl.UTF-8
287 Dokumentacja do frontendu kompilatora Clang.
289 %package -n clang-apidocs
290 Summary: API documentation for Clang
291 Summary(pl.UTF-8): Dokumentacja API Clanga
292 Group: Development/Languages
293 Requires: clang-doc = %{version}-%{release}
295 %description -n clang-apidocs
296 API documentation for the Clang compiler.
298 %description -n clang-apidocs -l pl.UTF-8
299 Dokumentacja API kompilatora Clang.
301 %package -n clang-tools-extra
302 Summary: Extra tools for Clang
303 Summary(pl.UTF-8): Dodatkowe narzędzia do kompilatora Clang
304 Group: Development/Tools
305 URL: http://clang.llvm.org/docs/ClangTools.html
306 Requires: clang = %{version}-%{release}
308 %description -n clang-tools-extra
309 Extra tools for Clang.
311 %description -n clang-tools-extra -l pl.UTF-8
312 Dodatkowe narzędzia do kompilatora Clang.
315 Summary: The LLVM linker
316 Summary(pl.UTF-8): Konsolidator z projektu LLVM
317 Group: Development/Libraries
318 URL: http://lld.llvm.org/
319 Requires: %{name} = %{version}-%{release}
322 lld is a new set of modular code for creating linker tools.
324 %description -n lld -l pl.UTF-8
325 lld to nowy zbiór modularnego kodu do tworzenia narzędzi
328 %package -n lld-devel
329 Summary: Development files for LLD linker tools
330 Summary(pl.UTF-8): Pliki programistyczne narzędzi konsolidujących LLD
331 Group: Development/Tools
332 URL: http://lld.llvm.org/
333 Requires: %{name}-devel = %{version}-%{release}
335 %description -n lld-devel
336 Development files for LLD linker tools.
338 %description -n lld-devel -l pl.UTF-8
339 Pliki programistyczne narzędzi konsolidujących LLD.
342 Summary: Next generation high-performance debugger
343 Summary(pl.UTF-8): Wydajny debugger nowej generacji
344 Group: Development/Debuggers
345 URL: http://lldb.llvm.org/
346 Requires: %{name} = %{version}-%{release}
349 LLDB is a next generation, high-performance debugger. It is built as a
350 set of reusable components which highly leverage existing libraries in
351 the larger LLVM Project, such as the Clang expression parser and LLVM
354 %description -n lldb -l pl.UTF-8
355 LLDB to wydajny debugger nowej generacji. Jest zbudowany w oparciu o
356 komponenty wielokrotnego użytku, wykorzystujące istniejące biblioteki
357 w projekcie LLVM, takie jak analizator wyrażeń kompilatora Clang oraz
360 %package -n lldb-devel
361 Summary: Development files for LLDB debugger
362 Summary(pl.UTF-8): Pliki programistyczne debuggera LLDB
363 Group: Development/Libraries
364 URL: http://lldb.llvm.org/
365 Requires: %{name}-devel = %{version}-%{release}
366 Requires: clang-devel = %{version}-%{release}
367 Requires: lldb = %{version}-%{release}
369 %description -n lldb-devel
370 Development files for LLDB debugger.
372 %description -n lldb-devel -l pl.UTF-8
373 Pliki programistyczne debuggera LLDB.
376 Summary: OCaml binding for LLVM
377 Summary(pl.UTF-8): Wiązanie OCamla do LLVM-a
379 Requires: %{name} = %{version}-%{release}
380 %requires_eq ocaml-runtime
383 OCaml binding for LLVM.
385 %description ocaml -l pl.UTF-8
386 Wiązanie OCamla do LLVM-a.
389 Summary: Development files for LLVM OCaml binding
390 Summary(pl.UTF-8): Pliki programistyczne wiązania OCamla do LLVM-a
391 Group: Development/Libraries
392 Requires: %{name}-devel = %{version}-%{release}
393 Requires: %{name}-ocaml = %{version}-%{release}
395 %description ocaml-devel
396 The llvm-ocaml-devel package contains libraries and signature files
397 for developing applications that use llvm-ocaml binding.
399 %description ocaml-devel -l pl.UTF-8
400 Ten pakiet zawiera biblioteki i pliki sygnatur do tworzenia aplikacji
401 wykorzystujących wiązanie llvm-ocaml.
404 Summary: Documentation for LLVM's OCaml binding
405 Summary(pl.UTF-8): Dokumentacja wiązania OCamla do LLVM-a
407 Requires: %{name}-ocaml = %{version}-%{release}
409 %description ocaml-doc
410 HTML documentation for LLVM's OCaml binding.
412 %description ocaml-doc -l pl.UTF-8
413 Dokumentacja HTML wiązania OCamla do LLVM-a.
416 %setup -q -n %{name}-%{version}.src -a1 %{?with_rt:-a2} %{?with_lldb:-a3} %{?with_polly:-a4} -a5 -a6
417 mv cfe-%{version}.src tools/clang
418 %{?with_rt:mv compiler-rt-%{version}.src projects/compiler-rt}
419 %{?with_lldb:mv lldb-%{version}.src tools/lldb}
420 %{?with_polly:mv polly-%{version}.src tools/polly}
421 mv clang-tools-extra-%{version}.src tools/clang/tools/extra
422 mv lld-%{version}.src tools/lld
436 ## configure does not properly specify libdir
437 #%{__sed} -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}|g' Makefile.config.in
439 #%{__sed} -i 's|(PROJ_prefix)/lib/|(PROJ_prefix)/%{_lib}/|g' tools/clang/lib/Headers/Makefile
440 #%{__sed} -i 's|"lib"|"%{_lib}"|' tools/clang/lib/Driver/Driver.cpp
442 grep -rl /usr/bin/env tools utils | xargs sed -i -e '1{
443 s,^#!.*bin/env python,#!%{__python},
444 s,^#!.*bin/env perl,#!%{__perl},
449 %if "%{_lib}" != "lib"
450 # workaround for clang relative search paths building
451 install -d obj/Release
452 ln -snf lib obj/Release/%{_lib}
457 %{__autoconf} -o ../configure configure.ac
459 %{__autoheader} -I autoconf -I autoconf/m4 autoconf/configure.ac
461 cd tools/polly/autoconf
462 %{__aclocal} -I m4 -I ../../../autoconf/m4
463 %{__autoconf} -o ../configure configure.ac
465 %{__autoheader} -I autoconf -I autoconf/m4 -I ../../../autoconf/m4 autoconf/configure.ac
469 # Disabling assertions now, rec. by pure and needed for OpenGTL
470 # TESTFIX no PIC on ix86: http://llvm.org/bugs/show_bug.cgi?id=3801
472 # bash specific 'test a < b'
474 CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
477 --datadir=%{_datadir}/%{name}-%{version} \
478 --disable-assertions \
484 --enable-bindings=%{?with_ocaml:ocaml}%{!?with_ocaml:none} \
485 --enable-debug-runtime \
489 --enable-experimental-targets=R600 \
498 OPTIMIZE_OPTION="%{rpmcflags} %{rpmcppflags}"
501 %{__make} check 2>&1 | tee llvm-testlog.txt
502 %{__make} -C tools/clang test 2>&1 | tee clang-testlog.txt
508 %{__make} -C docs -f Makefile.sphinx man
509 %{__make} -C tools/clang/tools/extra/docs html
513 rm -rf $RPM_BUILD_ROOT
514 %{__make} -C obj -j1 install \
515 PROJ_docsdir=/moredocs \
517 DESTDIR=$RPM_BUILD_ROOT
519 # Static analyzer not installed by default:
520 # http://clang-analyzer.llvm.org/installation#OtherPlatforms
521 install -d $RPM_BUILD_ROOT%{_libdir}/clang-analyzer
523 for f in scan-{build,view}; do
524 ln -s %{_libdir}/clang-analyzer/$f/$f $RPM_BUILD_ROOT%{_bindir}/$f
525 cp -pr tools/clang/tools/$f $RPM_BUILD_ROOT%{_libdir}/clang-analyzer
527 %{__mv} $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/scan-build/scan-build.1 $RPM_BUILD_ROOT%{_mandir}/man1
528 %py_comp $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/scan-view
529 %py_ocomp $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/scan-view
530 %py_postclean %{_libdir}/clang-analyzer/scan-view
532 %{__rm} $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/scan-build/*.bat
535 install -d $RPM_BUILD_ROOT%{_mandir}/man1
536 cp -p docs/_build/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
537 # these tools are not installed
538 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{FileCheck,llvm-build}.1
540 echo '.so llvm-ar.1' > $RPM_BUILD_ROOT%{_mandir}/man1/llvm-ranlib.1
543 # Move documentation back to build directory
545 mv $RPM_BUILD_ROOT/moredocs .
546 %{__rm} -v moredocs/*.tar.gz
548 %{__rm} -v moredocs/ocamldoc/html/*.tar.gz
551 # and separate the apidoc
553 rm -rf apidoc clang-apidoc
554 mv moredocs/html/doxygen apidoc
555 cp -a tools/clang/docs/doxygen/html clang-apidoc
558 # And prepare Clang documentation
560 install -d clang-docs
561 for f in LICENSE.TXT NOTES.txt README.txt; do
562 ln tools/clang/$f clang-docs
565 # Get rid of erroneously installed example files.
566 %{__rm} -v $RPM_BUILD_ROOT%{_libdir}/*LLVMHello.*
567 # parts of test suite
568 %{__rm} $RPM_BUILD_ROOT%{_bindir}/{FileCheck,count,not}
569 %{__rm} $RPM_BUILD_ROOT%{_bindir}/linker-script-test
571 # remove documentation makefiles:
572 # they require the build directory to work
573 rm -rf moredocs/examples
574 cp -a examples moredocs/examples
575 find moredocs/examples -name Makefile | xargs -0r rm -f
578 rm -rf $RPM_BUILD_ROOT
580 %post libs -p /sbin/ldconfig
581 %postun libs -p /sbin/ldconfig
583 %post -n clang -p /sbin/ldconfig
584 %postun -n clang -p /sbin/ldconfig
586 %post -n lldb -p /sbin/ldconfig
587 %postun -n lldb -p /sbin/ldconfig
590 %defattr(644,root,root,755)
591 %doc CREDITS.TXT LICENSE.TXT README.txt %{?with_tests:llvm-testlog.txt}
592 %attr(755,root,root) %{_bindir}/bugpoint
593 %attr(755,root,root) %{_bindir}/llc
594 %attr(755,root,root) %{_bindir}/lli
595 %attr(755,root,root) %{_bindir}/lli-child-target
596 %attr(755,root,root) %{_bindir}/llvm-ar
597 %attr(755,root,root) %{_bindir}/llvm-as
598 %attr(755,root,root) %{_bindir}/llvm-bcanalyzer
599 %attr(755,root,root) %{_bindir}/llvm-cov
600 %attr(755,root,root) %{_bindir}/llvm-diff
601 %attr(755,root,root) %{_bindir}/llvm-dis
602 %attr(755,root,root) %{_bindir}/llvm-dsymutil
603 %attr(755,root,root) %{_bindir}/llvm-dwarfdump
604 %attr(755,root,root) %{_bindir}/llvm-extract
605 %attr(755,root,root) %{_bindir}/llvm-link
606 %attr(755,root,root) %{_bindir}/llvm-mc
607 %attr(755,root,root) %{_bindir}/llvm-mcmarkup
608 %attr(755,root,root) %{_bindir}/llvm-nm
609 %attr(755,root,root) %{_bindir}/llvm-objdump
610 %attr(755,root,root) %{_bindir}/llvm-profdata
611 %attr(755,root,root) %{_bindir}/llvm-ranlib
612 %attr(755,root,root) %{_bindir}/llvm-readobj
613 %attr(755,root,root) %{_bindir}/llvm-rtdyld
614 %attr(755,root,root) %{_bindir}/llvm-size
615 %attr(755,root,root) %{_bindir}/llvm-stress
616 %attr(755,root,root) %{_bindir}/llvm-symbolizer
617 %attr(755,root,root) %{_bindir}/llvm-tblgen
618 %attr(755,root,root) %{_bindir}/llvm-vtabledump
619 %attr(755,root,root) %{_bindir}/macho-dump
620 %attr(755,root,root) %{_bindir}/obj2yaml
621 %attr(755,root,root) %{_bindir}/opt
622 %attr(755,root,root) %{_bindir}/verify-uselistorder
623 %attr(755,root,root) %{_bindir}/yaml2obj
625 %{_mandir}/man1/bugpoint.1*
626 %{_mandir}/man1/lit.1*
627 %{_mandir}/man1/llc.1*
628 %{_mandir}/man1/lli.1*
629 %{_mandir}/man1/llvm-ar.1*
630 %{_mandir}/man1/llvm-as.1*
631 %{_mandir}/man1/llvm-bcanalyzer.1*
632 %{_mandir}/man1/llvm-cov.1*
633 %{_mandir}/man1/llvm-diff.1*
634 %{_mandir}/man1/llvm-dis.1*
635 %{_mandir}/man1/llvm-dwarfdump.1*
636 %{_mandir}/man1/llvm-extract.1*
637 %{_mandir}/man1/llvm-link.1*
638 %{_mandir}/man1/llvm-nm.1*
639 %{_mandir}/man1/llvm-profdata.1*
640 %{_mandir}/man1/llvm-ranlib.1*
641 %{_mandir}/man1/llvm-readobj.1*
642 %{_mandir}/man1/llvm-stress.1*
643 %{_mandir}/man1/llvm-symbolizer.1*
644 %{_mandir}/man1/opt.1*
645 %{_mandir}/man1/tblgen.1*
649 %defattr(644,root,root,755)
650 %attr(755,root,root) %{_libdir}/libLLVM-%{version}.so
651 %attr(755,root,root) %{_libdir}/libLLVM-3.6.so
654 %defattr(644,root,root,755)
655 %attr(755,root,root) %{_bindir}/llvm-config
656 %{_libdir}/libLLVM*.a
658 %attr(755,root,root) %{_libdir}/BugpointPasses.so
659 %attr(755,root,root) %{_libdir}/libLTO.so
663 %{_includedir}/llvm-c
664 %dir %{_datadir}/llvm
665 %{_datadir}/llvm/cmake
667 %{_mandir}/man1/llvm-config.1*
671 %defattr(644,root,root,755)
672 %doc moredocs/examples moredocs/html
676 %defattr(644,root,root,755)
682 %defattr(644,root,root,755)
683 %doc tools/polly/{CREDITS.txt,LICENSE.txt,README}
684 %attr(755,root,root) %{_libdir}/LLVMPolly.so
687 %defattr(644,root,root,755)
692 %defattr(644,root,root,755)
693 %doc clang-docs/{LICENSE.TXT,NOTES.txt,README.txt} %{?with_tests:clang-testlog.txt}
694 %attr(755,root,root) %{_bindir}/c-index-test
695 %attr(755,root,root) %{_bindir}/clang
696 %attr(755,root,root) %{_bindir}/clang++
697 %attr(755,root,root) %{_bindir}/clang-check
698 %attr(755,root,root) %{_bindir}/clang-format
699 %attr(755,root,root) %{_bindir}/clang-tblgen
700 %attr(755,root,root) %{_libdir}/libclang.so
701 %dir %{_libdir}/clang
702 %dir %{_libdir}/clang/%{version}
703 %{_libdir}/clang/%{version}/include
705 %{_libdir}/clang/%{version}/lib
707 %{_mandir}/man1/clang.1*
709 %files -n clang-analyzer
710 %defattr(644,root,root,755)
711 %attr(755,root,root) %{_bindir}/scan-build
712 %attr(755,root,root) %{_bindir}/scan-view
713 %{_mandir}/man1/scan-build.1*
714 %dir %{_libdir}/clang-analyzer
716 %dir %{_libdir}/clang-analyzer/scan-build
717 %{_libdir}/clang-analyzer/scan-build/*.css
718 %{_libdir}/clang-analyzer/scan-build/*.js
719 %attr(755,root,root) %{_libdir}/clang-analyzer/scan-build/scan-build
720 %attr(755,root,root) %{_libdir}/clang-analyzer/scan-build/*-analyzer
722 %dir %{_libdir}/clang-analyzer/scan-view
723 %attr(755,root,root) %{_libdir}/clang-analyzer/scan-view/scan-view
724 %{_libdir}/clang-analyzer/scan-view/Resources
725 %{_libdir}/clang-analyzer/scan-view/*.py[co]
727 %files -n clang-devel
728 %defattr(644,root,root,755)
729 %{_libdir}/libclang*.a
731 %{_includedir}/clang-c
734 %defattr(644,root,root,755)
735 %doc tools/clang/docs/*.{css,html,png,txt}
738 %files -n clang-apidocs
739 %defattr(644,root,root,755)
743 %files -n clang-tools-extra
744 %defattr(644,root,root,755)
745 %doc tools/clang/tools/extra/{CODE_OWNERS.TXT,README.txt,docs/_build/html/{*.html,*.js,_static}}
746 %attr(755,root,root) %{_bindir}/clang-apply-replacements
747 %attr(755,root,root) %{_bindir}/clang-modernize
748 %attr(755,root,root) %{_bindir}/clang-query
749 %attr(755,root,root) %{_bindir}/clang-rename
750 %attr(755,root,root) %{_bindir}/clang-tidy
751 %attr(755,root,root) %{_bindir}/pp-trace
752 %{_libdir}/libmodernizeCore.a
755 %defattr(644,root,root,755)
756 %doc tools/lld/{LICENSE.TXT,README.md}
757 %attr(755,root,root) %{_bindir}/lld
760 %defattr(644,root,root,755)
761 %{_libdir}/liblldConfig.a
762 %{_libdir}/liblldCore.a
763 %{_libdir}/liblldDriver.a
764 %{_libdir}/liblldELF.a
765 %{_libdir}/liblldMachO.a
766 %{_libdir}/liblldNative.a
767 %{_libdir}/liblldPECOFF.a
768 %{_libdir}/liblldPasses.a
769 %{_libdir}/liblldReaderWriter.a
770 %{_libdir}/liblldYAML.a
771 %{_libdir}/liblld*ELFTarget.a
776 %defattr(644,root,root,755)
777 %attr(755,root,root) %{_bindir}/lldb
778 %attr(755,root,root) %{_bindir}/lldb-gdbserver
779 %attr(755,root,root) %{_bindir}/lldb-mi
780 %attr(755,root,root) %{_bindir}/lldb-platform
781 %attr(755,root,root) %{_libdir}/liblldb.so
782 %dir %{py_sitedir}/lldb
783 %attr(755,root,root) %{py_sitedir}/lldb/_lldb.so
784 %attr(755,root,root) %{py_sitedir}/readline.so
787 %defattr(644,root,root,755)
788 %{_libdir}/liblldb*.a
794 %defattr(644,root,root,755)
795 %{_libdir}/ocaml/META.llvm*
796 %attr(755,root,root) %{_libdir}/ocaml/dllllvm*.so
797 %{_libdir}/ocaml/llvm*.cma
798 %{_libdir}/ocaml/llvm*.cmi
801 %defattr(644,root,root,755)
802 %{_libdir}/ocaml/libLLVM*.a
803 %{_libdir}/ocaml/libllvm*.a
804 %{_libdir}/ocaml/llvm*.a
805 %{_libdir}/ocaml/llvm*.cmx*
806 %{_libdir}/ocaml/llvm*.mli
809 %defattr(644,root,root,755)
810 %doc moredocs/ocamldoc/html/*