[Bug 237208] java/openjdk11: port to powerpc64

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237208

--- Comment #22 from Greg Lewis <[email protected]> ---
I should have been more specific in terms of instructions there.

I'm asking for a build of the upstream repository.  You'll need to follow steps
something like this:

* Download the bootstrap (there are links in the first comment and the most
recent one before this).
* Unpack the bootstrap somewhere.  Let's say /usr/local/openjdk11
* Checkout the upstream repo from git (link in my previous comment)
* Run the configure script, e.g.

env CC=/usr/local/bin/gcc8 \
    CXX=/usr/local/bin/g++8 \
    bash configure \
        --with-boot-jdk=/usr/local/openjdk11 \
        --disable-ccache \
        --disable-hotspot-gtest \
        --with-alsa=/usr/local \
        --with-cups=/usr/local \
        --with-fontconfig=/usr/local \
        --with-freetype=system \
        --with-freetype-include=/usr/local/include/freetype2 \
        --with-freetype-lib=/usr/local/lib \
        --with-milestone=fcs \
        --with-libjpeg=system \
        --with-giflib=system \
        --with-giflib-include=/usr/local/include \
        --with-giflib-lib=/usr/local/lib \
        --with-libpng=system \
        --with-zlib=system \
        --with-lcms=system \
        --with-toolchain-type=clang \
        --x-includes=/usr/local/include \
        --x-libraries=/usr/local/lib \
        --with-debug-level=release

* Run a build, e.g.

env LANG="C" \
    LC_ALL="C" \
    CLASSPATH="" \
    JAVA_HOME="" \
    LD_LIBRARY_PATH="" \
    CC=/usr/local/bin/gcc8 \
    CXX=/usr/local/bin/g++8 \
    MAKEFLAGS="" \
    USE_CLANG=true \
    gmake \
    CC=/usr/local/bin/gcc8 \
    CXX=/usr/local/bin/g++8 \
    COMPILER_WARNINGS_FATAL="false" \
    LOG=debug \
    images

If that works then we can cut a release and update the port.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.