]> git.pld-linux.org Git - packages/llvm.git/blame - llvm.spec
- updated to 4.0.1
[packages/llvm.git] / llvm.spec
CommitLineData
6df3b432
JB
1# TODO:
2# - move and package:
5013c7ea 3# %{_datadir}/clang/bash-autocomplete.sh
6df3b432 4# %{_datadir}/clang/clang-format-sublime.py - sublime plugin
5013c7ea
JB
5# %{_datadir}/clang/clang-format.el - clang tools emacs integration
6# %{_datadir}/clang/clang-include-fixer.el
7# %{_datadir}/clang/clang-rename.el
8# %{_datadir}/clang/clang-format.py - clang tools vim integration
9# %{_datadir}/clang/clang-rename.py
6df3b432 10# - no content in doc package (it used to contain parts of clang apidocs and some examples)
6c2b1a44 11# - system isl in polly?
bc88141a 12#
9556f4c9 13# Conditional build:
589b92f5
JB
14%bcond_without lldb # LLDB debugger
15%bcond_without polly # Polly cache-locality optimization, auto-parallelism and vectorization
16%bcond_without rt # compiler-rt libraries
17%bcond_without multilib # compiler-rt multilib libraries
18%bcond_without ocaml # OCaml binding
19%bcond_without doc # HTML docs and man pages
20%bcond_with apidocs # doxygen docs (HUGE, so they are not built by default)
21%bcond_with tests # run tests
9556f4c9 22
4ba3b2b3 23# No ocaml on other arches or no native ocaml (required for ocaml-ctypes)
5013c7ea 24%ifnarch %{ix86} %{x8664} %{arm} aarch64 ppc sparc sparcv9
9556f4c9
ER
25%undefine with_ocaml
26%endif
27
aa11c230 28Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
2326a99f 29Summary(pl.UTF-8): Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
aa11c230 30Name: llvm
5013c7ea
JB
31Version: 4.0.1
32Release: 1
aa11c230 33License: University of Illinois/NCSA Open Source License
34Group: Development/Languages
5013c7ea
JB
35#Source0Download: http://releases.llvm.org/download.html
36Source0: http://releases.llvm.org/%{version}/%{name}-%{version}.src.tar.xz
37# Source0-md5: a818e70321b91e2bb2d47e60edd5408f
38Source1: http://releases.llvm.org/%{version}/cfe-%{version}.src.tar.xz
39# Source1-md5: a6c7b3e953f8b93e252af5917df7db97
40Source2: http://releases.llvm.org/%{version}/compiler-rt-%{version}.src.tar.xz
41# Source2-md5: 0227ac853ce422125f8bb08f6ad5c995
42Source3: http://releases.llvm.org/%{version}/lldb-%{version}.src.tar.xz
43# Source3-md5: 908bdd777d3b527a914ba360477b8ab3
44Source4: http://releases.llvm.org/%{version}/polly-%{version}.src.tar.xz
45# Source4-md5: 0d4a3fa2eb446a378bbf01b220851b1f
46Source5: http://releases.llvm.org/%{version}/clang-tools-extra-%{version}.src.tar.xz
47# Source5-md5: cfd46027a0ab7eed483dfcc803e86bd9
48Source6: http://releases.llvm.org/%{version}/lld-%{version}.src.tar.xz
49# Source6-md5: 39cd3512cddcfd7d37ef12066c961660
9f7b77bd 50Patch1: %{name}-pld.patch
9f7b77bd 51Patch3: x32-gcc-toolchain.patch
d96b39d3 52Patch4: cmake-buildtype.patch
d706a70d 53Patch5: %{name}-ocaml-shared.patch
3a980ab4 54Patch6: D35246.diff
20d59128 55Patch7: gcc7.patch
2326a99f 56URL: http://llvm.org/
bc88141a 57BuildRequires: bash
d997b14b 58BuildRequires: bison
036156f1 59BuildRequires: cmake >= 3.4.3
d997b14b 60BuildRequires: flex
dd9350c7
JB
61BuildRequires: gcc >= 5:3.4
62# gcc4 might be installed, but not current __cc
63%if "%(echo %{cc_version} | cut -d. -f1,2)" < "3.4"
64BuildRequires: __cc >= 3.4
9556f4c9 65%endif
2bbd0701
JR
66%ifarch x32
67BuildRequires: glibc-devel(x86_64)
68%endif
d997b14b 69BuildRequires: groff
6c2b1a44 70BuildRequires: libedit-devel
bc88141a 71BuildRequires: libltdl-devel
d997b14b 72BuildRequires: libstdc++-devel >= 5:3.4
6c2b1a44 73BuildRequires: ncurses-devel
2bbd0701 74%if %{with ocaml}
5013c7ea 75BuildRequires: ocaml >= 4.00.0
c6c890ee 76BuildRequires: ocaml-ctypes-devel >= 0.4
2bbd0701 77BuildRequires: ocaml-findlib
77c13dab 78BuildRequires: ocaml-ocamldoc
5013c7ea 79BuildRequires: ocaml-ounit >= 2
2bbd0701 80%endif
8132e62b 81BuildRequires: perl-base >= 1:5.6
8c156e7d 82BuildRequires: perl-tools-pod
6c2b1a44 83BuildRequires: python >= 1:2.7
8c156e7d 84BuildRequires: rpm-pythonprov
b0068ae4 85%{?with_doc:BuildRequires: sphinx-pdg}
b883cf1e
JB
86BuildRequires: tar >= 1:1.22
87BuildRequires: xz
6c2b1a44 88BuildRequires: zlib-devel
dd9350c7
JB
89%if %{with apidocs}
90BuildRequires: doxygen
91BuildRequires: graphviz
92%endif
93%if %{with tests}
94BuildRequires: dejagnu
dd9350c7 95BuildRequires: tcl-devel
356a0bbd 96%endif
589b92f5
JB
97%if %{with rt} && %{with multilib}
98%ifarch %{x8664}
99BuildRequires: gcc-c++-multilib-32
100BuildRequires: libstdc++-multilib-32-devel
101%endif
fe705967
JK
102%ifarch x32
103BuildRequires: gcc-c++-multilib-32
104BuildRequires: libstdc++-multilib-32-devel
105BuildRequires: gcc-c++-multilib-64
106BuildRequires: libstdc++-multilib-64-devel
107%endif
589b92f5 108%endif
b883cf1e 109%if %{with lldb}
c6c890ee 110BuildRequires: epydoc
64f4e87f
JB
111%ifarch i386 i486
112BuildRequires: libatomic-devel
113%endif
b883cf1e
JB
114BuildRequires: libxml2-devel >= 2
115BuildRequires: ncurses-ext-devel
116BuildRequires: python-devel >= 2
c6c890ee 117BuildRequires: swig-python
b883cf1e 118%endif
b0068ae4 119%if %{with polly}
6c2b1a44
JB
120#BuildRequires: gmp-devel or imath-devel (private copy in polly/lib/External/isl/imath)
121# private copy in polly/lib/External/isl
5013c7ea 122#BuildRequires: isl-devel >= 0.18
6c2b1a44 123#TODO (bcond): cuda-devel (with POLLY_ENABLE_GPGPU_CODEGEN=ON)
b0068ae4 124%endif
634a3e5b
JB
125%if %{with ocaml}
126BuildConflicts: llvm-ocaml
127%endif
8c514f23 128Requires: %{name}-libs = %{version}-%{release}
9556f4c9
ER
129# LLVM is not supported on PPC64
130# http://llvm.org/bugs/show_bug.cgi?id=3729
131ExcludeArch: ppc64
aa11c230 132BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
133
5013c7ea 134%define abi 4.0
356a0bbd 135%define _sysconfdir /etc/%{name}
021b3c3d 136
9556f4c9 137%define specflags_ppc -fno-var-tracking-assignments
af221038 138# ix86 and x32 - the same issue as https://llvm.org/bugs/show_bug.cgi?id=27237
5013c7ea
JB
139# use -gsplit-dwarf only when building packages with debuginfo
140# to avoid excessive disk space usage
141%if 0%{?_enable_debug_packages}
af221038 142%define specflags_ia32 -gsplit-dwarf
35707fa4 143%define specflags_x32 -gsplit-dwarf
5013c7ea 144%endif
9556f4c9 145
6832a5c5
ER
146# strip corrupts: $RPM_BUILD_ROOT/usr/lib64/llvm-gcc/bin/llvm-c++ ...
147%define _noautostrip .*/\\(libmud.*\\.a\\|bin/llvm-.*\\|lib.*++\\.a\\)
148
782c6e1e
ER
149# clang doesn't know -fvar-tracking-assignments, and leaving it here would pollute llvm-config
150# -Werror=format-security is for swig
151# TODO: add - -Werror=format-security to tools/lldb/scripts/LLDBWrapPython.cpp
4a1d21cc 152%define filterout_c -fvar-tracking-assignments
782c6e1e 153%define filterout_cxx -fvar-tracking-assignments -Werror=format-security
4a1d21cc
JR
154%define filterout_ccpp -fvar-tracking-assignments
155
6df3b432 156# std::__once_call, std::__once_callable non-function symbols
5013c7ea 157%define skip_post_check_so libclang.so.* liblldb.so.*
6df3b432 158
aa11c230 159%description
160LLVM is a compiler infrastructure designed for compile-time,
161link-time, runtime, and idle-time optimization of programs from
162arbitrary programming languages. LLVM is written in C++ and has been
163developed since 2000 at the University of Illinois and Apple. It
621ec11f
JB
164currently supports compilation of C and C++ programs using clang
165frontend.
aa11c230 166
2326a99f
JB
167%description -l pl.UTF-8
168LLVM to infrastruktura kompilatora zaprojektowana do optymalizacji
169czasu kompilowania, linkowania, działania i bezczynności programów w
170dowolnych językach programowania. Jest napisana w C++, rozwijana od
171roku 2000 przez Uniwersytet w Illinois i Apple. Aktualnie obsługuje
621ec11f 172kompilację programów w C i C++ przy użyciu frontendu clang.
2326a99f 173
8c514f23 174%package libs
87977e26
JR
175Summary: LLVM shared libraries
176Summary(pl.UTF-8): Biblioteki współdzielone LLVM-a
8c514f23
JB
177Group: Libraries
178Conflicts: llvm < 3.2
179
180%description libs
87977e26 181LLVM shared libraries.
8c514f23
JB
182
183%description libs -l pl.UTF-8
87977e26 184Biblioteki współdzielone LLVM-a.
8c514f23 185
bc88141a 186%package devel
621ec11f
JB
187Summary: Static libraries and header files for LLVM
188Summary(pl.UTF-8): Biblioteki statyczne i pliki nagłówkowe dla LLVM-a
bc88141a 189Group: Development/Languages
8c514f23 190Requires: %{name}-libs = %{version}-%{release}
bc88141a
ER
191Requires: libstdc++-devel >= 6:3.4
192
193%description devel
621ec11f
JB
194This package contains static libraries and header files needed to
195develop new native programs that use the LLVM infrastructure.
196
197%description devel -l pl.UTF-8
198Ten pakiet zawiera biblioteki statyczne oraz pliki nagłówkowe
199potrzebne do tworzenia nowych programów natywnych wykorzystujących
200infrastrukturę LLVM.
bc88141a 201
9556f4c9
ER
202%package doc
203Summary: Documentation for LLVM
621ec11f 204Summary(pl.UTF-8): Dokumentacja do LLVM-a
9556f4c9
ER
205Group: Documentation
206# does not require base
bc88141a 207
9556f4c9
ER
208%description doc
209Documentation for the LLVM compiler infrastructure.
bc88141a 210
621ec11f
JB
211%description doc -l pl.UTF-8
212Dokumentacja do infrastruktury kompilatorów LLVM.
213
9556f4c9
ER
214%package apidocs
215Summary: API documentation for LLVM
621ec11f 216Summary(pl.UTF-8): Dokumentacja API LLVM-a
9556f4c9
ER
217Group: Development/Languages
218Requires: %{name}-doc = %{version}-%{release}
bc88141a 219
9556f4c9
ER
220%description apidocs
221API documentation for the LLVM compiler infrastructure.
bc88141a 222
621ec11f
JB
223%description apidocs -l pl.UTF-8
224Dokumentacja API infrastruktury kompilatorów LLVM.
225
b0068ae4
JB
226%package polly
227Summary: Polyhedral optimizations for LLVM
228Summary(pl.UTF-8): Optymalizacje wielościanowe dla LLVM-a
229Group: Development/Tools
230URL: http://polly.llvm.org/
231Requires: %{name} = %{version}-%{release}
232
233%description polly
234Polly is a high-level loop and data-locality optimizer and
235optimization infrastructure for LLVM. It uses an abstract mathematical
236representation based on integer polyhedra to analyze and optimize the
237memory access pattern of a program.
238
239%description polly -l pl.UTF-8
240Polly to wysokopoziomowy optymalizator i infrastruktura LLVM-a do
241optymalizacji pętli i położenia danych. Wykorzystuje abstrakcyjną
242reprezentację matematyczną opartą na wielościanach całkowitoliczbowych
243do analizy i optymalizacji wzorców dostępu do pamięci przez program.
244
245%package polly-devel
246Summary: Header files for LLVM Polly optimization infrastructure
247Summary(pl.UTF-8): Pliki nagłówkowe infrastruktury optymalizacji LLVM-a Polly
248Group: Development/Libraries
249URL: http://polly.llvm.org/
250Requires: %{name}-devel = %{version}-%{release}
251Requires: %{name}-polly = %{version}-%{release}
252
253%description polly-devel
254Header files for LLVM Polly optimization infrastructure.
255
256%description polly-devel -l pl.UTF-8
257Pliki nagłówkowe infrastruktury optymalizacji LLVM-a Polly.
258
d997b14b
AM
259%package -n clang
260Summary: A C language family frontend for LLVM
621ec11f 261Summary(pl.UTF-8): Frontend LLVM-a do języków z rodziny C
d997b14b
AM
262License: NCSA
263Group: Development/Languages
8c514f23 264Requires: %{name} = %{version}-%{release}
87977e26 265Requires: clang-libs = %{version}-%{release}
d997b14b
AM
266
267%description -n clang
268clang: noun 1. A loud, resonant, metallic sound. 2. The strident call
269of a crane or goose. 3. C-language family front-end toolkit.
270
271The goal of the Clang project is to create a new C, C++, Objective C
272and Objective C++ front-end for the LLVM compiler. Its tools are built
273as libraries and designed to be loosely-coupled and extendable.
274
621ec11f
JB
275%description -n clang -l pl.UTF-8
276clang (z angielskiego): 1. głośny, rezonujący, metaliczny dźwięk; 2.
277piskliwy odgłos żurawia lub gęsi; 3. narzędzia frontendowe dla języków
278z rodziny C.
279
280Celem projektu Clang jest utworzenie nowego frontendu dla kompilatora
281LLVM do języków C, C++, Objective C i Objective C++. Narzędzia są
282budowane jako biblioteki i zaprojektowane z myślą o swobodnym łączeniu
283i rozszerzaniu.
284
87977e26
JR
285%package -n clang-libs
286Summary: Clang shared libraries
287Summary(pl.UTF-8): Biblioteki współdzielone Clanga
288Group: Libraries
289
290%description -n clang-libs
291Clang shared libraries.
292
293%description -n clang-libs -l pl.UTF-8
294Biblioteki współdzielone Clanga.
295
9eefd942
JR
296%package -n clang-multilib
297Summary: A C language family frontend for LLVM - 32-bit support
298Summary(pl.UTF-8): Frontend LLVM-a do języków z rodziny C - obsługa binariów 32-bitowych
299License: NCSA
300Group: Development/Languages
301Requires: clang = %{version}-%{release}
302
303%description -n clang-multilib
304clang: noun 1. A loud, resonant, metallic sound. 2. The strident call
305of a crane or goose. 3. C-language family front-end toolkit.
306
307The goal of the Clang project is to create a new C, C++, Objective C
308and Objective C++ front-end for the LLVM compiler. Its tools are built
309as libraries and designed to be loosely-coupled and extendable.
310
311This package contains the C compiler support for producing 32-bit
312programs on 64-bit host.
313
314%description -n clang-multilib -l pl.UTF-8
315clang (z angielskiego): 1. głośny, rezonujący, metaliczny dźwięk; 2.
316piskliwy odgłos żurawia lub gęsi; 3. narzędzia frontendowe dla języków
317z rodziny C.
318
319Celem projektu Clang jest utworzenie nowego frontendu dla kompilatora
320LLVM do języków C, C++, Objective C i Objective C++. Narzędzia są
321budowane jako biblioteki i zaprojektowane z myślą o swobodnym łączeniu
322i rozszerzaniu.
323
324Ten pakiet zawiera rozszerzenie kompilatora C o obsługę tworzenia
325programów 32-bitowych na maszynie 64-bitowej.
326
d997b14b
AM
327%package -n clang-analyzer
328Summary: A source code analysis framework
621ec11f 329Summary(pl.UTF-8): Szkielet do analizy kodu źródłowego
d997b14b
AM
330License: NCSA
331Group: Development/Languages
332Requires: clang = %{version}-%{release}
333# not picked up automatically since files are currently not instaled
334# in standard Python hierarchies yet
335Requires: python
336
337%description -n clang-analyzer
338The Clang Static Analyzer consists of both a source code analysis
339framework and a standalone tool that finds bugs in C and Objective-C
340programs. The standalone tool is invoked from the command-line, and is
341intended to run in tandem with a build of a project or code base.
342
621ec11f
JB
343%description -n clang-analyzer -l pl.UTF-8
344Clang Static Analyzer składa się ze szkieletu do analizy kodu
345źródłowego oraz samodzielnego narzędzia znajdującego błędy w
346programach w C i C++. Narzędzie jest wywoływane z linii poleceń, z
347myślą o uruchamianiu wraz z kompilacją projektu lub kodu.
348
9556f4c9 349%package -n clang-devel
621ec11f
JB
350Summary: Header files for Clang
351Summary(pl.UTF-8): Pliki nagłówkowe Clanga
9556f4c9 352Group: Development/Languages
8c514f23 353Requires: %{name}-devel = %{version}-%{release}
9556f4c9
ER
354Requires: clang = %{version}-%{release}
355
356%description -n clang-devel
357This package contains header files for the Clang compiler.
358
621ec11f
JB
359%description -n clang-devel -l pl.UTF-8
360Ten pakiet zawiera pliki nagłówkowe kompilatora Clang.
361
9556f4c9
ER
362%package -n clang-doc
363Summary: Documentation for Clang
621ec11f 364Summary(pl.UTF-8): Dokumentacja do Clanga
9556f4c9
ER
365Group: Documentation
366Requires: %{name} = %{version}-%{release}
367
368%description -n clang-doc
369Documentation for the Clang compiler front-end.
370
621ec11f
JB
371%description -n clang-doc -l pl.UTF-8
372Dokumentacja do frontendu kompilatora Clang.
373
9556f4c9
ER
374%package -n clang-apidocs
375Summary: API documentation for Clang
621ec11f 376Summary(pl.UTF-8): Dokumentacja API Clanga
9556f4c9
ER
377Group: Development/Languages
378Requires: clang-doc = %{version}-%{release}
379
380%description -n clang-apidocs
381API documentation for the Clang compiler.
382
621ec11f
JB
383%description -n clang-apidocs -l pl.UTF-8
384Dokumentacja API kompilatora Clang.
385
b0068ae4
JB
386%package -n clang-tools-extra
387Summary: Extra tools for Clang
388Summary(pl.UTF-8): Dodatkowe narzędzia do kompilatora Clang
389Group: Development/Tools
390URL: http://clang.llvm.org/docs/ClangTools.html
391Requires: clang = %{version}-%{release}
392
393%description -n clang-tools-extra
394Extra tools for Clang.
395
396%description -n clang-tools-extra -l pl.UTF-8
397Dodatkowe narzędzia do kompilatora Clang.
398
ba1cf74d
JB
399%package -n lld
400Summary: The LLVM linker
401Summary(pl.UTF-8): Konsolidator z projektu LLVM
402Group: Development/Libraries
403URL: http://lld.llvm.org/
404Requires: %{name} = %{version}-%{release}
405
406%description -n lld
407lld is a new set of modular code for creating linker tools.
408
409%description -n lld -l pl.UTF-8
410lld to nowy zbiór modularnego kodu do tworzenia narzędzi
411konsolidujących.
412
413%package -n lld-devel
414Summary: Development files for LLD linker tools
415Summary(pl.UTF-8): Pliki programistyczne narzędzi konsolidujących LLD
416Group: Development/Tools
417URL: http://lld.llvm.org/
418Requires: %{name}-devel = %{version}-%{release}
419
420%description -n lld-devel
421Development files for LLD linker tools.
422
423%description -n lld-devel -l pl.UTF-8
424Pliki programistyczne narzędzi konsolidujących LLD.
425
5a7ac479
JB
426%package -n lldb
427Summary: Next generation high-performance debugger
428Summary(pl.UTF-8): Wydajny debugger nowej generacji
429Group: Development/Debuggers
ba1cf74d 430URL: http://lldb.llvm.org/
5a7ac479 431Requires: %{name} = %{version}-%{release}
d706a70d 432Requires: python-six
5a7ac479
JB
433
434%description -n lldb
435LLDB is a next generation, high-performance debugger. It is built as a
436set of reusable components which highly leverage existing libraries in
437the larger LLVM Project, such as the Clang expression parser and LLVM
438disassembler.
439
440%description -n lldb -l pl.UTF-8
441LLDB to wydajny debugger nowej generacji. Jest zbudowany w oparciu o
442komponenty wielokrotnego użytku, wykorzystujące istniejące biblioteki
443w projekcie LLVM, takie jak analizator wyrażeń kompilatora Clang oraz
444disasembler LLVM.
445
446%package -n lldb-devel
ba1cf74d
JB
447Summary: Development files for LLDB debugger
448Summary(pl.UTF-8): Pliki programistyczne debuggera LLDB
5a7ac479 449Group: Development/Libraries
ba1cf74d 450URL: http://lldb.llvm.org/
5a7ac479
JB
451Requires: %{name}-devel = %{version}-%{release}
452Requires: clang-devel = %{version}-%{release}
453Requires: lldb = %{version}-%{release}
454
455%description -n lldb-devel
ba1cf74d 456Development files for LLDB debugger.
5a7ac479
JB
457
458%description -n lldb-devel -l pl.UTF-8
ba1cf74d 459Pliki programistyczne debuggera LLDB.
5a7ac479 460
9556f4c9
ER
461%package ocaml
462Summary: OCaml binding for LLVM
621ec11f
JB
463Summary(pl.UTF-8): Wiązanie OCamla do LLVM-a
464Group: Libraries
9556f4c9 465Requires: %{name} = %{version}-%{release}
c450bf27 466%if %{with ocaml}
9556f4c9 467%requires_eq ocaml-runtime
c450bf27 468%endif
9556f4c9 469
621ec11f 470%description ocaml
9556f4c9
ER
471OCaml binding for LLVM.
472
621ec11f
JB
473%description ocaml -l pl.UTF-8
474Wiązanie OCamla do LLVM-a.
475
9556f4c9 476%package ocaml-devel
621ec11f
JB
477Summary: Development files for LLVM OCaml binding
478Summary(pl.UTF-8): Pliki programistyczne wiązania OCamla do LLVM-a
9556f4c9
ER
479Group: Development/Libraries
480Requires: %{name}-devel = %{version}-%{release}
481Requires: %{name}-ocaml = %{version}-%{release}
482
483%description ocaml-devel
484The llvm-ocaml-devel package contains libraries and signature files
621ec11f
JB
485for developing applications that use llvm-ocaml binding.
486
487%description ocaml-devel -l pl.UTF-8
488Ten pakiet zawiera biblioteki i pliki sygnatur do tworzenia aplikacji
489wykorzystujących wiązanie llvm-ocaml.
490
9556f4c9
ER
491%package ocaml-doc
492Summary: Documentation for LLVM's OCaml binding
621ec11f 493Summary(pl.UTF-8): Dokumentacja wiązania OCamla do LLVM-a
9556f4c9
ER
494Group: Documentation
495Requires: %{name}-ocaml = %{version}-%{release}
496
497%description ocaml-doc
498HTML documentation for LLVM's OCaml binding.
499
621ec11f
JB
500%description ocaml-doc -l pl.UTF-8
501Dokumentacja HTML wiązania OCamla do LLVM-a.
502
aa11c230 503%prep
ba1cf74d 504%setup -q -n %{name}-%{version}.src -a1 %{?with_rt:-a2} %{?with_lldb:-a3} %{?with_polly:-a4} -a5 -a6
d706a70d 505%{__mv} cfe-%{version}.src tools/clang
5013c7ea
JB
506%{?with_rt:%{__mv} compiler-rt-%{version}.src projects/compiler-rt}
507%{?with_lldb:%{__mv} lldb-%{version}.src tools/lldb}
508%{?with_polly:%{__mv} polly-%{version}.src tools/polly}
d706a70d
JB
509%{__mv} clang-tools-extra-%{version}.src tools/clang/tools/extra
510%{__mv} lld-%{version}.src tools/lld
5a7ac479 511
9f7b77bd 512%patch1 -p1
9f7b77bd 513%patch3 -p1
d96b39d3 514%patch4 -p1
d706a70d 515%patch5 -p1
3a980ab4 516%patch6 -p0
20d59128 517%patch7 -p1
ce9cc204 518
bacc8b96
ER
519grep -rl /usr/bin/env tools utils | xargs sed -i -e '1{
520 s,^#!.*bin/env python,#!%{__python},
521 s,^#!.*bin/env perl,#!%{__perl},
522}'
523
d756c460 524%build
41876fe7 525install -d build
ebde279d 526
d997b14b 527# Disabling assertions now, rec. by pure and needed for OpenGTL
9556f4c9 528# TESTFIX no PIC on ix86: http://llvm.org/bugs/show_bug.cgi?id=3801
41876fe7 529cd build
5e689738 530CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
2bbd0701 531
d96b39d3 532%cmake \
5013c7ea 533%if "%{_lib}" == "lib64"
41876fe7
JR
534 -DLLVM_LIBDIR_SUFFIX:STRING=64 \
535%endif
5013c7ea 536%if "%{_lib}" == "libx32"
41876fe7
JR
537 -DLLVM_LIBDIR_SUFFIX:STRING=x32 \
538%endif
9556f4c9 539%if %{with apidocs}
41876fe7 540 -DLLVM_ENABLE_DOXYGEN:BOOL=ON \
d997b14b 541%endif
41876fe7
JR
542%if %{with doc}
543 -DLLVM_ENABLE_SPHINX:BOOL=ON \
e962ba72 544 -DSPHINX_WARNINGS_AS_ERRORS=OFF \
41876fe7 545%endif
6c382d2a 546 -DLLVM_ENABLE_PIC:BOOL=ON \
41876fe7
JR
547 -DLLVM_ENABLE_ASSERTIONS:BOOL=OFF \
548 -DLLVM_ENABLE_CXX1Y:BOOL=ON \
82174e17 549 -DLLVM_BINDINGS_LIST:LIST="%{?with_ocaml:ocaml}" \
9a23736f
JB
550 -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
551 -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
552 -DBUILD_SHARED_LIBS:BOOL=OFF \
036156f1 553 -DENABLE_LINKER_BUILD_ID:BOOL=ON \
e748f12a 554 -DLLVM_BINUTILS_INCDIR:STRING=%{_includedir} \
d96b39d3 555 ../
41876fe7 556
d997b14b 557%{__make} \
1628dc68 558 VERBOSE=1 \
0a0b7076 559 REQUIRES_RTTI=1 \
d997b14b 560 OPTIMIZE_OPTION="%{rpmcflags} %{rpmcppflags}"
aa11c230 561
827664e9 562%if %{with tests}
9556f4c9
ER
563%{__make} check 2>&1 | tee llvm-testlog.txt
564%{__make} -C tools/clang test 2>&1 | tee clang-testlog.txt
565%endif
566
b0068ae4 567%if %{with doc}
41876fe7
JR
568%{__make} -C docs docs-llvm-html
569%{__make} -C docs docs-llvm-man
c6c890ee 570%if %{with ocaml}
41876fe7 571%{__make} -C docs ocaml_doc
c6c890ee 572%endif
41876fe7
JR
573%{__make} -C tools/clang/docs docs-clang-html
574%{__make} -C tools/clang/docs docs-clang-man
575%{__make} -C tools/lld/docs docs-lld-html
5013c7ea 576LD_LIBRARY_PATH=$(pwd)/%{_lib}
41876fe7
JR
577%{__make} -C tools/lldb/docs lldb-python-doc
578%{__make} -C tools/lldb/docs lldb-cpp-doc
dd9350c7
JB
579%endif
580
aa11c230 581%install
582rm -rf $RPM_BUILD_ROOT
5013c7ea 583
41876fe7 584%{__make} -C build install \
aa11c230 585 DESTDIR=$RPM_BUILD_ROOT
586
6df3b432
JB
587# only some .pyc files are created by make install
588%py_comp $RPM_BUILD_ROOT%{py_sitedir}
589%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
590
634a3e5b 591# Adjust static analyzer installation
9556f4c9 592# http://clang-analyzer.llvm.org/installation#OtherPlatforms
634a3e5b
JB
593install -d $RPM_BUILD_ROOT%{_libdir}/scan-build
594%{__mv} $RPM_BUILD_ROOT%{_prefix}/libexec/c??-analyzer $RPM_BUILD_ROOT%{_libdir}/scan-build
80d95ac6 595%{__sed} -i -e 's,/\.\./libexec/,/../%{_lib}/scan-build/,' $RPM_BUILD_ROOT%{_bindir}/scan-build
634a3e5b
JB
596%py_comp $RPM_BUILD_ROOT%{_datadir}/scan-view
597%py_ocomp $RPM_BUILD_ROOT%{_datadir}/scan-view
598%py_postclean %{_datadir}/scan-view
d997b14b 599
6df3b432 600# not installed by cmake buildsystem
6df3b432
JB
601install build/bin/pp-trace $RPM_BUILD_ROOT%{_bindir}
602
b0068ae4 603%if %{with doc}
6df3b432 604cp -p build/docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
b883cf1e
JB
605# these tools are not installed
606%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{FileCheck,llvm-build}.1
b0068ae4
JB
607# make links
608echo '.so llvm-ar.1' > $RPM_BUILD_ROOT%{_mandir}/man1/llvm-ranlib.1
dd9350c7
JB
609%endif
610
d997b14b 611# Move documentation back to build directory
2bbd0701 612%if %{with ocaml}
6df3b432 613rm -rf ocamldocs
5013c7ea 614%{__mv} $RPM_BUILD_ROOT%{_docdir}/llvm/ocaml-html ocamldocs
2bbd0701 615%endif
9556f4c9
ER
616
617# and separate the apidoc
618%if %{with apidocs}
6df3b432
JB
619rm -rf clang-apidoc
620cp -a build/tools/clang/docs/html clang-apidoc
9556f4c9 621%endif
d997b14b
AM
622
623# And prepare Clang documentation
d997b14b 624rm -rf clang-docs
9556f4c9 625install -d clang-docs
827664e9 626for f in LICENSE.TXT NOTES.txt README.txt; do
9556f4c9 627 ln tools/clang/$f clang-docs
d997b14b 628done
021b3c3d 629
6832a5c5 630# Get rid of erroneously installed example files.
6df3b432
JB
631%{__rm} $RPM_BUILD_ROOT%{_libdir}/LLVMHello.so
632# test?
d706a70d 633%{__rm} $RPM_BUILD_ROOT%{_bindir}/{c-index-test,llvm-c-test}
6df3b432
JB
634# not this OS
635%{__rm} $RPM_BUILD_ROOT%{_datadir}/clang/clang-format-bbedit.applescript
d706a70d
JB
636# use system six
637%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/six.py*
03073220
JK
638# it seems it is used internally by an extra clang tool
639%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfindAllSymbols.a
6832a5c5 640
aa11c230 641%clean
642rm -rf $RPM_BUILD_ROOT
643
8c514f23
JB
644%post libs -p /sbin/ldconfig
645%postun libs -p /sbin/ldconfig
aa11c230 646
5013c7ea
JB
647%post -n clang-libs -p /sbin/ldconfig
648%postun -n clang-libs -p /sbin/ldconfig
5a7ac479
JB
649
650%post -n lldb -p /sbin/ldconfig
651%postun -n lldb -p /sbin/ldconfig
652
aa11c230 653%files
654%defattr(644,root,root,755)
8132e62b 655%doc CREDITS.TXT LICENSE.TXT README.txt %{?with_tests:llvm-testlog.txt}
a9beeab5 656%attr(755,root,root) %{_bindir}/bugpoint
a9beeab5
JB
657%attr(755,root,root) %{_bindir}/llc
658%attr(755,root,root) %{_bindir}/lli
8132e62b
JB
659%attr(755,root,root) %{_bindir}/llvm-ar
660%attr(755,root,root) %{_bindir}/llvm-as
661%attr(755,root,root) %{_bindir}/llvm-bcanalyzer
5013c7ea 662%attr(755,root,root) %{_bindir}/llvm-cat
827664e9 663%attr(755,root,root) %{_bindir}/llvm-cov
5013c7ea
JB
664%attr(755,root,root) %{_bindir}/llvm-cxxdump
665%attr(755,root,root) %{_bindir}/llvm-cxxfilt
8132e62b
JB
666%attr(755,root,root) %{_bindir}/llvm-diff
667%attr(755,root,root) %{_bindir}/llvm-dis
4ba3b2b3 668%attr(755,root,root) %{_bindir}/llvm-dsymutil
827664e9 669%attr(755,root,root) %{_bindir}/llvm-dwarfdump
264482e1 670%attr(755,root,root) %{_bindir}/llvm-dwp
8132e62b 671%attr(755,root,root) %{_bindir}/llvm-extract
6df3b432 672%attr(755,root,root) %{_bindir}/llvm-lib
8132e62b 673%attr(755,root,root) %{_bindir}/llvm-link
3c402b7e 674%attr(755,root,root) %{_bindir}/llvm-lto
5013c7ea 675%attr(755,root,root) %{_bindir}/llvm-lto2
8132e62b 676%attr(755,root,root) %{_bindir}/llvm-mc
dd9350c7 677%attr(755,root,root) %{_bindir}/llvm-mcmarkup
5013c7ea 678%attr(755,root,root) %{_bindir}/llvm-modextract
8132e62b
JB
679%attr(755,root,root) %{_bindir}/llvm-nm
680%attr(755,root,root) %{_bindir}/llvm-objdump
5013c7ea
JB
681%attr(755,root,root) %{_bindir}/llvm-opt-report
682%attr(755,root,root) %{_bindir}/llvm-pdbdump
b883cf1e 683%attr(755,root,root) %{_bindir}/llvm-profdata
8132e62b 684%attr(755,root,root) %{_bindir}/llvm-ranlib
f981d747 685%attr(755,root,root) %{_bindir}/llvm-readobj
827664e9
PS
686%attr(755,root,root) %{_bindir}/llvm-rtdyld
687%attr(755,root,root) %{_bindir}/llvm-size
264482e1 688%attr(755,root,root) %{_bindir}/llvm-split
f981d747 689%attr(755,root,root) %{_bindir}/llvm-stress
5013c7ea 690%attr(755,root,root) %{_bindir}/llvm-strings
1628dc68 691%attr(755,root,root) %{_bindir}/llvm-symbolizer
827664e9 692%attr(755,root,root) %{_bindir}/llvm-tblgen
5013c7ea 693%attr(755,root,root) %{_bindir}/llvm-xray
4ba3b2b3 694%attr(755,root,root) %{_bindir}/obj2yaml
8132e62b 695%attr(755,root,root) %{_bindir}/opt
d706a70d 696%attr(755,root,root) %{_bindir}/sancov
03073220 697%attr(755,root,root) %{_bindir}/sanstats
4ba3b2b3
JB
698%attr(755,root,root) %{_bindir}/verify-uselistorder
699%attr(755,root,root) %{_bindir}/yaml2obj
b0068ae4 700%if %{with doc}
a9beeab5 701%{_mandir}/man1/bugpoint.1*
a7973f21 702%{_mandir}/man1/lit.1*
a9beeab5
JB
703%{_mandir}/man1/llc.1*
704%{_mandir}/man1/lli.1*
8132e62b
JB
705%{_mandir}/man1/llvm-ar.1*
706%{_mandir}/man1/llvm-as.1*
707%{_mandir}/man1/llvm-bcanalyzer.1*
f981d747 708%{_mandir}/man1/llvm-cov.1*
8132e62b
JB
709%{_mandir}/man1/llvm-diff.1*
710%{_mandir}/man1/llvm-dis.1*
b883cf1e 711%{_mandir}/man1/llvm-dwarfdump.1*
8132e62b 712%{_mandir}/man1/llvm-extract.1*
d706a70d 713%{_mandir}/man1/llvm-lib.1*
8132e62b
JB
714%{_mandir}/man1/llvm-link.1*
715%{_mandir}/man1/llvm-nm.1*
b883cf1e 716%{_mandir}/man1/llvm-profdata.1*
8132e62b 717%{_mandir}/man1/llvm-ranlib.1*
c999855f 718%{_mandir}/man1/llvm-readobj.1*
f981d747 719%{_mandir}/man1/llvm-stress.1*
1628dc68 720%{_mandir}/man1/llvm-symbolizer.1*
a9beeab5 721%{_mandir}/man1/opt.1*
dd9350c7 722%{_mandir}/man1/tblgen.1*
b0068ae4 723%endif
bc88141a 724
8c514f23
JB
725%files libs
726%defattr(644,root,root,755)
9a23736f
JB
727%attr(755,root,root) %{_libdir}/libLLVM-%{abi}.so
728# non-soname symlink
729%attr(755,root,root) %{_libdir}/libLLVM-%{version}.so
5013c7ea
JB
730%attr(755,root,root) %{_libdir}/libLTO.so.%{version}
731%attr(755,root,root) %ghost %{_libdir}/libLTO.so.4
8c514f23 732
bc88141a
ER
733%files devel
734%defattr(644,root,root,755)
735%attr(755,root,root) %{_bindir}/llvm-config
9a23736f 736%attr(755,root,root) %{_libdir}/libLLVM.so
5013c7ea 737%attr(755,root,root) %{_libdir}/libLTO.so
0a8510f2 738%attr(755,root,root) %{_libdir}/BugpointPasses.so
d706a70d 739%{_libdir}/libLLVM*.a
8132e62b
JB
740%{_includedir}/llvm
741%{_includedir}/llvm-c
9ace1f65 742%{_libdir}/cmake/llvm
b0068ae4 743%if %{with doc}
8132e62b 744%{_mandir}/man1/llvm-config.1*
b0068ae4 745%endif
bc88141a 746
6df3b432
JB
747#%files doc
748#%defattr(644,root,root,755)
9556f4c9
ER
749
750%if %{with apidocs}
751%files apidocs
752%defattr(644,root,root,755)
753%doc apidoc/*
754%endif
755
b0068ae4
JB
756%if %{with polly}
757%files polly
758%defattr(644,root,root,755)
6c2b1a44 759%doc tools/polly/{CREDITS.txt,LICENSE.txt,README} tools/polly/www/{bugs,changelog,contributors}.html
b0068ae4
JB
760%attr(755,root,root) %{_libdir}/LLVMPolly.so
761
762%files polly-devel
763%defattr(644,root,root,755)
9a23736f
JB
764%{_libdir}/libPolly.a
765%{_libdir}/libPollyISL.a
03073220 766%{_libdir}/libPollyPPCG.a
b0068ae4
JB
767%{_includedir}/polly
768%endif
769
d997b14b 770%files -n clang
bc88141a 771%defattr(644,root,root,755)
827664e9 772%doc clang-docs/{LICENSE.TXT,NOTES.txt,README.txt} %{?with_tests:clang-testlog.txt}
8132e62b
JB
773%attr(755,root,root) %{_bindir}/clang
774%attr(755,root,root) %{_bindir}/clang++
509439cf 775%attr(755,root,root) %{_bindir}/clang-%{abi}
dd9350c7 776%attr(755,root,root) %{_bindir}/clang-check
6df3b432 777%attr(755,root,root) %{_bindir}/clang-cl
5013c7ea 778%attr(755,root,root) %{_bindir}/clang-cpp
1628dc68 779%attr(755,root,root) %{_bindir}/clang-format
5013c7ea
JB
780%attr(755,root,root) %{_bindir}/clang-import-test
781%attr(755,root,root) %{_bindir}/clang-offload-bundler
6df3b432 782%attr(755,root,root) %{_bindir}/git-clang-format
5a7ac479
JB
783%dir %{_libdir}/clang
784%dir %{_libdir}/clang/%{version}
785%{_libdir}/clang/%{version}/include
786%if %{with rt}
b0e18b64 787%ifarch %{ix86} %{x8664} x32
9eefd942
JR
788%dir %{_libdir}/clang/%{version}/lib
789%dir %{_libdir}/clang/%{version}/lib/linux
790%endif
791%ifarch %{ix86}
792%{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-i*86.a
793%attr(755,root,root) %{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-i*86.so
c6c890ee
JB
794%endif
795%ifarch %{x8664}
9eefd942
JR
796%{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-x86_64.a
797%attr(755,root,root) %{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-x86_64.so
f4c0e8bd 798%{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-x86_64.a.syms
3c402b7e 799%endif
b0e18b64 800%ifarch %{ix86} %{x8664} x32 %{arm} aarch64 mips mips64 ppc64
d706a70d
JB
801%{_libdir}/clang/%{version}/asan_blacklist.txt
802%endif
b0e18b64 803%ifarch %{ix86} %{x8664} x32 mips64
d706a70d
JB
804%{_libdir}/clang/%{version}/cfi_blacklist.txt
805%endif
b0e18b64 806%ifarch %{x8664} x32 aarch64 mips64
d706a70d
JB
807%{_libdir}/clang/%{version}/dfsan_abilist.txt
808%{_libdir}/clang/%{version}/msan_blacklist.txt
809%endif
5a7ac479 810%endif
3c402b7e
JB
811%dir %{_datadir}/clang
812%{_datadir}/clang/clang-format-diff.py
d997b14b 813
87977e26
JR
814%files -n clang-libs
815%defattr(644,root,root,755)
509439cf 816%attr(755,root,root) %{_libdir}/libclang.so.%{abi}
5013c7ea 817%attr(755,root,root) %ghost %{_libdir}/libclang.so.4
87977e26 818
589b92f5 819%if %{with rt} && %{with multilib}
b0e18b64 820%ifarch %{x8664} x32
9eefd942
JR
821%files -n clang-multilib
822%defattr(644,root,root,755)
823%{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-i386.a
824%attr(755,root,root) %{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-i386.so
825%endif
b0e18b64
JB
826%ifarch x32
827%{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-x86_64.a
828%attr(755,root,root) %{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-x86_64.so
829%{_libdir}/clang/%{version}/lib/linux/libclang_rt.*-x86_64.a.syms
830%endif
9eefd942
JR
831%endif
832
d997b14b 833%files -n clang-analyzer
bc88141a 834%defattr(644,root,root,755)
d997b14b
AM
835%attr(755,root,root) %{_bindir}/scan-build
836%attr(755,root,root) %{_bindir}/scan-view
634a3e5b
JB
837%{_datadir}/scan-build
838%{_datadir}/scan-view
dd9350c7 839%{_mandir}/man1/scan-build.1*
4522eb9a
JB
840%dir %{_libdir}/scan-build
841%attr(755,root,root) %{_libdir}/scan-build/c++-analyzer
842%attr(755,root,root) %{_libdir}/scan-build/ccc-analyzer
8132e62b 843
9556f4c9
ER
844%files -n clang-devel
845%defattr(644,root,root,755)
9a23736f
JB
846%attr(755,root,root) %{_libdir}/libclang.so
847%{_libdir}/libclang*.a
9556f4c9
ER
848%{_includedir}/clang
849%{_includedir}/clang-c
9ace1f65 850%{_libdir}/cmake/clang
9556f4c9
ER
851
852%files -n clang-doc
853%defattr(644,root,root,755)
41876fe7 854%doc tools/clang/docs/*.{html,png,txt}
9556f4c9
ER
855
856%if %{with apidocs}
857%files -n clang-apidocs
858%defattr(644,root,root,755)
859%doc clang-apidoc/*
860%endif
861
b0068ae4
JB
862%files -n clang-tools-extra
863%defattr(644,root,root,755)
9ace1f65 864%doc tools/clang/tools/extra/{CODE_OWNERS.TXT,README.txt}
b0068ae4 865%attr(755,root,root) %{_bindir}/clang-apply-replacements
5013c7ea 866%attr(755,root,root) %{_bindir}/clang-change-namespace
03073220 867%attr(755,root,root) %{_bindir}/clang-include-fixer
b883cf1e 868%attr(755,root,root) %{_bindir}/clang-query
4ba3b2b3 869%attr(755,root,root) %{_bindir}/clang-rename
5013c7ea 870%attr(755,root,root) %{_bindir}/clang-reorder-fields
b0068ae4 871%attr(755,root,root) %{_bindir}/clang-tidy
03073220 872%attr(755,root,root) %{_bindir}/find-all-symbols
d706a70d 873%attr(755,root,root) %{_bindir}/modularize
b0068ae4 874%attr(755,root,root) %{_bindir}/pp-trace
03073220 875%{_datadir}/clang/clang-include-fixer.py
d706a70d
JB
876%{_datadir}/clang/clang-tidy-diff.py
877%{_datadir}/clang/run-clang-tidy.py
03073220 878%{_datadir}/clang/run-find-all-symbols.py
b0068ae4 879
ba1cf74d
JB
880%files -n lld
881%defattr(644,root,root,755)
882%doc tools/lld/{LICENSE.TXT,README.md}
d706a70d 883%attr(755,root,root) %{_bindir}/ld.lld
ba1cf74d 884%attr(755,root,root) %{_bindir}/lld
d706a70d 885%attr(755,root,root) %{_bindir}/lld-link
ba1cf74d
JB
886
887%files -n lld-devel
888%defattr(644,root,root,755)
9a23736f 889%{_libdir}/liblld[ACDEHMRXY]*.a
ba1cf74d
JB
890%{_includedir}/lld
891
5a7ac479
JB
892%if %{with lldb}
893%files -n lldb
894%defattr(644,root,root,755)
895%attr(755,root,root) %{_bindir}/lldb
6df3b432 896%attr(755,root,root) %{_bindir}/lldb-%{version}
4522eb9a 897%attr(755,root,root) %{_bindir}/lldb-argdumper
b883cf1e 898%attr(755,root,root) %{_bindir}/lldb-mi
6df3b432
JB
899%attr(755,root,root) %{_bindir}/lldb-mi-%{version}
900%attr(755,root,root) %{_bindir}/lldb-server
901%attr(755,root,root) %{_bindir}/lldb-server-%{version}
902%attr(755,root,root) %{_libdir}/liblldb.so.%{version}
5013c7ea 903%attr(755,root,root) %ghost %{_libdir}/liblldb.so.4
b883cf1e 904%dir %{py_sitedir}/lldb
4522eb9a 905%attr(755,root,root) %{py_sitedir}/lldb/lldb-argdumper
6df3b432
JB
906%{py_sitedir}/lldb/formatters
907%{py_sitedir}/lldb/runtime
908%{py_sitedir}/lldb/utils
909%{py_sitedir}/lldb/__init__.py[co]
910%{py_sitedir}/lldb/embedded_interpreter.py[co]
b883cf1e
JB
911%attr(755,root,root) %{py_sitedir}/lldb/_lldb.so
912%attr(755,root,root) %{py_sitedir}/readline.so
5a7ac479
JB
913
914%files -n lldb-devel
915%defattr(644,root,root,755)
6df3b432 916%attr(755,root,root) %{_libdir}/liblldb.so
5a7ac479
JB
917%{_libdir}/liblldb*.a
918%{_includedir}/lldb
919%endif
920
9556f4c9 921%if %{with ocaml}
d997b14b
AM
922%files ocaml
923%defattr(644,root,root,755)
5013c7ea
JB
924%dir %{_libdir}/ocaml/llvm
925%attr(755,root,root) %{_libdir}/ocaml/llvm/dllllvm*.so
926%{_libdir}/ocaml/llvm/llvm*.cma
927%{_libdir}/ocaml/llvm/llvm*.cmi
11b6f380 928%{_libdir}/ocaml/META.llvm*
d997b14b
AM
929
930%files ocaml-devel
931%defattr(644,root,root,755)
5013c7ea
JB
932%{_libdir}/ocaml/llvm/libllvm*.a
933%{_libdir}/ocaml/llvm/llvm*.a
934%{_libdir}/ocaml/llvm/llvm*.cmx
935%{_libdir}/ocaml/llvm/llvm*.cmxa
936%{_libdir}/ocaml/llvm/llvm*.mli
9556f4c9
ER
937
938%files ocaml-doc
939%defattr(644,root,root,755)
6df3b432 940%doc ocamldocs/*
9556f4c9 941%endif
This page took 0.279032 seconds and 4 git commands to generate.