RFR: JDK-8282532: Add option to explicitly set build platform and remove support for legacy cross compilation flags [v4]

Julian Waters jwaters at openjdk.java.net
Thu Mar 3 08:12:37 UTC 2022


> Currently the only other option for manually configuring the build platform while cross compiling are devkits, which don't work on certain systems and are also more focused on differentiating the build and target compilers instead. This patch adds the ability to explicitly set the build platform through a new option, which can be especially helpful for when autodetection fails and devkits cannot be relied on, and also for simpler cross compilation cases (Like the one described in building.md)
> 
> This also removes support for the legacy cross compilation flags as well.
> 
> WIP: Translation from markdown to html

Julian Waters has updated the pull request incrementally with one additional commit since the last revision:

  Syntax

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7656/files
  - new: https://git.openjdk.java.net/jdk/pull/7656/files/9189e54b..1d398962

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7656&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7656&range=02-03

  Stats: 13 lines in 2 files changed: 1 ins; 2 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7656.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7656/head:pull/7656

PR: https://git.openjdk.java.net/jdk/pull/7656



More information about the build-dev mailing list