HomeSolus

Packaging and build updates for openjdk-11

Authored by serebit on Wed, Sep 15, 4:23 PM.

Description

Packaging and build updates for openjdk-11

Summary:
Packaging Changes:

  • Compile with clang (reduces package size by 143 MB)
  • Include optional ZGC garbage collector
  • Enable base hotspot test suite
  • If $HOME is unavailable, use the current directory for user prefs (avoids errors within solbuild)
  • Don't echo the value of _JAVA_OPTIONS to console if it's set in the environment

These changes drop the main openjdk-11 package size from 396.6 MB to 253.6 MB.

Test Plan: Unit tests passed; built gradle, maven, ant, kotlin, freeplane, projectlibre, dbeaver, scala; ran dbeaver

Reviewers: Triage Team, JoshStrobl

Reviewed By: Triage Team, JoshStrobl

Subscribers: JoshStrobl, joebonrichie

Differential Revision: https://dev.getsol.us/D11819

Details

Committed
JoshStroblWed, Sep 15, 4:23 PM
Pushed
JoshStroblWed, Sep 15, 4:23 PM
Reviewer
Triage Team
Differential Revision
D11819: Packaging and build updates for openjdk-11
Parents
R4992:2d1ff212d357: Update openjdk-11 to v11.0.12
Branches
Unknown
Tags
Unknown
References
HEAD -> master, tag: openjdk-11-11.0.12-11