mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +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"
|
url="https://github.com/hoene/libmysofa"
|
||||||
license="BSD-3-Clause-Clear"
|
license="BSD-3-Clause-Clear"
|
||||||
arch="all"
|
arch="all"
|
||||||
arch="$arch !s390x" # tests fail
|
|
||||||
makedepends="
|
makedepends="
|
||||||
cmake
|
cmake
|
||||||
cunit-dev
|
cunit-dev
|
||||||
@ -21,14 +20,14 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/hoene/libmysofa/archive/v$pk
|
|||||||
"
|
"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -G Ninja \
|
cmake3.5 -B build -G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DCODE_COVERAGE=OFF \
|
-DCODE_COVERAGE=OFF \
|
||||||
-DBUILD_TESTS=ON \
|
-DBUILD_TESTS=ON \
|
||||||
-DBUILD_STATIC_LIBS=OFF
|
-DBUILD_STATIC_LIBS=OFF
|
||||||
cmake --build build
|
cmake3.5 --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
Loading…
Reference in New Issue
Block a user