[MacPorts] #25066: RFE: Allow arpack to build universal shared libraries
#25066: RFE: Allow arpack to build universal shared libraries -------------------------------------+-------------------------------------- Reporter: mcalhoun@… | Owner: mmoll@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: universal shared libary | Port: arpack -------------------------------------+-------------------------------------- Attached is a proposed patch to arpack to allow shared libraries and a 32/64-bit universal build. The g95 variant has been removed to facilitate this change. -- Ticket URL: <http://trac.macports.org/ticket/25066> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25066: RFE: Allow arpack to build universal shared libraries -------------------------------------+-------------------------------------- Reporter: mcalhoun@… | Owner: mmoll@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: universal shared libary | Port: arpack -------------------------------------+-------------------------------------- Comment(by mmoll@…): This fails with the +gcc43 and +universal variants. I get this error: {{{ ld: warning: directory '/opt/local/lib/gcc43/i386' following -L not found ld: warning: in /opt/local/lib/gcc43/libgfortran.dylib, file was built for unsupported file format which is not the architecture being linked (i386) }}} The gcc43 port doesn't seem to have a universal variant, but neither does gcc44. Maybe gcc4[34] doesn't need to be built as a universal binary to generate universal binaries? -- Ticket URL: <http://trac.macports.org/ticket/25066#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25066: RFE: Allow arpack to build universal shared libraries -------------------------------------+-------------------------------------- Reporter: mcalhoun@… | Owner: mmoll@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: universal shared libary | Port: arpack -------------------------------------+-------------------------------------- Comment(by mcalhoun@…): Replying to [comment:1 mmoll@…]:
This fails with the +gcc43 and +universal variants. I get this error: {{{ ld: warning: directory '/opt/local/lib/gcc43/i386' following -L not found ld: warning: in /opt/local/lib/gcc43/libgfortran.dylib, file was built for unsupported file format which is not the architecture being linked (i386) }}}
The gcc43 port doesn't seem to have a universal variant, but neither does gcc44. Maybe gcc4[34] doesn't need to be built as a universal binary to generate universal binaries?
Sorry, gcc42 and gcc43 should conflict with universal (I am not sure why), but gcc44 works for me even though it is not universal itself. -- Ticket URL: <http://trac.macports.org/ticket/25066#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25066: RFE: Allow arpack to build universal shared libraries -------------------------------------+-------------------------------------- Reporter: mcalhoun@… | Owner: mmoll@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: universal shared libary | Port: arpack -------------------------------------+-------------------------------------- Comment(by vince@…): gcc43/44/45 will build universal (= 2-way i386/x86_64) binaries if they are compiled with the --enable-multilib option. Maybe that option is selected by default as of gcc44 and above. But for gcc43, you have to add it manually to the configure.options in the relevant Portfile. -- Ticket URL: <http://trac.macports.org/ticket/25066#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25066: RFE: Allow arpack to build universal shared libraries -------------------------------------+-------------------------------------- Reporter: mcalhoun@… | Owner: mmoll@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: universal shared libary | Port: arpack -------------------------------------+-------------------------------------- Comment(by mmoll@…): The gcc44/gcc45 variants also conflict with the mpi variant, since openmpi doesn't have a universal variant (which means that libmpi_f77.dylib isn't available in all required architectures). -- Ticket URL: <http://trac.macports.org/ticket/25066#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25066: RFE: Allow arpack to build universal shared libraries ------------------------------------+--------------------------------------- Reporter: mcalhoun@… | Owner: mmoll@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: universal shared libary Port: arpack | ------------------------------------+--------------------------------------- Changes (by mmoll@…): * status: new => closed * resolution: => fixed Comment: Cleaned up and committed in r68322. Thanks for the patch. -- Ticket URL: <http://trac.macports.org/ticket/25066#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts