Small cleanup & update constraints
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=468
This commit is contained in:
parent
f08dbfb441
commit
c7654261d8
@ -1,6 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<constraints>
|
||||
<hardware>
|
||||
<disk>
|
||||
<size unit="G">30</size>
|
||||
</disk>
|
||||
<memory>
|
||||
<size unit="M">4000</size>
|
||||
</memory>
|
||||
|
@ -135,7 +135,6 @@ Conflicts: otherproviders(cmake(LLVM))
|
||||
Requires: %{name} = %{version}
|
||||
Requires: binutils-devel >= 2.21.90
|
||||
Requires: bison
|
||||
Requires: cmake
|
||||
Requires: flex
|
||||
Requires: groff
|
||||
Requires: libstdc++-devel
|
||||
@ -462,7 +461,6 @@ export CXX=${PWD}/stage1/bin/clang++
|
||||
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
|
||||
ninja -v -j $ninjaproc
|
||||
cd ..
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
@ -556,7 +554,6 @@ rm %{buildroot}%{_datadir}/clang/clang-format-sublime.py
|
||||
%fdupes -s %{buildroot}%{_docdir}/%{name}
|
||||
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
|
||||
|
||||
|
||||
%check
|
||||
cd build
|
||||
%ifnarch armv7hl armv7l
|
||||
@ -574,7 +571,6 @@ ninja -v %{?_smp_mflags} check-libcxxabi
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%post -n libLLVM%{_sonum} -p /sbin/ldconfig
|
||||
%postun -n libLLVM%{_sonum} -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user