forked from DarkCat09/docker-openj9-piped
fix(clang): this time it must work
This commit is contained in:
parent
f881e40484
commit
86522ff431
1 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,7 @@ RUN apt -qq update \
|
|||
ant ant-contrib autoconf build-essential ca-certificates clang cmake cpio curl execstack file git \
|
||||
libasound2-dev libcups2-dev libdwarf-dev libelf-dev libexpat1-dev libffi-dev libfontconfig libfontconfig1-dev \
|
||||
libfreetype6-dev libnuma-dev libssl-dev libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev libxtst-dev \
|
||||
lld make nasm pkg-config python3 python3-dev rsync systemtap-sdt-dev unzip wget xvfb zip zlib1g-dev unzip \
|
||||
llvm-dev lld make nasm pkg-config python3 python3-dev rsync systemtap-sdt-dev unzip wget xvfb zip zlib1g-dev unzip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /build
|
||||
|
@ -35,8 +35,7 @@ RUN bash configure \
|
|||
--with-boot-jdk=/build/bootjdk \
|
||||
--with-openssl=system \
|
||||
--with-toolchain-type=clang \
|
||||
--enable-jvm-feature-link-time-opt \
|
||||
--with-extra-ldflags="-fuse-ld=/usr/bin/lld"
|
||||
--enable-jvm-feature-link-time-opt
|
||||
RUN make all JOBS=$(nproc)
|
||||
|
||||
# jlink by advice from https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue