This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Build *PING* Re: [Build, Driver] Add -lcilkrts for -fcilkplus
- From: Tobias Burnus <burnus at net-b dot de>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Paolo Bonzini <bonzini at gnu dot org>, DJ Delorie <dj at redhat dot com>
- Date: Mon, 24 Mar 2014 22:16:31 +0100
- Subject: Build *PING* Re: [Build, Driver] Add -lcilkrts for -fcilkplus
- Authentication-results: sourceware.org; auth=none
- References: <531EB05C dot 8060603 at net-b dot de>
*PING* for the build part as the driver part has been already approved.
http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00492.html
Also pinging another one-line libcilkrts/Makefile.am patch:
http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01111.html
On March 11, 2014, Tobias Burnus wrote:
When using Cilk Plus (-fcilkplus), it makes sense to automatically
link the run-time library (-lcilkrts).
This patch mimics libgomp by adding a .spec file; I am not 100% sure
whether the .spec file is needed, but the pthread tests in libgomp
imply that it makes sense. (libgomp also checks for -lrt for the
high-performance timers, a check which is not required for libcilkrts.)
Bootstrapped on x86-64-gnu-linux.
OK for the trunk?
Tobias