!22 [sync] PR-21: Add -Xmx4096m for riscv64
From: @openeuler-sync-bot Reviewed-by: @luo-haibo Signed-off-by: @luo-haibo
This commit is contained in:
commit
f40918a6aa
@ -1,7 +1,7 @@
|
|||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
Name: gradle
|
Name: gradle
|
||||||
Version: 4.4.1
|
Version: 4.4.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Build automation tool
|
Summary: Build automation tool
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://www.gradle.org/
|
URL: http://www.gradle.org/
|
||||||
@ -175,6 +175,9 @@ rm -r subprojects/resources-gcs
|
|||||||
rm -r subprojects/ide-native
|
rm -r subprojects/ide-native
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if "%{_arch}" == "riscv64"
|
||||||
|
export JAVA_TOOL_OPTIONS="-Xmx4096m"
|
||||||
|
%endif
|
||||||
export LANG=en_US.UTF8
|
export LANG=en_US.UTF8
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
mkdir -p subprojects/docs/src/main/resources
|
mkdir -p subprojects/docs/src/main/resources
|
||||||
@ -237,6 +240,9 @@ install -p -m 644 man/gradle.1 %{buildroot}%{_mandir}/man1/gradle.1
|
|||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 16 2024 Dingli Zhang <dingli@iscas.ac.cn> - 4.4.1-4
|
||||||
|
- Add -Xmx4096m for riscv64
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.4.1-3
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.4.1-3
|
||||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user