Added Cilk runtime library (libcilkrts) into GCC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204173 138bc75d-0d04-0410-961f-82ee72b054a4
This commit is contained in:
parent
689a1abf0d
commit
522e3d71c8
@ -1,3 +1,12 @@
|
||||
2013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com>
|
||||
|
||||
* Makefile.def: Add libcilkrts to target_modules. Make libcilkrts
|
||||
depend on libstdc++ and libgcc.
|
||||
* configure: Regenerate.
|
||||
* configure.ac: Added libcilkrts to target binaries. Also, restrict
|
||||
libcilkrts for POSIX and i*86, and x86_64 architectures.
|
||||
* Makefile.in: Added libcilkrts related fields to support building it.
|
||||
|
||||
2013-10-26 Jeff Law <law@redhat.com>
|
||||
|
||||
* Makefile.def (target_modules): Remove libmudflap
|
||||
|
@ -125,6 +125,8 @@ target_modules = { module= libvtv;
|
||||
bootstrap=true;
|
||||
lib_path=.libs;
|
||||
raw_cxx=true; };
|
||||
target_modules = { module= libcilkrts;
|
||||
lib_path=.libs; };
|
||||
target_modules = { module= libssp; lib_path=.libs; };
|
||||
target_modules = { module= newlib; };
|
||||
target_modules = { module= libgcc; bootstrap=true; no_check=true; };
|
||||
@ -491,6 +493,7 @@ dependencies = { module=all-m4; on=all-build-texinfo; };
|
||||
// on libgcc and newlib/libgloss.
|
||||
lang_env_dependencies = { module=libjava; cxx=true; };
|
||||
lang_env_dependencies = { module=libitm; cxx=true; };
|
||||
lang_env_dependencies = { module=libcilkrts; cxx=true; };
|
||||
lang_env_dependencies = { module=newlib; no_c=true; };
|
||||
lang_env_dependencies = { module=libgloss; no_c=true; };
|
||||
lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
|
||||
@ -531,6 +534,8 @@ dependencies = { module=install-target-libsanitizer; on=install-target-libstdc++
|
||||
dependencies = { module=install-target-libsanitizer; on=install-target-libgcc; };
|
||||
dependencies = { module=install-target-libvtv; on=install-target-libstdc++-v3; };
|
||||
dependencies = { module=install-target-libvtv; on=install-target-libgcc; };
|
||||
dependencies = { module=install-target-libcilkrts; on=install-target-libstdc++-v3; };
|
||||
dependencies = { module=install-target-libcilkrts; on=install-target-libgcc; };
|
||||
dependencies = { module=install-target-libjava; on=install-target-libgcc; };
|
||||
dependencies = { module=install-target-libitm; on=install-target-libgcc; };
|
||||
dependencies = { module=install-target-libobjc; on=install-target-libgcc; };
|
||||
|
1000
Makefile.in
1000
Makefile.in
File diff suppressed because it is too large
Load Diff
20
configure
vendored
20
configure
vendored
@ -2772,6 +2772,7 @@ target_libraries="target-libgcc \
|
||||
target-libgloss \
|
||||
target-newlib \
|
||||
target-libgomp \
|
||||
target-libcilkrts \
|
||||
target-libatomic \
|
||||
target-libitm \
|
||||
target-libstdc++-v3 \
|
||||
@ -3164,6 +3165,25 @@ $as_echo "yes" >&6; }
|
||||
fi
|
||||
fi
|
||||
|
||||
# Disable libcilkrts on unsupported systems.
|
||||
if test -d ${srcdir}/libcilkrts; then
|
||||
if test x$enable_libcilkrts = x; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
|
||||
$as_echo_n "checking for libcilkrts support... " >&6; }
|
||||
if (srcdir=${srcdir}/libcilkrts; \
|
||||
. ${srcdir}/configure.tgt; \
|
||||
test -n "$UNSUPPORTED")
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
noconfigdirs="$noconfigdirs target-libcilkrts"
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Disable libitm on unsupported systems.
|
||||
if test -d ${srcdir}/libitm; then
|
||||
if test x$enable_libitm = x; then
|
||||
|
17
configure.ac
17
configure.ac
@ -156,6 +156,7 @@ target_libraries="target-libgcc \
|
||||
target-libgloss \
|
||||
target-newlib \
|
||||
target-libgomp \
|
||||
target-libcilkrts \
|
||||
target-libatomic \
|
||||
target-libitm \
|
||||
target-libstdc++-v3 \
|
||||
@ -506,6 +507,22 @@ if test -d ${srcdir}/libatomic; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Disable libcilkrts on unsupported systems.
|
||||
if test -d ${srcdir}/libcilkrts; then
|
||||
if test x$enable_libcilkrts = x; then
|
||||
AC_MSG_CHECKING([for libcilkrts support])
|
||||
if (srcdir=${srcdir}/libcilkrts; \
|
||||
. ${srcdir}/configure.tgt; \
|
||||
test -n "$UNSUPPORTED")
|
||||
then
|
||||
AC_MSG_RESULT([no])
|
||||
noconfigdirs="$noconfigdirs target-libcilkrts"
|
||||
else
|
||||
AC_MSG_RESULT([yes])
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Disable libitm on unsupported systems.
|
||||
if test -d ${srcdir}/libitm; then
|
||||
if test x$enable_libitm = x; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user