[MacPorts] #21548: ATLAS does not compile x86_64

MacPorts noreply at macports.org
Thu Oct 22 11:37:12 PDT 2009


#21548: ATLAS does not compile x86_64
---------------------------------------------+------------------------------
  Reporter:  macport-snhhome@…               |       Owner:  jameskyle@…                   
      Type:  defect                          |      Status:  reopened                      
  Priority:  Normal                          |   Milestone:                                
 Component:  ports                           |     Version:                                
Resolution:                                  |    Keywords:  snowleopard, x86_64, universal
      Port:  atlas                           |  
---------------------------------------------+------------------------------

Comment(by jameskyle@…):

 {{{
 Atlas is not at that time universal. It requires two steps in order to be
 built universal. First, compile a gcc43 or gcc44 with the --multilib
 option, so it can compile in both m32 and m64 mode. Next, Atlas itself
 must be compiled twice, once with -m32 and once with -m64. Unfortunately,
 this is not easy, even when muniversal1.0 is enabled.
 }}}

 I didn't see the universal reference. The above quote is correct in that
 universal is not supported. On line 54 of the current portfile:

 universal_variant   no

 Now, oddly enough, if I do a

 {{{
 port build atlas +universal
 }}}

 No error is thrown. This may be a bug with macports core as I would expect
 that it should produce an error if you disable the universal_variant. This
 doesn't seem to be unique to the universal variant too. I can successfully
 start building with this:

 {{{
 port build atlas +whateverIwant
 }}}

 Also, I can't seem to check for the universal variant if
 universial_variant no is set to alert the user that what they are doing
 will have no effect.

 e.g. if {[variant_isset universal]} {} fails.

 I'm not sure how to proceed. Should I enable the unviersal variant so I
 can check for it and warn the user then exit?

 I would like to also assure, beyond a shadow of a doubt, that the atlas
 package will properly build 64 bit libraries if the ${build_arch} variable
 is set to do so and will build 32 bit if the build_arch is set for that
 and so the 64 bit numpy works as it should against these libraries.

-- 
Ticket URL: <http://trac.macports.org/ticket/21548#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list