Fridrich Strba 2019-11-26 11:13:45 +00:00 committed by Git OBS Bridge
parent aff601a2f6
commit 0d61397c9c
2 changed files with 4 additions and 9 deletions

View File

@ -2,9 +2,10 @@
Tue Nov 26 10:56:50 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Do not build api documentation in bootstrap flavour
- Be extra verbose when running with a ZERO VM
* The build is long and OBS needs some compiler output in order
to know that the job is not dead
- Be extra verbose for the scalac build
* The build is long on non-JIT architectures and OBS needs some
compiler output in order to know that the job is not dead;
otherwise it kills it.
- Remove obsolete scriptlets
-------------------------------------------------------------------

View File

@ -22,9 +22,6 @@
%else
%bcond_with bootstrap
%endif
%{!?aarch64:%global aarch64 aarch64 arm64 armv8}
# Sync the list of jit architectures with java-1_8_0-openjdk package
%global jit_arches %{ix86} x86_64 ppc64 ppc64le %{aarch64} %{arm}
%global fullversion %{version}
%global release_repository http://nexus.scala-tools.org/content/repositories/releases
%global snapshot_repository http://nexus.scala-tools.org/content/repositories/snapshots
@ -216,10 +213,7 @@ export ANT_OPTS="-Xms2048m -Xmx2048m %{do_bootstrap}"
# is slow, OBS thinks it is stuck and kills it before it has chance
# to finish
%ant \
%ifarch %{jit_arches}
%else
-Dscalac.args=-verbose \
%endif
build %{docs_target} || exit 1
pushd build/pack/lib
mv scala-library.jar scala-library.jar.no