Disabled test in some arch. Improve some code

parent 4f9338b5
......@@ -7,17 +7,18 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
# enabling single precision only for armel, mips and mipsel
ifeq ($(DEB_HOST_ARCH),armel)
CONFIG_OPTS = --enable-single-precision
else ifeq ($(DEB_HOST_ARCH),mips)
CONFIG_OPTS = --enable-single-precision
else ifeq ($(DEB_HOST_ARCH),mipsel)
ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),armel mips mipsel))
CONFIG_OPTS = --enable-single-precision
else
CONFIG_OPTS = --enable-double-precision
endif
TESTS := yes
ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),arm64 armel armhf mips mipsel hppa powerpc))
#Disabling checks on $(DEB_HOST_ARCH)
TESTS := no
endif
CONFIG_OPTS += --mandir=/usr/share/man \
--with-libccd=system \
--enable-libccd \
......@@ -33,3 +34,8 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build
docbook-to-man debian/ode-config.man.sgml > debian/ode-config.1
override_dh_auto_test:
ifeq ($(TESTS),yes)
dh_auto_test
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment