testing/[various]: fixes on s390x

need py-numpy   : py-cpuinfo, websockify, py-gnuplot, py-scipy,
                  py-fonttools, py-matplotlib, py-opengl
need openblas   : harminv
no jit support  : texlive
no arch support : tcc, nim, perl-sys-syscall

radare2         : need disabling debugger
thermald        : seems to be intel-only thing
lazperf         : io tests hang
This commit is contained in:
Tuan M. Hoang 2018-02-10 03:15:35 +00:00 committed by William Pitcock
parent 41d9695b25
commit 934d43aaca
15 changed files with 16 additions and 14 deletions

View File

@ -5,7 +5,7 @@ pkgver=1.4.1
pkgrel=1 pkgrel=1
pkgdesc="Free program to solve the problem of harmonic inversion" pkgdesc="Free program to solve the problem of harmonic inversion"
url="https://github.com/stevengj/harminv" url="https://github.com/stevengj/harminv"
arch="all" arch="all !s390x"
license="GPL" license="GPL"
depends_dev="openblas-dev" depends_dev="openblas-dev"
makedepends="$depends_dev gfortran" makedepends="$depends_dev gfortran"

View File

@ -5,7 +5,7 @@ pkgver=1.1.0
pkgrel=0 pkgrel=0
pkgdesc="Alternative LAZ implementation for C++ and JavaScript" pkgdesc="Alternative LAZ implementation for C++ and JavaScript"
url="https://github.com/hobu/laz-perf" url="https://github.com/hobu/laz-perf"
arch="all !armhf" # armhf: io_test segfaults arch="all !armhf !s390x" # armhf: io_test segfaults
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
makedepends="cmake" makedepends="cmake"
install="" install=""

View File

@ -7,7 +7,7 @@ pkgver=0.17.2
pkgrel=1 pkgrel=1
pkgdesc="A systems and applications programming language" pkgdesc="A systems and applications programming language"
url="https://nim-lang.org/" url="https://nim-lang.org/"
arch="all" arch="all !s390x"
license="MIT" license="MIT"
checkdepends="sqlite-libs nodejs" checkdepends="sqlite-libs nodejs"
subpackages="$pkgname-doc nimsuggest niminst" subpackages="$pkgname-doc nimsuggest niminst"

View File

@ -7,7 +7,7 @@ pkgver=0.25
pkgrel=1 pkgrel=1
pkgdesc="Invoke system calls that are otherwise difficult to do from Perl" pkgdesc="Invoke system calls that are otherwise difficult to do from Perl"
url="http://search.cpan.org/dist/Sys-Syscall/" url="http://search.cpan.org/dist/Sys-Syscall/"
arch="all !aarch64 !ppc64le" arch="all !aarch64 !ppc64le !s390x"
license="GPL PerlArtistic" license="GPL PerlArtistic"
cpandepends="" cpandepends=""
cpanmakedepends="" cpanmakedepends=""

View File

@ -6,7 +6,7 @@ pkgver=3.3.0
pkgrel=0 pkgrel=0
pkgdesc="A module for getting CPU info" pkgdesc="A module for getting CPU info"
url="https://github.com/workhorsy/py-cpuinfo" url="https://github.com/workhorsy/py-cpuinfo"
arch="noarch" arch="noarch !s390x"
license="MIT" license="MIT"
makedepends="python2-dev py-setuptools python3-dev" makedepends="python2-dev py-setuptools python3-dev"
subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"

View File

@ -5,7 +5,7 @@ pkgver=3.21.2
pkgrel=0 pkgrel=0
pkgdesc="Converts OpenType and TrueType fonts to and from XML" pkgdesc="Converts OpenType and TrueType fonts to and from XML"
url="https://github.com/fonttools/fonttools" url="https://github.com/fonttools/fonttools"
arch="noarch" arch="noarch !s390x"
license="BSD" license="BSD"
depends="py-numpy" depends="py-numpy"
makedepends="python2-dev python3-dev py-setuptools" makedepends="python2-dev python3-dev py-setuptools"

View File

@ -6,7 +6,7 @@ pkgver=1.8
pkgrel=0 pkgrel=0
pkgdesc="A Python interface to the gnuplot plotting program." pkgdesc="A Python interface to the gnuplot plotting program."
url="http://gnuplot-py.sourceforge.net" url="http://gnuplot-py.sourceforge.net"
arch="noarch" arch="noarch !s390x"
license="LGPL" license="LGPL"
depends="python2 py-numpy gnuplot" depends="python2 py-numpy gnuplot"
depends_dev="" depends_dev=""

View File

