Opened 16 years ago
Closed 14 years ago
#16379 closed submission (wontfix)
New port cilk-5.4.6
Reported by: | ddugovic@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | cilk compiler lack-of-interest | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: |
Description
$ sudo port install Portfile changed since last build; discarding previous state. ---> Fetching cilk ---> Attempting to fetch cilk-5.4.6.tar.gz from http://supertech.csail.mit.edu/cilk/cilk-5.4.6.tar.gz ---> Attempting to fetch cilk-5.4.6.tar.gz from http://svn.macports.org/repository/macports/distfiles/cilk ---> Attempting to fetch cilk-5.4.6.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch cilk-5.4.6.tar.gz from http://svn.macports.org/repository/macports/downloads/cilk Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing.
Attachments (2)
Change History (11)
comment:1 Changed 16 years ago by blb@…
Milestone: | Port Enhancements → Port Submissions |
---|---|
Summary: | cilk-5.4.6 org.macports.fetch error - Fetch failed → New port cilk-5.4.6 org.macports.fetch error - Fetch failed |
Changed 16 years ago by ddugovic@…
Updated work-in-progress Portfile for GPL cilk-5.4.6 compiler
comment:2 Changed 16 years ago by ddugovic@…
Thanks for the advice. Sure, I'd be glad to maintain this project, although I don't expect to be making enhancements to the compiler anytime soon.
I've got a couple remaining questions:
- I looked at the portfiles categories; what would be the best place to put this project?
- I know the source code is GPL-licensed, so does that mean I can mirror it at sourceforge (or elsewhere)?
- There's two compilers; cilkc generates executables and cilk2c generates C code. Is there a MacPorts convention for indicating this?
I've updated the Portfile attached to this ticket; I'm not sure if I need the destroot.destdir at all, but other than that, the Id, and the categories, it seems reasonably complete.
Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Summary: | New port cilk-5.4.6 org.macports.fetch error - Fetch failed → New port cilk-5.4.6 |
Some suggestions:
- remove "revision 1"; the first revision of a given version should be 0
- category should be "lang"
- remove "--prefix=${prefix}" from configure.args; MacPorts already puts that in configure.pre_args for you
- add "use_parallel_build yes" to speed up the build on multi-processor systems
- remove "destroot.destdir" declaration; it seems to be irrelevant here
- remove "--mandir" argument from configure.args; cilk does not install any manpages
- since homepage and master_sites are the same, use the one as a variable in the other
See Portfile2 which includes these changes.
The GPL says you may redistribute it, so you can mirror it anywhere you like. MacPorts will automatically mirror it at http://distfiles.macports.org/cilk/ as soon as the port is committed.
This port you're submitting seems to only provide cilkc. Is cilk2c a different package? If so, it should get a separate port. If, on the other hand, cilk2c can be generated from this same source code via some configure options or similar, then a single port could install both.
comment:4 Changed 16 years ago by ddugovic@…
Thanks Ryan for the changes & explanation about mirroring.
This package includes both compilers, cilkc (cilk compiler) and cilk2c (cilk-to-C compiler). I'll double-check the configure options (& similar), but they might both be installed by default.
comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
I installed the port from the portfile, and only ended up with a cilkc binary. There was no cilk2c binary installed.
comment:6 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → submission |
---|
comment:7 Changed 16 years ago by (none)
Milestone: | Port Submissions |
---|
Milestone Port Submissions deleted
comment:8 Changed 15 years ago by raimue (Rainer Müller)
Keywords: | lack-of-interest added |
---|
comment:9 Changed 14 years ago by raimue (Rainer Müller)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
If you remove the archive name from the master_sites entry:
fetch should work for you then.
Some other notes: do you want to be the maintainer? Remove the ${destroot} from configure.args, or it'll always expect to find stuff there, which is incorrect (the ${destroot} in destroot.destdir should be doing the right thing).