testing/libmysofa: enable on s390x

cmake3.5 is necessary because CMakeLists.txt specifies compatibility
with CMake < 3.5.
This commit is contained in:
J. Neuschäfer 2025-01-21 23:31:57 +00:00 committed by achill (fossdd)
parent 60c302540a
commit 76a938040f

View File

@ -7,7 +7,6 @@ pkgdesc="Set of C functions to read AES SOFA files"
url="https://github.com/hoene/libmysofa"
license="BSD-3-Clause-Clear"
arch="all"
arch="$arch !s390x" # tests fail
makedepends="
cmake
cunit-dev
@ -21,14 +20,14 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/hoene/libmysofa/archive/v$pk
"
build() {
cmake -B build -G Ninja \
cmake3.5 -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCODE_COVERAGE=OFF \
-DBUILD_TESTS=ON \
-DBUILD_STATIC_LIBS=OFF
cmake --build build
cmake3.5 --build build
}
check() {