Skip to content
Snippets Groups Projects
Commit 50b34896 authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

graphics/lensfun: enable tests only on amd64 and i386

Tests use SSE code, so they break during compilation on non-SSE architectures.
parent febb7271
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,7 @@ SHEBANG_FILES= apps/lensfun-add-adapter apps/lensfun-convert-lcp \
apps/lensfun-update-data
USE_GNOME= glib20
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_AUXFUN:BOOL=ON -DBUILD_LENSTOOL:BOOL=ON \
-DBUILD_TESTS:BOOL=ON
CMAKE_ARGS= -DBUILD_AUXFUN:BOOL=ON -DBUILD_LENSTOOL:BOOL=ON
MAKE_ENV+= PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE=
OPTIONS_DEFINE= SIMD PYHELPERS
......@@ -38,6 +37,12 @@ PYHELPERS_CMAKE_ON= -DSTAGEDIR:STRING=${STAGEDIR} -DPYTHON:STRING=${PYTHON_CMD}
PYHELPERS_CMAKE_OFF= -DINSTALL_HELPER_SCRIPTS:BOOL=OFF -DPYTHON:STRING=IGNORE
PYHELPERS_USES= python:3.4+
.include <bsd.port.options.mk>
.if ${ARCH} == amd64 || ${ARCH} == i386
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=ON
.endif
post-patch:
@${REINPLACE_CMD} -e '/#include <cmath>/ { x; s/^/#include <clocale>/; G; }' \
${WRKSRC}/tests/test_modifier_coord_centering_old.cpp \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment