Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jdk17u
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
openjdk
jdk17u
Commits
f0c8e987
Commit
f0c8e987
authored
8 years ago
by
J. Duke
Browse files
Options
Downloads
Plain Diff
Merge
parents
934fec06
8f77abd1
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.hgtags-top-repo
+1
-0
1 addition, 0 deletions
.hgtags-top-repo
common/autoconf/hotspot-spec.gmk.in
+2
-2
2 additions, 2 deletions
common/autoconf/hotspot-spec.gmk.in
get_source.sh
+41
-13
41 additions, 13 deletions
get_source.sh
make/jprt.properties
+1
-3
1 addition, 3 deletions
make/jprt.properties
with
45 additions
and
18 deletions
.hgtags-top-repo
+
1
−
0
View file @
f0c8e987
...
...
@@ -264,3 +264,4 @@ cf22a728521f91a4692b433d39d730a0a1b23155 jdk9-b16
75a08df650eb3126bab0c4d15241f5886162393c jdk9-b19
ee4fd72b2ec3d92497f37163352f294aa695c6fb jdk9-b20
9052803f4d01feda28b3d65f2b64dd457d21c7b6 jdk9-b21
8e4bdab4c362aadde2d321f968cd503a2f779e2f jdk9-b22
This diff is collapsed.
Click to expand it.
common/autoconf/hotspot-spec.gmk.in
+
2
−
2
View file @
f0c8e987
...
...
@@ -69,8 +69,8 @@ ISA_DIR=$(OPENJDK_TARGET_CPU_ISADIR)
# Yet another name for arch used for an extra subdir below the jvm lib.
# Uses i386 and amd64, instead of x86 and x86_64.
LIBARCH=$(OPENJDK_TARGET_CPU_LEGACY_LIB)
#
Old name for OPENJDK_TARGET_CPU, uses i586 and amd64, instead of x86 and x86_64.
ARCH=$(OPENJDK_TARGET_CPU_
LEGACY
)
#
Set the cpu architecture
ARCH=$(OPENJDK_TARGET_CPU_
ARCH
)
# Legacy setting for building for a 64 bit machine.
# If yes then this expands to _LP64:=1
@LP64@
...
...
This diff is collapsed.
Click to expand it.
get_source.sh
+
41
−
13
View file @
f0c8e987
...
...
@@ -25,11 +25,34 @@
# questions.
#
to_stderr
()
{
echo
"
$@
"
>
&2
}
error
()
{
to_stderr
"ERROR:
$1
"
exit
${
2
:-
126
}
}
warning
()
{
to_stderr
"WARNING:
$1
"
}
version_field
()
{
# rev is typically omitted for minor and major releases
field
=
`
echo
${
1
}
.0 |
cut
-f
${
2
}
-d
.
`
if
expr
1 +
$field
>
/dev/null 2> /dev/null
;
then
echo
$field
else
echo
-1
fi
}
# Version check
# required
reqdmajor
=
1
reqdminor
=
5
reqdminor
=
4
reqdrev
=
0
# requested
...
...
@@ -37,34 +60,39 @@ rqstmajor=2
rqstminor
=
6
rqstrev
=
3
# installed
hgwhere
=
"
`
which hg 2> /dev/null |
grep
-v
'^no hg in '
`
"
hgwhere
=
"
`
command
-v
hg
`
"
if
[
"x
$hgwhere
"
=
"x"
]
;
then
echo
"ERROR: Could not locate Mercurial command"
>
&2
exit
126
error
"Could not locate Mercurial command"
fi
hgversion
=
"
`
hg
--version
2> /dev/null |
sed
-n
-e
's@^Mercurial Distributed SCM (version \(
.
*\))\$@\1@p'
`
"
hgversion
=
"
`
hg
--version
2> /dev/null |
sed
-n
-e
's@^Mercurial Distributed SCM (version \(
[^+]
*\)
.*
)\$@\1@p'
`
"
if
[
"x
${
hgversion
}
"
=
"x"
]
;
then
echo
"ERROR: Could not determine Mercurial version"
>
&2
exit
126
error
"Could not determine Mercurial version of
$hgwhere
"
fi
hgmajor
=
"
`
version_field
$hgversion
1
`
"
hgminor
=
"
`
version_field
$hgversion
2
`
"
hgrev
=
"
`
version_field
$hgversion
3
`
"
if
[
$hgmajor
-eq
-1
-o
$hgminor
-eq
-1
-o
$hgrev
-eq
-1
]
;
then
error
"Could not determine Mercurial version of
$hgwhere
from
\"
$hgversion
\"
"
fi
hgmajor
=
"
`
echo
$hgversion
|
cut
-f
1
-d
.
`
"
hgminor
=
"
`
echo
$hgversion
|
cut
-f
2
-d
.
`
"
hgrev
=
"
`
echo
$hgversion
.0 |
cut
-f
3
-d
.
`
"
# rev is omitted for minor and major releases
# Require
if
[
$hgmajor
-lt
$reqdmajor
-o
\(
$hgmajor
-eq
$reqdmajor
-a
$hgminor
-lt
$reqdminor
\)
-o
\(
$hgmajor
-eq
$reqdmajor
-a
$hgminor
-eq
$reqdminor
-a
$hgrev
-lt
$reqdrev
\)
]
;
then
echo
"ERROR: Mercurial version
$reqdmajor
.
$reqdminor
.
$reqdrev
or later is required.
$hgwhere
is version
$hgversion
"
>
&2
exit
126
error
"Mercurial version
$reqdmajor
.
$reqdminor
.
$reqdrev
or later is required.
$hgwhere
is version
$hgversion
"
fi
# Request
if
[
$hgmajor
-lt
$rqstmajor
-o
\(
$hgmajor
-eq
$rqstmajor
-a
$hgminor
-lt
$rqstminor
\)
-o
\(
$hgmajor
-eq
$rqstmajor
-a
$hgminor
-eq
$rqstminor
-a
$hgrev
-lt
$rqstrev
\)
]
;
then
echo
"WARNING:
Mercurial version
$rqstmajor
.
$rqstminor
.
$rqstrev
or later is recommended.
$hgwhere
is version
$hgversion
"
>
&2
warning
"
Mercurial version
$rqstmajor
.
$rqstminor
.
$rqstrev
or later is recommended.
$hgwhere
is version
$hgversion
"
fi
# Get clones of all absent nested repositories (harmless if already exist)
sh ./common/bin/hgforest.sh clone
"
$@
"
||
exit
$?
...
...
This diff is collapsed.
Click to expand it.
make/jprt.properties
+
1
−
3
View file @
f0c8e987
...
...
@@ -193,9 +193,7 @@ my.make.rule.test.targets.all= \
${my.make.rule.test.targets.core},
\
${my.make.rule.test.targets.svc},
\
${my.test.target.set:TESTNAME=jdk_awt},
\
${my.test.target.set:TESTNAME=jdk_beans1},
\
${my.test.target.set:TESTNAME=jdk_beans2},
\
${my.test.target.set:TESTNAME=jdk_beans3},
\
${my.test.target.set:TESTNAME=jdk_beans},
\
${my.test.target.set:TESTNAME=jdk_sound},
\
${my.test.target.set:TESTNAME=jdk_swing}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment