mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
python3-pandas: work around build failure on i686
This commit is contained in:
parent
a81cbaa11d
commit
fb946c9973
1 changed files with 14 additions and 0 deletions
|
@ -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"
|
distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz"
|
||||||
checksum=ab23595e2105e2595b14c37f5e88a24d065eb60432e9f45c78f8613ba956eacd
|
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() {
|
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
|
# setup.py allows a -j argument to parallelize builds
|
||||||
make_build_args+=" ${makejobs}"
|
make_build_args+=" ${makejobs}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue