Compare commits
1 commit
4f1eb30eb8
...
ac05eed6b5
Author | SHA1 | Date | |
---|---|---|---|
ac05eed6b5 |
1 changed files with 5 additions and 3 deletions
|
@ -18,8 +18,6 @@ RUN mkdir /build/bootjdk /build/dist \
|
||||||
&& tar -xzf jdk21.tar.gz --directory=/build/bootjdk --strip-components=1 \
|
&& tar -xzf jdk21.tar.gz --directory=/build/bootjdk --strip-components=1 \
|
||||||
&& rm -f jdk21.tar.gz
|
&& rm -f jdk21.tar.gz
|
||||||
|
|
||||||
RUN find /build/bootjdk -name '*.so' | xargs execstack -c
|
|
||||||
|
|
||||||
RUN git clone --single-branch --depth 1 \
|
RUN git clone --single-branch --depth 1 \
|
||||||
https://github.com/ibmruntimes/openj9-openjdk-jdk21.git \
|
https://github.com/ibmruntimes/openj9-openjdk-jdk21.git \
|
||||||
/build/src
|
/build/src
|
||||||
|
@ -29,7 +27,6 @@ RUN bash get_source.sh
|
||||||
|
|
||||||
RUN bash configure --with-boot-jdk=/build/bootjdk --with-openssl=system --with-extra-ldflags="-Wl,-z,noexecstack"
|
RUN bash configure --with-boot-jdk=/build/bootjdk --with-openssl=system --with-extra-ldflags="-Wl,-z,noexecstack"
|
||||||
RUN make all JOBS=$(nproc)
|
RUN make all JOBS=$(nproc)
|
||||||
RUN make test JOBS=$(nproc)
|
|
||||||
|
|
||||||
# jlink by advice from https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/
|
# jlink by advice from https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/
|
||||||
WORKDIR /build/src/build/linux-x86_64-server-release/images
|
WORKDIR /build/src/build/linux-x86_64-server-release/images
|
||||||
|
@ -46,6 +43,11 @@ openj9.sharedclasses,openj9.zosconditionhandling
|
||||||
|
|
||||||
RUN mv ./* /build/dist/
|
RUN mv ./* /build/dist/
|
||||||
|
|
||||||
|
ENV JT_JAVA=/build/bootjdk
|
||||||
|
RUN cd /build/dist/jdk && ./bin/jtreg \
|
||||||
|
-jdk:/build/src/build/linux-x86_64-server-release/images/jdk -agentvm -verbose:summary \
|
||||||
|
-w build/jtreg/work -r build/jtreg/report \
|
||||||
|
test/java/lang/Class
|
||||||
|
|
||||||
# ------
|
# ------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue