Skip to content

Commit e789b10

Browse files
author
J. Duke
committed
Merge
2 parents 1fd4687 + 4a3d5e3 commit e789b10

File tree

664 files changed

+19583
-8014
lines changed

Some content is hidden

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

664 files changed

+19583
-8014
lines changed

.hgtags-top-repo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,4 @@ d2dcb110e9dbaf9903c05b211df800e78e4b394e jdk8-b100
226226
5eb3c1dc348f72a7f84f7d9d07834e8bbe09a799 jdk8-b102
227227
b7e64be81c8a7690703df5711f4fc2375da8a9cb jdk8-b103
228228
96c1b9b7524b52c3fcefc90ffad4c767396727c8 jdk8-b104
229+
5166118c59178b5d31001bc4058e92486ee07d9b jdk8-b105

NewMakefile.gmk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ else
6969
# Run the makefile with an arbitraty SPEC using -p -q (quiet dry-run and dump rules) to find
7070
# available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
7171
all_phony_targets=$(filter-out $(global_targets) bundles-only, $(strip $(shell \
72-
$(MAKE) -p -q -f common/makefiles/Main.gmk SPEC=$(firstword $(SPEC)) | \
72+
$(MAKE) -p -q -f common/makefiles/Main.gmk FRC SPEC=$(firstword $(SPEC)) | \
7373
grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
7474

7575
$(all_phony_targets):
76-
$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) \
76+
@$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) \
7777
$(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true
7878

7979
.PHONY: $(all_phony_targets)
@@ -98,6 +98,7 @@ help:
9898
$(info . # corba and jdk)
9999
$(info . make all # Compile everything, all repos and images)
100100
$(info . make images # Create complete j2sdk and j2re images)
101+
$(info . make docs # Create javadocs)
101102
$(info . make overlay-images # Create limited images for sparc 64 bit platforms)
102103
$(info . make profiles # Create complete j2re compact profile images)
103104
$(info . make bootcycle-images # Build images twice, second time with newly build JDK)
@@ -109,7 +110,7 @@ help:
109110
$(info . make test # Run tests, default is all tests (see TEST below))
110111
$(info )
111112
$(info Targets for specific components)
112-
$(info (Component is any of langtools, corba, jaxp, jaxws, hotspot, jdk, images or overlay-images))
113+
$(info (Component is any of langtools, corba, jaxp, jaxws, hotspot, jdk, nashorn, images, overlay-images, docs or test))
113114
$(info . make <component> # Build <component> and everything it depends on. )
114115
$(info . make <component>-only # Build <component> only, without dependencies. This)
115116
$(info . # is faster but can result in incorrect build results!)

README-builds.html

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,19 +1210,18 @@ <h3><a name="faq">FAQ</a></h3>
12101210
<blockquote>
12111211

12121212
<p>
1213-
<b>Q:</b> The <code>configure</code> file looks horrible!
1213+
<b>Q:</b> The <code>generated-configure.sh</code> file looks horrible!
12141214
How are you going to edit it?
12151215
<br>
1216-
<b>A:</b> The <code>configure</code> file is generated (think
1216+
<b>A:</b> The <code>generated-configure.sh</code> file is generated (think
12171217
"compiled") by the autoconf tools. The source code is
1218-
in <code>configure.ac</code> various .m4 files in common/autoconf,
1219-
which are
1220-
much more readable.
1218+
in <code>configure.ac</code> and various .m4 files in common/autoconf,
1219+
which are much more readable.
12211220
</p>
12221221

12231222
<p>
12241223
<b>Q:</b>
1225-
Why is the <code>configure</code> file checked in,
1224+
Why is the <code>generated-configure.sh</code> file checked in,
12261225
if it is generated?
12271226
<br>
12281227
<b>A:</b>
@@ -1237,13 +1236,29 @@ <h3><a name="faq">FAQ</a></h3>
12371236
<p>
12381237
<b>Q:</b>
12391238
Do you require a specific version of autoconf for regenerating
1240-
<code>configure</code>?
1239+
<code>generated-configure.sh</code>?
12411240
<br>
12421241
<b>A:</b>
1243-
Currently, no, but this will likely be the case when things have
1244-
settled down a bit more. (The reason for this is to avoid
1245-
large spurious changes in <code>configure</code>
1246-
in commits that made small changes to <code>configure.ac</code>).
1242+
Yes, version 2.69 is required and should be easy
1243+
enough to aquire on all supported operating
1244+
systems. The reason for this is to avoid
1245+
large spurious changes in <code>generated-configure.sh</code>.
1246+
</p>
1247+
1248+
<p>
1249+
<b>Q:</b>
1250+
How do you regenerate <code>generated-configure.sh</code>
1251+
after making changes to the input files?
1252+
<br>
1253+
<b>A:</b>
1254+
Regnerating <code>generated-configure.sh</code>
1255+
should always be done using the
1256+
script <code>common/autoconf/autogen.sh</code> to
1257+
ensure that the correct files get updated. This
1258+
script should also be run after mercurial tries to
1259+
merge <code>generated-configure.sh</code> as a
1260+
merge of the generated file is not guaranteed to
1261+
be correct.
12471262
</p>
12481263

12491264
<p>

common/autoconf/autogen.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,15 @@ fi
4444
custom_hook=$custom_script_dir/custom-hook.m4
4545

4646
AUTOCONF="`which autoconf 2> /dev/null | grep -v '^no autoconf in'`"
47-
AUTOCONF_267="`which autoconf-2.67 2> /dev/null | grep -v '^no autoconf-2.67 in'`"
4847

4948
echo "Autoconf found: ${AUTOCONF}"
50-
echo "Autoconf-2.67 found: ${AUTOCONF_267}"
5149

5250
if test "x${AUTOCONF}" = x; then
5351
echo You need autoconf installed to be able to regenerate the configure script
5452
echo Error: Cannot find autoconf 1>&2
5553
exit 1
5654
fi
5755

58-
if test "x${AUTOCONF_267}" != x; then
59-
AUTOCONF=${AUTOCONF_267};
60-
fi
61-
6256
echo Generating generated-configure.sh with ${AUTOCONF}
6357
cat $script_dir/configure.ac | sed -e "s|@DATE_WHEN_GENERATED@|$TIMESTAMP|" | ${AUTOCONF} -W all -I$script_dir - > $script_dir/generated-configure.sh
6458
rm -rf autom4te.cache

common/autoconf/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
###############################################################################
3131

3232

33-
AC_PREREQ([2.61])
33+
AC_PREREQ([2.69])
3434
AC_INIT(OpenJDK, jdk8, [email protected],,http://openjdk.java.net)
3535

3636
AC_CONFIG_AUX_DIR([build-aux])

0 commit comments

Comments
 (0)