Opened 15 years ago

Closed 14 years ago

#22459 closed enhancement (fixed)

Fortran compiler variants for fftw-single

Reported by: numaryu Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: nerdling (Jeremy Lavergne), ryandesign (Ryan Carsten Schmidt), skymoo (Adam Mercer)
Port: fftw-single

Description

Same suggestion as for fftw (#22458)

I propose to allow users to choose fortran compilers. I added +g95 +gcc43 +gcc42 instead of +fortran. If any of fortran is chosen, a fortran include file is also installed.

I also sugget to add --enable-mpi and --enable-shared options.

Attachments (1)

Portfile.diff (2.3 KB) - added by numaryu 15 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

Port: fftw-single added

Changed 15 years ago by numaryu

Attachment: Portfile.diff added

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

What are the differences between this and the regular fftw port? I see you're combining the distfiles but can they be combined all together?

Do they manage to not conflict if they're both installed?

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:4 Changed 15 years ago by numaryu

fftw-single port just adds the '--enable-float' configure option to generate the library for single-precision data. It is possible to install both fftw and fftw-single without conflict. I just wanted to include the same enhancement as the fftw port, and dit not try to change its original structure.

It may be possible to merge this port into fftw as a variant.

comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)

I would like to merge them. :) Anyone have any reservations?

comment:6 in reply to:  5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to snc@…:

I would like to merge them. :) Anyone have any reservations?

Yes. First, this ticket is for the request to add compiler variants. If you would like to consider merging the two ports, that's a separate ticket, please. Second, I had the same question 2.5 years ago about fftw-3 and fftw-3-single. It seems the purpose is that both can be installed at the same time, thus a variant would not be appropriate. If a single port can be made to install both single- and double-precision versions simultaneously, go for it, but I figured it would be difficult. Whatever you decide on that should apply equally to fftw/fftw-single and fftw-3/fftw-3-single so you should coordinate with the maintainer of those ports.

comment:7 Changed 15 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:8 Changed 15 years ago by skymoo (Adam Mercer)

I would like to merge fftw-3 and fftw-3-single into a single port but am unsure of the best way to run the configure, build, and destroot phases twice with different configure options...

comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Can we make a separate ticket for that discussion? This ticket is for adding compiler variants.

comment:10 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.