xref: /aosp_15_r20/external/llvm/llvm.spec.in (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerName: @PACKAGE_NAME@
2*9880d681SAndroid Build Coastguard WorkerVersion: @PACKAGE_VERSION@
3*9880d681SAndroid Build Coastguard WorkerRelease: 0
4*9880d681SAndroid Build Coastguard WorkerSummary: LLVM (An Optimizing Compiler Infrastructure)
5*9880d681SAndroid Build Coastguard WorkerLicense: University of Illinois/NCSA Open Source License
6*9880d681SAndroid Build Coastguard WorkerVendor: None (open source)
7*9880d681SAndroid Build Coastguard WorkerGroup: Development/Compilers
8*9880d681SAndroid Build Coastguard WorkerURL: http://llvm..org/
9*9880d681SAndroid Build Coastguard WorkerSource: http://llvm.org/releases/@PACKAGE_VERSION@/@PACKAGE_NAME@-@[email protected]
10*9880d681SAndroid Build Coastguard WorkerBuildRoot: %{_tmppath}/%{name}-root
11*9880d681SAndroid Build Coastguard WorkerRequires: /sbin/ldconfig
12*9880d681SAndroid Build Coastguard WorkerBuildRequires: gcc >= 3.4
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker%description
15*9880d681SAndroid Build Coastguard WorkerLLVM is a compiler infrastructure designed for compile-time, link-time, runtime,
16*9880d681SAndroid Build Coastguard Workerand idle-time optimization of programs from arbitrary programming languages.
17*9880d681SAndroid Build Coastguard WorkerLLVM is written in C++ and has been developed since 2000 at the University of
18*9880d681SAndroid Build Coastguard WorkerIllinois and Apple. It currently supports compilation of C and C++ programs,
19*9880d681SAndroid Build Coastguard Workerusing front-ends derived from GCC 4.0.1. A new front-end for the C family of
20*9880d681SAndroid Build Coastguard Workerlanguages is in development. The compiler infrastructure
21*9880d681SAndroid Build Coastguard Workerincludes mirror sets of programming tools as well as libraries with equivalent
22*9880d681SAndroid Build Coastguard Workerfunctionality.
23*9880d681SAndroid Build Coastguard Worker
24*9880d681SAndroid Build Coastguard Worker%prep
25*9880d681SAndroid Build Coastguard Worker%setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@
26*9880d681SAndroid Build Coastguard Worker
27*9880d681SAndroid Build Coastguard Worker%build
28*9880d681SAndroid Build Coastguard Worker./configure \
29*9880d681SAndroid Build Coastguard Worker--prefix=%{_prefix} \
30*9880d681SAndroid Build Coastguard Worker--bindir=%{_bindir} \
31*9880d681SAndroid Build Coastguard Worker--datadir=%{_datadir} \
32*9880d681SAndroid Build Coastguard Worker--includedir=%{_includedir} \
33*9880d681SAndroid Build Coastguard Worker--libdir=%{_libdir} \
34*9880d681SAndroid Build Coastguard Worker--enable-optimized \
35*9880d681SAndroid Build Coastguard Worker--enable-assertions
36*9880d681SAndroid Build Coastguard Workermake tools-only
37*9880d681SAndroid Build Coastguard Worker
38*9880d681SAndroid Build Coastguard Worker%install
39*9880d681SAndroid Build Coastguard Workerrm -rf %{buildroot}
40*9880d681SAndroid Build Coastguard Workermake install DESTDIR=%{buildroot}
41*9880d681SAndroid Build Coastguard Worker
42*9880d681SAndroid Build Coastguard Worker%clean
43*9880d681SAndroid Build Coastguard Workerrm -rf %{buildroot}
44*9880d681SAndroid Build Coastguard Worker
45*9880d681SAndroid Build Coastguard Worker%post -p /sbin/ldconfig
46*9880d681SAndroid Build Coastguard Worker
47*9880d681SAndroid Build Coastguard Worker%postun -p /sbin/ldconfig
48*9880d681SAndroid Build Coastguard Worker
49*9880d681SAndroid Build Coastguard Worker%files
50*9880d681SAndroid Build Coastguard Worker%defattr(-, root, root)
51*9880d681SAndroid Build Coastguard Worker%doc CREDITS.TXT LICENSE.TXT README.txt docs/*.{html,css,gif,jpg} docs/CommandGuide
52*9880d681SAndroid Build Coastguard Worker%{_bindir}/*
53*9880d681SAndroid Build Coastguard Worker%{_libdir}/*.o
54*9880d681SAndroid Build Coastguard Worker%{_libdir}/*.a
55*9880d681SAndroid Build Coastguard Worker%{_libdir}/*.so
56*9880d681SAndroid Build Coastguard Worker%{_includedir}/llvm
57*9880d681SAndroid Build Coastguard Worker
58*9880d681SAndroid Build Coastguard Worker%changelog
59*9880d681SAndroid Build Coastguard Worker* Fri Aug 04 2006 Reid Spencer
60*9880d681SAndroid Build Coastguard Worker- Updates for release 1.8
61*9880d681SAndroid Build Coastguard Worker* Fri Apr 07 2006 Reid Spencer
62*9880d681SAndroid Build Coastguard Worker- Make the build be optimized+assertions
63*9880d681SAndroid Build Coastguard Worker* Fri May 13 2005 Reid Spencer
64*9880d681SAndroid Build Coastguard Worker- Minor adjustments for the 1.5 release
65*9880d681SAndroid Build Coastguard Worker* Mon Feb 09 2003 Brian R. Gaeke
66*9880d681SAndroid Build Coastguard Worker- Initial working version of RPM spec file.
67*9880d681SAndroid Build Coastguard Worker
68*9880d681SAndroid Build Coastguard Worker
69