mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/libmysofa: enable on s390x
cmake3.5 is necessary because CMakeLists.txt specifies compatibility with CMake < 3.5.
This commit is contained in:
parent
60c302540a
commit
76a938040f
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user