MFC r282057,r282092,r282106:

r282057:

Build/install libc, librt, libthr, and msun NetBSD test suites on all
architectures

r282092 (by andrew):

Correct the spelling of MACHINE_CPUARCH, MACHINE_CPU is not set on arm64.

r282106:

Remove per-architecture checks for enabling HAVE_FENV_H

The conditional came from NetBSD, where only select architectures have this
header/support

All architectures on FreeBSD have the necessary support though, so the
conditional's completely unnecessary

make tinderbox done on all architectures (including arm64, where the issue
occurred before) this time
This commit is contained in:
Enji Cooper 2015-05-13 11:32:55 +00:00
parent 41276f62af
commit 1224851c40
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=282854
13 changed files with 13 additions and 56 deletions

View File

@ -160,7 +160,9 @@ libkern.${LIBC_ARCH}:: ${KMSRCS}
CFLAGS+=-DSYSCALL_COMPAT
.endif
.include <bsd.arch.inc.mk>
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.lib.mk>

View File

@ -1,6 +0,0 @@
# $FreeBSD$
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif

View File

@ -1,6 +0,0 @@
# $FreeBSD$
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif

View File

@ -20,6 +20,8 @@ PRECIOUSLIB=
VERSION_MAP= ${.CURDIR}/Version.map
.include <bsd.arch.inc.mk>
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.lib.mk>

View File

@ -1,6 +0,0 @@
# $FreeBSD$
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif

View File

@ -1,6 +0,0 @@
# $FreeBSD$
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif

View File

@ -63,6 +63,8 @@ SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
CFLAGS+=-DSYSCALL_COMPAT
.endif
.include <bsd.arch.inc.mk>
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.lib.mk>

View File

@ -1,6 +0,0 @@
# $FreeBSD$
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif

View File

@ -1,6 +0,0 @@
# $FreeBSD$
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif

View File

@ -219,6 +219,8 @@ MLINKS+=trunc.3 truncf.3 trunc.3 truncl.3
.include <bsd.own.mk>
.include <bsd.arch.inc.mk>
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.lib.mk>

View File

@ -1,6 +0,0 @@
# $FreeBSD$
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif

View File

@ -1,6 +0,0 @@
# $FreeBSD$
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif

View File

@ -6,11 +6,8 @@ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libm
TESTSDIR= ${TESTSBASE}/lib/msun
.if ${MACHINE} == "sparc" || ${MACHINE} == "i386" \
|| ${MACHINE} == "amd64" || ${MACHINE_CPU} == "arm" \
|| ${MACHINE} == "sparc64"
# All architectures on FreeBSD have fenv.h
CFLAGS+= -DHAVE_FENV_H
.endif
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
CFLAGS+= -D__HAVE_LONG_DOUBLE