mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-20 21:39:21 +08:00
1787e9d033
Add support for the AMD GCN GPU architecture. This is primarily intended for use with OpenMP and OpenACC offloading. It can also be used for stand-alone programs, but this is intended mostly for testing the compiler and is not expected to be useful in general. The GPU architecture is highly parallel, and therefore Newlib must be configured to use dynamic re-entrancy, and thread-safe malloc. The only I/O available is a via a shared-memory interface provided by libgomp and the gcn-run tool included with GCC. At this time this is limited to stdout, argc/argv, and the return code.
66 lines
1.9 KiB
Plaintext
66 lines
1.9 KiB
Plaintext
dnl This is the newlib/libc/sys configure.in file.
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.59)
|
|
AC_INIT([newlib],[NEWLIB_VERSION])
|
|
AC_CONFIG_SRCDIR([a29khif])
|
|
|
|
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
|
|
AC_CONFIG_AUX_DIR(../../..)
|
|
|
|
NEWLIB_CONFIGURE(../..)
|
|
|
|
dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and
|
|
dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
|
|
dnl line of the macro which fail because appropriate LDFLAGS are not set.
|
|
_LT_DECL_SED
|
|
_LT_PROG_ECHO_BACKSLASH
|
|
if test "${use_libtool}" = "yes"; then
|
|
AC_LIBTOOL_WIN32_DLL
|
|
AM_PROG_LIBTOOL
|
|
fi
|
|
|
|
if test -n "${sys_dir}"; then
|
|
case ${sys_dir} in
|
|
a29khif) AC_CONFIG_SUBDIRS(a29khif) ;;
|
|
amdgcn) AC_CONFIG_SUBDIRS(amdgcn) ;;
|
|
arm) AC_CONFIG_SUBDIRS(arm) ;;
|
|
d10v) AC_CONFIG_SUBDIRS(d10v) ;;
|
|
decstation) AC_CONFIG_SUBDIRS(decstation) ;;
|
|
epiphany) AC_CONFIG_SUBDIRS(epiphany) ;;
|
|
h8300hms) AC_CONFIG_SUBDIRS(h8300hms) ;;
|
|
h8500hms) AC_CONFIG_SUBDIRS(h8500hms) ;;
|
|
linux) AC_CONFIG_SUBDIRS(linux) ;;
|
|
m88kbug) AC_CONFIG_SUBDIRS(m88kbug) ;;
|
|
mmixware) AC_CONFIG_SUBDIRS(mmixware) ;;
|
|
netware) AC_CONFIG_SUBDIRS(netware) ;;
|
|
or1k) AC_CONFIG_SUBDIRS(or1k) ;;
|
|
phoenix) AC_CONFIG_SUBDIRS(phoenix) ;;
|
|
rdos) AC_CONFIG_SUBDIRS(rdos) ;;
|
|
rtems) AC_CONFIG_SUBDIRS(rtems) ;;
|
|
sh) AC_CONFIG_SUBDIRS(sh) ;;
|
|
sparc64) AC_CONFIG_SUBDIRS(sparc64) ;;
|
|
sun4) AC_CONFIG_SUBDIRS(sun4) ;;
|
|
sysmec) AC_CONFIG_SUBDIRS(sysmec) ;;
|
|
sysnec810) AC_CONFIG_SUBDIRS(sysnec810) ;;
|
|
sysnecv850) AC_CONFIG_SUBDIRS(sysnecv850) ;;
|
|
sysvi386) AC_CONFIG_SUBDIRS(sysvi386) ;;
|
|
sysvnecv70) AC_CONFIG_SUBDIRS(sysvnecv70) ;;
|
|
tic80) AC_CONFIG_SUBDIRS(tic80) ;;
|
|
tirtos) AC_CONFIG_SUBDIRS(tirtos) ;;
|
|
w65) AC_CONFIG_SUBDIRS(w65) ;;
|
|
z8ksim) AC_CONFIG_SUBDIRS(z8ksim) ;;
|
|
esac;
|
|
fi
|
|
|
|
CRT0=
|
|
if test "x${have_crt0}" = "xyes"; then
|
|
CRT0=crt0.o
|
|
fi
|
|
AC_SUBST(CRT0)
|
|
|
|
AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x)
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|