File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ Version: 9.0.1
14
14
Release: 0
15
15
Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
16
16
License: University of Illinois/NCSA Open Source License
17
- Group: Development/Tools
18
17
URL: http://llvm.org/
19
18
Source: %{version }/%{name }-%{version }.tar.gz
20
19
Requires(post): /sbin/ldconfig
@@ -41,9 +40,10 @@ Requires: %{name} = %{version}
41
40
LLVM Header files
42
41
43
42
%prep
44
- %setup -q -n %{name }-%{version }/%{name }/llvm
43
+ %setup -q -n %{name }-%{version }/%{name }
45
44
46
45
%build
46
+ pushd llvm
47
47
48
48
mkdir -p build
49
49
pushd build
@@ -80,16 +80,23 @@ pushd build
80
80
%ninja_build
81
81
popd
82
82
83
+ popd
84
+
83
85
%install
86
+ pushd llvm
87
+
84
88
rm -rf %{buildroot }
85
89
%ninja_install -C build
86
90
91
+ popd
92
+
87
93
%post -p /sbin/ldconfig
88
94
89
95
%postun -p /sbin/ldconfig
90
96
91
97
%files
92
98
%defattr(-, root, root)
99
+ %license llvm/LICENSE.TXT
93
100
%{_bindir }/*
94
101
%{_libdir }/* .so.*
95
102
%{_libdir }/libLLVM-* .so
You can’t perform that action at this time.
0 commit comments