octave: Add timeout to configure step.

This commit is contained in:
Markus Mützel committed 2022-04-21 10:28:38 +02:00
1 parent 4d82aca7a3
commit bdac165fa8
1 file changed
+4
+4
View File
@@ -57,6 +57,10 @@ build() {
mkdir -p build-${MSYSTEM}
cd build-${MSYSTEM}
# The configure step sometimes hangs for MINGW32 for currently unknown reasons.
# Add a timeout of 30 minutes (well over what should be needed) to unblock
# the build system in that case.
timeout 30m \
../${_realname}-${pkgver}/configure \
--host=${MINGW_CHOST} \
--target=${MINGW_CHOST} \