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"?>
|
<?xml version="1.0"?>
|
||||||
<constraints>
|
<constraints>
|
||||||
<hardware>
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">30</size>
|
||||||
|
</disk>
|
||||||
<memory>
|
<memory>
|
||||||
<size unit="M">4000</size>
|
<size unit="M">4000</size>
|
||||||
</memory>
|
</memory>
|
||||||
|
@ -135,7 +135,6 @@ Conflicts: otherproviders(cmake(LLVM))
|
|||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: binutils-devel >= 2.21.90
|
Requires: binutils-devel >= 2.21.90
|
||||||
Requires: bison
|
Requires: bison
|
||||||
Requires: cmake
|
|
||||||
Requires: flex
|
Requires: flex
|
||||||
Requires: groff
|
Requires: groff
|
||||||
Requires: libstdc++-devel
|
Requires: libstdc++-devel
|
||||||
@ -462,7 +461,6 @@ export CXX=${PWD}/stage1/bin/clang++
|
|||||||
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed" \
|
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed" \
|
||||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
|
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
|
||||||
ninja -v -j $ninjaproc
|
ninja -v -j $ninjaproc
|
||||||
cd ..
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_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}
|
||||||
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
|
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd build
|
cd build
|
||||||
%ifnarch armv7hl armv7l
|
%ifnarch armv7hl armv7l
|
||||||
@ -574,7 +571,6 @@ ninja -v %{?_smp_mflags} check-libcxxabi
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post -n libLLVM%{_sonum} -p /sbin/ldconfig
|
%post -n libLLVM%{_sonum} -p /sbin/ldconfig
|
||||||
%postun -n libLLVM%{_sonum} -p /sbin/ldconfig
|
%postun -n libLLVM%{_sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user