fix: ...pointer to non-trivially copyable type...
Some checks failed
Docker Image CI / build-and-push (map[build-args:[] context:./ dockerfile:Dockerfile.piped image_name:piped]) (push) Successful in 10s
Docker Image CI / build-and-push (map[build-args:[WITH_JDK=false] context:./ dockerfile:Dockerfile.openj9 image_name:openj9]) (push) Failing after 3m47s
Some checks failed
Docker Image CI / build-and-push (map[build-args:[] context:./ dockerfile:Dockerfile.piped image_name:piped]) (push) Successful in 10s
Docker Image CI / build-and-push (map[build-args:[WITH_JDK=false] context:./ dockerfile:Dockerfile.openj9 image_name:openj9]) (push) Failing after 3m47s
This commit is contained in:
parent
86522ff431
commit
dfe051d2c6
1 changed files with 4 additions and 1 deletions
|
@ -31,11 +31,14 @@ ENV CC=/usr/bin/clang CXX=/usr/bin/clang++ LD=/usr/bin/lld
|
||||||
# TODO: add as args to configure
|
# TODO: add as args to configure
|
||||||
# CFLAGS="-O3 -flto -fwhole-program-vtables" \
|
# CFLAGS="-O3 -flto -fwhole-program-vtables" \
|
||||||
# LDFLAGS="-Wl,-O1"
|
# LDFLAGS="-Wl,-O1"
|
||||||
|
ENV CFLAGS="-Wno-error=nontrivial-memcall"
|
||||||
RUN bash configure \
|
RUN bash configure \
|
||||||
--with-boot-jdk=/build/bootjdk \
|
--with-boot-jdk=/build/bootjdk \
|
||||||
--with-openssl=system \
|
--with-openssl=system \
|
||||||
--with-toolchain-type=clang \
|
--with-toolchain-type=clang \
|
||||||
--enable-jvm-feature-link-time-opt
|
--enable-jvm-feature-link-time-opt \
|
||||||
|
--with-extra-cflags="$CFLAGS" \
|
||||||
|
--with-extra-cxxflags="$CFLAGS"
|
||||||
RUN make all JOBS=$(nproc)
|
RUN make all 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/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue