diff --git a/srcpkgs/python3-pandas/template b/srcpkgs/python3-pandas/template index 3504251c9c4..b1c8f0286bd 100644 --- a/srcpkgs/python3-pandas/template +++ b/srcpkgs/python3-pandas/template @@ -16,7 +16,21 @@ changelog="https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html" distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz" checksum=ab23595e2105e2595b14c37f5e88a24d065eb60432e9f45c78f8613ba956eacd +# Try to avoid an intermittent i686 build failure +# https://build.voidlinux.org/builders/i686_builder/builds/39813/steps/shell_3/logs/stdio +case "$XBPS_TARGET_MACHINE" in + i686*) disable_parallel_build=yes ;; +esac + pre_build() { + # Try to avoid the aforementioned intermittent i686 build failure + case "$XBPS_TARGET_MACHINE" in + i686*) + CFLAGS="${CFLAGS// -g/ -g1}" + CXXFLAGS="${CXXFLAGS// -g/ -g1}" + ;; + esac + # setup.py allows a -j argument to parallelize builds make_build_args+=" ${makejobs}" }