@ -6,7 +6,7 @@ pkgver=1.5.1
pkgrel=2 pkgrel=2
pkgdesc="A Python library for plots" pkgdesc="A Python library for plots"
url="http://matplotlib.org" url="http://matplotlib.org"
arch="all" arch="all !s390x"
license="custom" license="custom"
depends="python2 py-numpy python2-tkinter py-dateutil py-parsing py-tz py-cycler" depends="python2 py-numpy python2-tkinter py-dateutil py-parsing py-tz py-cycler"
makedepends="python2-dev gfortran py-numpy-dev freetype-dev libpng-dev tk-dev makedepends="python2-dev gfortran py-numpy-dev freetype-dev libpng-dev tk-dev

View File

@ -6,7 +6,7 @@ pkgver=3.1.1a1
pkgrel=1 pkgrel=1
pkgdesc="Standard OpenGL bindings for Python" pkgdesc="Standard OpenGL bindings for Python"
url="http://pyopengl.sourceforge.net" url="http://pyopengl.sourceforge.net"
arch="noarch" arch="noarch !s390x"
license="BSD" license="BSD"
depends="python2 freeglut mesa-gles py-pillow py-numpy" depends="python2 freeglut mesa-gles py-pillow py-numpy"
depends_dev="" depends_dev=""

View File

@ -5,7 +5,7 @@ pkgver=0.19.1
pkgrel=1 pkgrel=1
pkgdesc="Python library for scientific computing" pkgdesc="Python library for scientific computing"
url="http://www.scipy.org" url="http://www.scipy.org"
arch="all" arch="all !s390x"
license="BSD" license="BSD"
depends="py-numpy-f2py" depends="py-numpy-f2py"
makedepends="python2-dev python3-dev py-setuptools gfortran py-numpy-dev openblas-dev cython-dev" makedepends="python2-dev python3-dev py-setuptools gfortran py-numpy-dev openblas-dev cython-dev"

View File

@ -20,6 +20,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/radare/$pkgname/archive/${pk
builddir="$srcdir"/$pkgname-$pkgver builddir="$srcdir"/$pkgname-$pkgver
build() { build() {
[ "$CARCH" = "s390x" ] && _disable_debugger="--disable-debugger"
cd "$builddir" cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
@ -28,6 +29,7 @@ build() {
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--localstatedir=/var \ --localstatedir=/var \
$_disable_debugger \
--with-syscapstone \ --with-syscapstone \
--with-openssl \ --with-openssl \
--with-syszip --with-syszip

View File

@ -7,7 +7,7 @@ _commit=fc0188ffbcf29f856caedee8cef07d88be01e439
pkgrel=0 pkgrel=0
pkgdesc="Tiny C Compiler" pkgdesc="Tiny C Compiler"
url="http://repo.or.cz/tinycc.git" url="http://repo.or.cz/tinycc.git"
arch="all !ppc64le" arch="all !ppc64le !s390x"
license="LGPL-2.1" license="LGPL-2.1"
makedepends="texinfo" makedepends="texinfo"
options="!check" # test suite currently fails on the server options="!check" # test suite currently fails on the server

View File

@ -26,7 +26,7 @@ _xetex="xelatex xelollipop"
build() { build() {
cd "$builddir" cd "$builddir"
if [ "$CARCH" = "ppc64le" ] ; then if [ "$CARCH" = "ppc64le" ] || [ "$CARCH" = "s390x" ] ; then
EXTRA="--disable-luajittex --disable-mfluajit" EXTRA="--disable-luajittex --disable-mfluajit"
fi fi

View File

@ -6,7 +6,7 @@ pkgver=1.6
pkgrel=0 pkgrel=0
pkgdesc="Thermal daemon for IA" pkgdesc="Thermal daemon for IA"
url="https://github.com/01org/thermal_daemon" url="https://github.com/01org/thermal_daemon"
arch="all !armhf !aarch64" arch="all !armhf !aarch64 !s390x"
license="GPL-2.0" license="GPL-2.0"
depends="" depends=""
makedepends="autoconf automake libtool dbus-glib-dev libxml2-dev linux-headers" makedepends="autoconf automake libtool dbus-glib-dev libxml2-dev linux-headers"

View File

@ -5,7 +5,7 @@ pkgver=0.8.0
pkgrel=1 pkgrel=1
pkgdesc="WebSockets support for any application/server" pkgdesc="WebSockets support for any application/server"
url="https://github.com/kanaka/websockify" url="https://github.com/kanaka/websockify"
arch="noarch" arch="noarch !s390x"
license="LGPL-3.0" license="LGPL-3.0"
depends="py2-$pkgname=$pkgver-r$pkgrel py-setuptools py2-numpy" depends="py2-$pkgname=$pkgver-r$pkgrel py-setuptools py2-numpy"
makedepends="python2-dev" makedepends="python2-dev"