File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ if [[ $UNAME == CYGWIN* ]]; then
1616 WORKSPACE=$( cygpath -u " ${WORKSPACE} " )
1717fi
1818
19-
2019GTEST_DIR=" ${WORKSPACE} /gtest"
2120export GTEST_DIR
2221
6261
6362eval _CONFIGURE_OPTS=($( python3 ../SapMachine-Infrastructure/lib/get_configure_opts.py $_GIT_TAG $_BUILD_NUMBER $_RELEASE ) )
6463
64+ set -x
6565bash ./configure \
6666--with-boot-jdk=$BOOT_JDK \
6767" ${_CONFIGURE_OPTS[@]} " \
6868$_DEVKIT_OPTION \
6969$_CONFIGURE_OS_OPTIONS \
7070--with-freetype=bundled \
7171$EXTRA_CONFIGURE_OPTIONS
72+ { set +x; } 2> /dev/null
7273
7374# Try to build with legacy-bundles in one step.
7475# In case there is an error, we give it another try without legacy bundles and try to create the legacy bundle manually afterwards.
7576# This is needed to support building older source versions that didn't have the legacy-bundles target.
7677# Drawback: If there is a real build error, we'll restart the build and run into it again.
7778
7879legacy_bundles_available=1
79- make JOBS=12 product-bundles legacy-bundles test-image || legacy_bundles_available=0
80+ (set -x && make JOBS=12 product-bundles legacy-bundles test-image || legacy_bundles_available=0)
8081
8182if [ $legacy_bundles_available -ne 1 ]; then
82- make JOBS=12 product-bundles test-image
83+ (set -x && make JOBS=12 product-bundles test-image)
8384 if [[ $UNAME == Darwin ]]; then
84- make JOBS=12 mac-legacy-jre-bundle || true
85+ (set -x && make JOBS=12 mac-legacy-jre-bundle || true)
8586 else
86- make JOBS=12 legacy-jre-image || true
87+ (set -x && make JOBS=12 legacy-jre-image || true)
8788 fi
8889fi
8990
Original file line number Diff line number Diff line change @@ -91,10 +91,11 @@ def main(argv=None):
9191 utils .remove_if_exists (work_dir )
9292 mkdir (work_dir )
9393
94- jdk_archive = join (work_dir , jdk_url .rsplit ('/' , 1 )[- 1 ])
95-
9694 if args .download :
95+ jdk_archive = join (work_dir , jdk_url .rsplit ('/' , 1 )[- 1 ])
9796 utils .download_artifact (jdk_url , jdk_archive )
97+ else :
98+ jdk_archive = join (cwd , jdk_url .rsplit ('/' , 1 )[- 1 ])
9899
99100 jdk_dir = join (work_dir , jdk_name )
100101 mkdir (jdk_dir )
You can’t perform that action at this time.
0 commit comments