Commit Graph

12 Commits

Author SHA1 Message Date
Alexander Ivchenko
7955b06580 configure.ac: Move pthread affinity test to the place where '-pthread' passed to CFLAGS.
libcilkrts/
	* configure.ac: Move pthread affinity test to the place where
	'-pthread' passed to CFLAGS. Otherwise the test always fails.
	(XCFLAGS): New variable for correctly passing
	'-pthread'.
	(XLDFLAGS): New variable for passing the correct pthread lib.
	* configure: Regenerate.
	* Makefile.am (AM_CFLAGS): Add $XCFLAGS.
	(AM_LDFLAGS): Add $XLDFLAGS.
	* Makefile.in: Regenerate.

From-SVN: r213854
2014-08-12 11:06:44 +00:00
Tobias Burnus
b9487dd868 gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
gcc/
2014-03-26  Tobias Burnus  <burnus@net-b.de>

        * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
        (CILK_SELF_SPECS): New define.
        (driver_self_specs): Use it.

libcilkrts/
2014-03-26  Tobias Burnus  <burnus@net-b.de>

        * libcilkrts.spec.in: New.
        * Makefile.am: Handle libcilkrts.spec.
        * configure.ac: Determine link options for libcilkrts.spec.
        * Makefile.in: Regenerate.
        * configure: Regenerate.
        * aclocal.m4: Regenerate.

From-SVN: r208847
2014-03-26 20:16:35 +01:00
Balaji V. Iyer
ef132d593e re PR other/58996 (build failure in libcilkrts)
Fix for PR other/58996.
+2014-01-20  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       PR other/58996
+       * configure.ac: Added a check for pthread affinity support.
+       * runtime/os-unix.c: Likewise.
+       * configure: Regenerate.
+

From-SVN: r206846
2014-01-20 09:49:22 -08:00
Rainer Orth
1b7b698a06 Remove GCC_LIBSTDCXX_RAW_CXX_FLAGS
* configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Remove.
	* configure: Regenerate.

From-SVN: r205357
2013-11-25 16:32:22 +00:00
Rainer Orth
954d457405 Only use visibility if supported
* configure.ac (libcilkrts_cv_have_attribute_visibility): Check
	for __attribute__((visibility)).
	* configure: Regenerate.
	* include/cilk/common.h (CILK_EXPORT, CILK_EXPORT_DATA): Only use
	__attribute__((visibility)) if HAVE_ATTRIBUTE_VISIBILITY.

From-SVN: r205254
2013-11-22 11:44:56 +00:00
Rainer Orth
517854bc93 Enable libcilkrts multilib build on Solaris
* configure.ac (AC_PROG_CXX): Move after AC_PROG_CC.
	* configure: Regenerate.

From-SVN: r205253
2013-11-22 11:41:48 +00:00
Balaji V. Iyer
f8ae0b2ac5 Makefile.am (libcilkrts_la_LDFLAGS): Added a check for availability of "-ldl" flag.
2013-11-12  Balaji V. Iyer  <balaji.v.iyer@intel.com>

        * Makefile.am (libcilkrts_la_LDFLAGS): Added a check for availability
        of "-ldl" flag.
        * configure.ac: Likewise.
        * configure: Regenerate
        * Makefile.in: Likewise.

From-SVN: r204723
2013-11-12 15:13:13 -08:00
Balaji V. Iyer
c1cb31a74f Fix for PR other/58925 +2013-10-31 Balaji V.
Fix for PR other/58925
+2013-10-31  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       PR other/58925
+       * configure.ac: Added target_alias and GCC_LIBSTDCXX_RAW_CXX_FLAGS
+       fields.
+       * configure: Regenerated.
+       * aclocal.m4: Likewise.
+       * Makefile.in: Likewise.
+       * Makefile.am: Added gcc_version field.
+

From-SVN: r204280
2013-10-31 16:55:21 -07:00
Balaji V. Iyer
8c1a9d4d38 configure.ac: Changed a case statement to include i386.
2013-10-30  Balaji V. Iyer  <balaji.v.iyer@intel.com>

       * configure.ac: Changed a case statement to include i386.
       * configure: Regenerated.

From-SVN: r204246
2013-10-30 20:21:02 -07:00
Balaji V. Iyer
fbdec79172 Fix for bug Bootstrap/58918.
+2013-10-30  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * configure: Reconfigured.
+       * configure.ac: Add AC_FUNC_ALLOCA.
+       * runtime/sysdep-unix.c: Added check for alloca.h before
+       including it.
+       * config/x86/cilk-abi-vla.c: Likewise.
+       * runtime/cilk_fiber-unix.cpp: Likewise.
+

From-SVN: r204232
2013-10-30 15:51:29 -07:00
Tobias Burnus
8a1a4544e9 gcc_update (files_and_dependencies): Add rules for libcilkrts.
2013-10-29  Tobias Burnus  <burnus@net-b.de>

        * gcc_update (files_and_dependencies): Add rules for
        libcilkrts.

2013-10-29  Tobias Burnus  <burnus@net-b.de>

        * configure.ac: Add AM_MAINTAINER_MODE.
        * aclocal.m4: Regenerate.
        * configure.ac: Regenerate.
        * Makefile.in: Regenerate.

From-SVN: r204189
2013-10-30 01:09:21 +01:00
Balaji V. Iyer
3038054c68 Added Cilk runtime library (libcilkrts) into GCC.
From-SVN: r204173
2013-10-29 11:37:47 -07:00