Skip to content

Commit 92f4fb2

Browse files
author
duke
committedAug 5, 2022
Automatic merge of master into foreign-memaccess+abi
2 parents 0c2b610 + 40a2729 commit 92f4fb2

File tree

430 files changed

+5168
-2994
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

430 files changed

+5168
-2994
lines changed
 

‎doc/building.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -898,13 +898,13 @@ <h2 id="reproducible-builds">Reproducible Builds</h2>
898898
<pre><code>export SOURCE_DATE_EPOCH=946684800
899899
bash configure --with-version-opt=adhoc
900900
make</code></pre>
901-
<p>Note that regardless if you specify a source date for <code>configure</code> or not, the JDK build system will set <code>SOURCE_DATE_EPOCH</code> for all build tools when building. If <code>--with-source-date</code> has the value <code>updated</code> (which is the default unless <code>SOURCE_DATE_EPOCH</code> is found by in the environment by <code>configure</code>), the source date value will be determined at build time.</p>
901+
<p>Note that regardless if you specify a source date for <code>configure</code> or not, the JDK build system will set <code>SOURCE_DATE_EPOCH</code> for all build tools when building. If <code>--with-source-date</code> has the value <code>current</code> (which is the default unless <code>SOURCE_DATE_EPOCH</code> is found by in the environment by <code>configure</code>), the source date value will be determined at configure time.</p>
902902
<p>There are several aspects of reproducible builds that can be individually adjusted by <code>configure</code> arguments. If any of these are given, they will override the value derived from <code>SOURCE_DATE_EPOCH</code>. These arguments are:</p>
903903
<ul>
904904
<li><p><code>--with-source-date</code></p>
905905
<p>This option controls how the JDK build sets <code>SOURCE_DATE_EPOCH</code> when building. It can be set to a value describing a date, either an epoch based timestamp as an integer, or a valid ISO-8601 date.</p>
906906
<p>It can also be set to one of the special values <code>current</code>, <code>updated</code> or <code>version</code>. <code>current</code> means that the time of running <code>configure</code> will be used. <code>version</code> will use the nominal release date for the current JDK version. <code>updated</code>, which means that <code>SOURCE_DATE_EPOCH</code> will be set to the current time each time you are running <code>make</code>. All choices, except for <code>updated</code>, will set a fixed value for the source date timestamp.</p>
907-
<p>When <code>SOURCE_DATE_EPOCH</code> is set, the default value for <code>--with-source-date</code> will be the value given by <code>SOURCE_DATE_EPOCH</code>. Otherwise, the default value is <code>updated</code>.</p></li>
907+
<p>When <code>SOURCE_DATE_EPOCH</code> is set, the default value for <code>--with-source-date</code> will be the value given by <code>SOURCE_DATE_EPOCH</code>. Otherwise, the default value is <code>current</code>.</p></li>
908908
<li><p><code>--with-hotspot-build-time</code></p>
909909
<p>This option controls the build time string that will be included in the hotspot library (<code>libjvm.so</code> or <code>jvm.dll</code>). When the source date is fixed (e.g. by setting <code>SOURCE_DATE_EPOCH</code>), the default value for <code>--with-hotspot-build-time</code> will be an ISO 8601 representation of that time stamp. Otherwise the default value will be the current time when building hotspot.</p></li>
910910
<li><p><code>--with-copyright-year</code></p>

‎doc/building.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1559,9 +1559,9 @@ make
15591559
15601560
Note that regardless if you specify a source date for `configure` or not, the
15611561
JDK build system will set `SOURCE_DATE_EPOCH` for all build tools when building.
1562-
If `--with-source-date` has the value `updated` (which is the default unless
1562+
If `--with-source-date` has the value `current` (which is the default unless
15631563
`SOURCE_DATE_EPOCH` is found by in the environment by `configure`), the source
1564-
date value will be determined at build time.
1564+
date value will be determined at configure time.
15651565
15661566
There are several aspects of reproducible builds that can be individually
15671567
adjusted by `configure` arguments. If any of these are given, they will override
@@ -1582,7 +1582,7 @@ the value derived from `SOURCE_DATE_EPOCH`. These arguments are:
15821582
15831583
When `SOURCE_DATE_EPOCH` is set, the default value for `--with-source-date`
15841584
will be the value given by `SOURCE_DATE_EPOCH`. Otherwise, the default value
1585-
is `updated`.
1585+
is `current`.
15861586
15871587
* `--with-hotspot-build-time`
15881588

0 commit comments

Comments
 (0)