Skip to content

Commit a11c6df

Browse files
committed
Fix bootstrap-lts-jdk.sh for sparc and update docs
1 parent d707c51 commit a11c6df

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ After the build you should inspect build_dir/ for your OpenJDK binaries.
5454

5555
Your build log files will be available in logs/ directory.
5656

57+
## Creating archives
58+
5759
You can use then archives.sh script which will create tar archives.
5860

5961
Note also archives-bootstrap.sh which currently creates minimal archive
@@ -64,7 +66,7 @@ compiler).
6466
openjdk-13.0.11-bootstrap_SunOS-i386_bin.tar.xz should be available for
6567
download. The minimal OS version is Solaris 11.4 CBE release [2].
6668

67-
--
69+
## Using --build-from
6870

6971
You can also build only newer OpenJDK versions. E.g. when you previously
7072
built older version and have them ready in your `build_dir` for
@@ -81,9 +83,9 @@ Alternately you can use your own bootstrap version.
8183
./build-all.sh --build-from=17 --boot-jdk=/export/home/build/jdk-16-bootstrap
8284
```
8385

84-
--
86+
## bootstrap-lts-jdk.sh
8587

86-
Or alternatively you can build OpenJDK LTS version 21 (i386 only) or 17 using
88+
Or you can build OpenJDK LTS version 21 (i386 only) or 17 using
8789
bootstrap archives with `bootstrap-lts-jdk.sh`:
8890

8991
```
@@ -108,7 +110,7 @@ Creating archive /home/test/solaris-openjdk/archives/openjdk-21.0.8_SunOS-i386_b
108110
109111
```
110112

111-
--
113+
## Notes
112114

113115
[1] JDK 8 is needed only for OpenJDK 9. Solaris Studio is needed only for
114116
OpenJDK 9, 10, 11 and 12. See example with `--build-from=[NUM]`.

bootstrap-lts-jdk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ GITHUB_URL="https://github.com/psumbera/solaris-openjdk/releases/download"
1414
arch=$(uname -m)
1515

1616
if [[ "$VERSION" -eq 17 ]]; then
17-
BOOTSRAP_OPENJDK_URL=${GITHUB_URL}/openjdk${BOOTSTRAP_VERSION}-bootstrap/openjdk-${BOOTSTRAP_VERSION}.0.2-bootstrap_SunOS-i386_bin.tar.xz
17+
BOOTSRAP_OPENJDK_URL=${GITHUB_URL}/openjdk${BOOTSTRAP_VERSION}-bootstrap/openjdk-${BOOTSTRAP_VERSION}.0.2-bootstrap_SunOS-`mach`_bin.tar.xz
1818
total_lines=73880
1919
elif [[ "$VERSION" -eq 21 && "$arch" == "i86pc" ]]; then
2020
BOOTSRAP_OPENJDK_URL=${GITHUB_URL}/openjdk${BOOTSTRAP_VERSION}-i386-bootstrap/openjdk-${BOOTSTRAP_VERSION}-bootstrap_SunOS-i386_bin.tar.xz

0 commit comments

Comments
 (0)