Opened 14 years ago

Closed 14 years ago

#27476 closed enhancement (fixed)

py2{5,6,7}-scipy @0.8.0 add support for gcc45 fortran compiler

Reported by: jtravs@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: fortran Cc: jmroot (Joshua Root), jameskyle@…, krunk7@…, paul.dlug@…
Port: py25-scipy, py26-scipy, py27-scipy

Description

Simply add a new variant for gcc45 fortran compiler.

Attachments (1)

py26-scipy-gcc45.patch (2.2 KB) - added by jtravs@… 14 years ago.
patch

Download all attachments as: .zip

Change History (10)

Changed 14 years ago by jtravs@…

Attachment: py26-scipy-gcc45.patch added

patch

comment:1 Changed 14 years ago by skymoo (Adam Mercer)

Owner: changed from macports-tickets@… to ram@…
Status: newassigned

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

Cc: ram@… openmaintainer@… removed

As mentioned in the ticket guidelines, it's not useful to cc openmaintainer.

comment:3 Changed 14 years ago by skymoo (Adam Mercer)

Taking a look at getting this variant added and I've noticed something odd:

variant gcc42 conflicts gcc43 gcc44 description "Use gfortran-mp-4.2 as fortran compiler" {
  configure.compiler    macports-gcc-4.2
  depends_lib-append    port:gcc42
  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
  build.cmd-append      ${fc_options}
  destroot.cmd-append   ${fc_options}
}

variant gcc43 conflicts gcc42 gcc44 description "Use gcc 4.3 tool chain for building" {
  configure.compiler    macports-gcc-4.3
  depends_lib-append    port:gcc43
  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3"
  set config_options    "config --cc ${prefix}/bin/gcc-mp-4.3 --include-dirs ${prefix}/include --library-dirs ${prefix}/lib"
  build.cmd-append      ${fc_options} ${config_options}
  destroot.cmd-append   ${fc_options} ${config_options}

  destroot.env-append   CC="${prefix}/bin/gcc-mp-4.3" \
                        CXX="${prefix}/bin/g++-mp-4.3"
  build.env-append      CC="${prefix}/bin/gcc-mp-4.3" \
                        CXX="${prefix}/bin/g++-mp-4.3"
}

variant gcc44 conflicts gcc42 gcc43 description "Use gfortran-mp-4.4 as fortran compiler" {
  configure.compiler    macports-gcc-4.4
  depends_lib-append    port:gcc44
  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.4 --f90exec ${prefix}/bin/gfortran-mp-4.4"
  build.cmd-append      ${fc_options}
  destroot.cmd-append   ${fc_options}
}

Josh: Can you recall why the gcc43 variant differs from gcc42 and gcc44? Is this an oversight and should be be setting the C compiler for the other variants as well?

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

Cc: jameskyle@… added

svn blame says that jameskyle added that to only the gcc43 variant in r59609 and r59617.

comment:5 Changed 14 years ago by skymoo (Adam Mercer)

Seems that James has moved on, just got the following when trying to contact him using his MacPorts alias:

This is the mail system at host bz1.apple.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<jameskyle@ucla.edu>: host smtp.ucla.edu[169.232.46.244] said: 554 5.7.1
   Recipient denied (in reply to RCPT TO command)

Final-Recipient: rfc822; jameskyle@ucla.edu
Original-Recipient: rfc822;jameskyle@ucla.edu
Action: failed
Status: 5.7.1
Remote-MTA: dns; smtp.ucla.edu
Diagnostic-Code: smtp; 554 5.7.1 Recipient denied

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

Cc: krunk7@… added

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

Port: py25-scipy py27-scipy added
Summary: py26-scipy @0.8.0 add support for gcc45 fortran compilerpy2{5,6,7}-scipy @0.8.0 add support for gcc45 fortran compiler

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

Cc: paul.dlug@… added

comment:9 Changed 14 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

gcc45 variant added in r74598

Note: See TracTickets for help on using tickets.