diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-04 08:25:06 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-04 08:25:06 +0000 |
commit | 0ef3b184a5fe0c69b8b9b53e010362c07f09a2ac (patch) | |
tree | b67e04af8688c0330ebfa4d837d132c89090784c /user/freecell-solver/APKBUILD | |
parent | 198e0130d845f7466c09a61f3829905d95313c06 (diff) | |
download | packages-0ef3b184a5fe0c69b8b9b53e010362c07f09a2ac.tar.gz packages-0ef3b184a5fe0c69b8b9b53e010362c07f09a2ac.tar.bz2 packages-0ef3b184a5fe0c69b8b9b53e010362c07f09a2ac.tar.xz packages-0ef3b184a5fe0c69b8b9b53e010362c07f09a2ac.zip |
user/freecell-solver: Skip Valgrind tests on PPC
Our ppc builder is running on P8/P9 hardware which cannot run Valgrind
in 32-bit mode. This skips those tests on that hardware.
It would be nice to re-enable these tests, if Valgrind grows ISA 3.0
support in 32-bit mode, or if our builders age up.
Closes: #876
Diffstat (limited to 'user/freecell-solver/APKBUILD')
-rw-r--r-- | user/freecell-solver/APKBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user/freecell-solver/APKBUILD b/user/freecell-solver/APKBUILD index bfd1a4fb6..e42dbc819 100644 --- a/user/freecell-solver/APKBUILD +++ b/user/freecell-solver/APKBUILD @@ -17,6 +17,12 @@ source="https://fc-solve.shlomifish.org/downloads/fc-solve/freecell-solver-$pkgv build() { rm t/t/perltidy.t + case $CTARGET_ARCH in + ppc) + ARCH_OPTS="-DSKIP_VALGRIND=True" # #876 + ;; + esac + if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi @@ -26,6 +32,7 @@ build() { -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ + ${ARCH_OPTS} \ ${CMAKE_CROSSOPTS} . # The build system generates header files; jobs >1 may cause failures # because .h don't exist yet. |