Skip to content

Commit

Permalink
Build JDK11 and upwards with freetype 2.10.2
Browse files Browse the repository at this point in the history
* Freetype 2.10.2 can only be used with TOOLCHAIN=2017
* Freetype is set to use version 2.10.2 unless overriden in windows.sh

Signed-off-by: Morgan Davies <morgan.davies@ibm.com>
  • Loading branch information
Morgan Davies committed May 28, 2020
1 parent 02649fc commit 0ccef68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions build-farm/platform-specific-configurations/windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@ then
TOOLCHAIN_VERSION="2013"
export BUILD_ARGS="${BUILD_ARGS} --freetype-version 2.5.3"
export PATH="/cygdrive/c/openjdk/make-3.82/:$PATH"
elif [ "${JAVA_TO_BUILD}" == "${JDK11_VERSION}" ]
then
TOOLCHAIN_VERSION="2013"
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --disable-ccache"
elif [ "$JAVA_FEATURE_VERSION" -gt 11 ]
elif [ "$JAVA_FEATURE_VERSION" -ge 11 ]
then
TOOLCHAIN_VERSION="2017"
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --disable-ccache"
Expand All @@ -116,7 +112,6 @@ then
if [ "${VARIANT}" == "${BUILD_VARIANT_OPENJ9}" ]
then
export HAS_AUTOCONF=1
export BUILD_ARGS="${BUILD_ARGS} --freetype-version 2.5.3"

if [ "${JAVA_TO_BUILD}" == "${JDK8_VERSION}" ]
then
Expand Down
2 changes: 1 addition & 1 deletion sbin/common/config_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ function configDefaults() {
BUILD_CONFIG[COPY_MACOSX_FREE_FONT_LIB_FOR_JRE_FLAG]="false"
BUILD_CONFIG[FREETYPE]=true
BUILD_CONFIG[FREETYPE_DIRECTORY]=""
BUILD_CONFIG[FREETYPE_FONT_VERSION]="2.9.1"
BUILD_CONFIG[FREETYPE_FONT_VERSION]="2.10.2"
BUILD_CONFIG[FREETYPE_FONT_BUILD_TYPE_PARAM]=""

case "${BUILD_CONFIG[OS_KERNEL_NAME]}" in
Expand Down

0 comments on commit 0ccef68

Please sign in to comment.