fix(openjdk)

This commit is contained in:
Jacob Heider 2023-10-27 13:34:14 -04:00 committed by Jacob Heider
parent 64305b2c0f
commit e190b57539

View file

@ -40,7 +40,7 @@ runtime:
build:
dependencies:
linux:
gnu.org/gcc: '*'
llvm.org: <17
gnu.org/make: '*'
gnu.org/autoconf: '*'
freedesktop.org/pkg-config: '*'
@ -48,12 +48,17 @@ build:
script:
- run: wget -c $BOOT_JDK -O - | tar xz -C . --strip-components=$STRIP
working-directory: boot-jdk
# autoconf won't find llvm-cxxfilt for c++filt, and won't take an envvar
- run: |
bash configure $ARGS \
--with-boot-jdk="$BOOT_JDK_DIR" \
--with-vendor-version-string="$(tea --version | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')" \
--with-extra-cflags="$CFLAGS" \
--with-extra-cxxflags="$CXXFLAGS" \
sed -i.bak -e's/c..filt/llvm-cxxfilt/' toolchain.m4
rm toolchain.m4.bak
working-directory: make/autoconf
if: linux
- bash configure $ARGS
--with-boot-jdk="$BOOT_JDK_DIR"
--with-vendor-version-string="$(tea --version | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')"
--with-extra-cflags="$CFLAGS"
--with-extra-cxxflags="$CXXFLAGS"
--with-extra-ldflags="$LDFLAGS"
- make images
- mkdir -p {{prefix}}