New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22459 (closed enhancement: fixed)

Opened 2 years ago

Last modified 13 months ago

Fortran compiler variants for fftw-single

Reported by: ryusuke.numata@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: snc@…, ryandesign@…, ram@…
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

Portfile.diff Download (2.3 KB) - added by ryusuke.numata@… 2 years ago.

Change History

  Changed 2 years ago by snc@…

  • port set to fftw-single

Changed 2 years ago by ryusuke.numata@…

  Changed 2 years ago by snc@…

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?

  Changed 2 years ago by snc@…

  • cc snc@… added

Cc Me!

  Changed 2 years ago by ryusuke.numata@…

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.

follow-up: ↓ 6   Changed 2 years ago by snc@…

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

in reply to: ↑ 5   Changed 2 years ago by ryandesign@…

  • 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.

  Changed 2 years ago by ram@…

  • cc ram@… added

Cc Me!

  Changed 2 years ago by ram@…

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...

  Changed 2 years ago by ryandesign@…

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

  Changed 13 months ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.