« Return to Thread: Re: [92247] trunk/dports/math/fftw-3/Portfile

Re: [92247] trunk/dports/math/fftw-3/Portfile

by Ryan Schmidt-24 :: Rate this Message:

| View in Thread


On Apr 22, 2012, at 15:38, takeshi@... wrote:

> Revision: 92247
>          https://trac.macports.org/changeset/92247
> Author:   takeshi@...
> Date:     2012-04-22 13:38:10 -0700 (Sun, 22 Apr 2012)
> Log Message:
> -----------
> fftw-3: add openmpi and mpich2 variants. closes #34148
>
> Modified Paths:
> --------------
>    trunk/dports/math/fftw-3/Portfile
>
> Modified: trunk/dports/math/fftw-3/Portfile
> ===================================================================
> --- trunk/dports/math/fftw-3/Portfile 2012-04-22 20:12:03 UTC (rev 92246)
> +++ trunk/dports/math/fftw-3/Portfile 2012-04-22 20:38:10 UTC (rev 92247)
> @@ -158,6 +158,18 @@
>     }
> }
>
> +variant openmpi description {compile FFTW MPI library with OpenMPI} {
> +    depends_lib-append      port:openmpi
> +    configure.env           MPICC=${prefix}/lib/openmpi/bin/mpicc
> +    configure.args-append   --enable-mpi
> +}
> +
> +variant mpich2 description {compile FFTW MPI library with MPICH2} {
> +    depends_lib-append      port:mpich2
> +    configure.env           MPICC=${prefix}/bin/mpicc
> +    configure.args-append   --enable-mpi
> +}

Shouldn't these two variants be marked as conflicting with one another?


_______________________________________________
macports-dev mailing list
macports-dev@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

 « Return to Thread: Re: [92247] trunk/dports/math/fftw-3/Portfile