RFR: 8256240: Reproducible builds should turn on the "deterministic" flag for Visual Studio

Magnus Ihse Bursie ihse at openjdk.java.net
Wed Nov 18 10:42:13 UTC 2020


The microsoft toolchain now supports a new "deterministic" build mode. This goes a long way towards building properly deterministic. Another important feature is that with the deterministic build mode enabled, the -pathmap flag, similar to gcc's -fmacro-prefix-map, is enabled.

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

Commit messages:
 - 8256240: Reproducible builds should turn on the "deterministic" flag for Visual Studio

Changes: https://git.openjdk.java.net/jdk/pull/1287/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1287&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256240
  Stats: 68 lines in 4 files changed: 48 ins; 14 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1287.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1287/head:pull/1287

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



More information about the build-dev mailing list