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