support parallel compilation

This commit is contained in:
writings-of-prince-huainan 2021-03-27 16:33:25 +08:00
parent 32c6103bc7
commit 2bb42fa4c3

View File

@ -11,7 +11,7 @@
%global __with_wxwidgets 1 %global __with_wxwidgets 1
Name: erlang Name: erlang
Version: 21.3.3 Version: 21.3.3
Release: 1 Release: 2
Summary: General-purpose programming language and runtime environment Summary: General-purpose programming language and runtime environment
License: ASL 2.0 License: ASL 2.0
URL: https://www.erlang.org URL: https://www.erlang.org
@ -627,14 +627,14 @@ pushd xemacs-erlang
%{_xemacs_bytecompile} *.el %{_xemacs_bytecompile} *.el
popd popd
%endif %{__with_xemacs} %endif %{__with_xemacs}
make make %{?_smp_mflags}
%if %{with doc} %if %{with doc}
%ifnarch ppc %{power64} %ifnarch ppc %{power64}
export BASE_OPTIONS=-Xmx1024m export BASE_OPTIONS=-Xmx1024m
%else %else
export BASE_OPTIONS=-Xmx1536m export BASE_OPTIONS=-Xmx1536m
%endif %endif
make docs make %{?_smp_mflags} docs
%endif %endif
%install %install
@ -1723,5 +1723,8 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \
%endif %endif
%changelog %changelog
* Sat Mar 27 2021 weishengjing <weishengjing1@huawei.com> - 21.3.3-2
- Support parallel compilation
* Mon Aug 24 2020 chengzihan <chengzihan2@huawei.com> - 21.3.3-1 * Mon Aug 24 2020 chengzihan <chengzihan2@huawei.com> - 21.3.3-1
- Package init - Package init