Software Archive
Read-only legacy content
17061 Discussions

Which repo to checkout to have GCC 4.7 and Cilk ?

mrjay42
Beginner
959 Views
Hi everyone,

Some time ago I came here on this forum to have some help to compile Cilk with Linux.
Now I have just one question remaining :
Can anyone give me an URL that I can checkout to have GCC (4.7) and Cilk sources ?

Right now I have this URL :
http://gcc.gnu.org/svn/gcc/branches/cilkplus/

But I dont know if it is the good one :)

Thank you in advance for your help.
0 Kudos
6 Replies
Georg_Z_Intel
Employee
959 Views
Hello,

you might be interested in this thread:
http://software.intel.com/en-us/forums/showthread.php?t=102881 (see reply #5)

It contains a link to a recent snapshot which also includes a fix for compilation error.

Best regards,

Georg Zitzlsberger
0 Kudos
mrjay42
Beginner
959 Views
Thank you :)

The reply #5 provides this link :http://gcc.gnu.org/git/?p=gcc.git;a=snapshot;h=9772b731380e25c3250e1d445c143854526c7d60;sf=tgz
Which is not working...

How can I use correctly this link ?
0 Kudos
Georg_Z_Intel
Employee
959 Views
Hello,

looks like retrieving the snapshot from the GCC server does not work (right now).

This is the link to the head of the "cilkplus" branch containing the latest fix:
http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9772b731380e25c3250e1d445c143854526c7d60

Unfortunately you need to use the "git" tool to retrieve (clone) the branch then:
$ git clone -b cilkplus git://gcc.gnu.org/git/gcc.git

Just in case, the GCC WIKI how to get started with Git:
http://gcc.gnu.org/wiki/GitMirror

Best regards,

Georg Zitzlsberger
0 Kudos
mrjay42
Beginner
960 Views
Ok that seems to be perfect :D

Last question :
Do you have a "generic" URL that I could checkout anytime without asking here ?
0 Kudos
Georg_Z_Intel
Employee
960 Views
Hello,

this is the link to the head of the "cilkplus" branch:
http://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/heads/cilkplus

When using the "git" command as above you'll always retrieve from the head. The head is always the latest version as long as this branch exists. Once the GCC developers merge that branch it might go away. However, an official version of GCC will then contain the Intel Cilk Plus extensions.

Best regards,

Georg Zitzlsberger
0 Kudos
Balaji_I_Intel
Employee
960 Views
Hello Mr. Jay and Georg,
The GIT URL is correct. If you are unable to use GIT and/or would prefer SVN here is2 SVN links:

svn://gcc.gnu.org/svn/gcc/branches/cilkplus -OR- http://gcc.gnu.org/svn/gcc/branches/cilkplus

Thanks,

Balaji V. Iyer.
0 Kudos
Reply