From 3f6e4bd68382a15cbabd027ec10c9d80b728894a Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Tue, 26 Mar 2024 13:11:43 -0400 Subject: [PATCH] ReproducibleBuilds.md: Update "Reproducible Build Tools" section (#3729) Update the "Reproducible Build Tools" section of tooling/reproducible/ReproducibleBuilds.md to reflect the reorganization of repro_compare.sh. --- tooling/reproducible/ReproducibleBuilds.md | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/tooling/reproducible/ReproducibleBuilds.md b/tooling/reproducible/ReproducibleBuilds.md index 02dac7ec59..14d705196d 100755 --- a/tooling/reproducible/ReproducibleBuilds.md +++ b/tooling/reproducible/ReproducibleBuilds.md @@ -20,22 +20,21 @@ It will then: - Download the official "Temurin JDK.tar.gz" - Compare the locally built JDK with the official Temurin JDK -2. linux_repro_compare.sh : Compares two linux JDK folders: - -- linux_repro_compare.sh (temurin|openjdk) JDK_DIR1 (temurin|openjdk) JDK_DIR2 -- Calls linux_repro_process.sh to pre-process the folder before comparison. This expands zips and jmods. +2. windows_repro_build_compare.sh : Takes as parameters "SBOM URL" of Temurin JDK to be rebuilt, and the official Temurin Windows JDK Zip file. +It will then: -3. windows_repro_compare.sh : Compares two windows JDK folders: +- Setup the identical environment from the properties within the SBOM +- Build the JDK locally +- Download the official Temurin Windows JDK Zip file +- Compare the locally built JDK with the official Temurin JDK -- windows_repro_compare.sh (temurin|openjdk) JDK_DIR1 (temurin|openjdk) JDK_DIR2 temp_selfcert_file temp selfcert_pwd -- Calls windows_repro_process.sh to pre-process the folder before comparison. This expands zips and jmods, then deterministically -remove any Signatures from the executeables. +3. repro_compare.sh : Compares two JDK folders: -4. mac_repro_compare.sh : Compares two mac JDK folders: + - repro_compare.sh (temurin|openjdk) JDK_DIR1 (temurin|openjdk) JDK_DIR2 OS + - Calls repro_process.sh to pre-process the folder before comparison. This expands zips and jmods. + - On Windows and MacOS it also deterministically removes any signatures from the executables. -- mac_repro_compare.sh (temurin|openjdk) JDK_DIR1 (temurin|openjdk) JDK_DIR2 temp_selfcert temp selfcert_pwd -- Calls mac_repro_process.sh to pre-process the folder before comparison. This expands zips and jmods, then deterministically -remove any Signatures from the executeables. +4. windows_build_as_temurin.sh : Builds an identical Windows Temurin binary without directly using temurin-build scripts. ## Comparable Build Tools