Opened 15 years ago

Closed 14 years ago

#20172 closed defect (fixed)

py25-scipy 0.7.0: Default variant +gcc43 not using proper compiler

Reported by: jameskyle@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: science Cc: skymoo (Adam Mercer)
Port: py25-scipy

Description

The py25-scipy port is not using the declared compiler with build: Build snippet.

compile options: '-I/Users/jkyle/Projects/macports/ports_test/lib/python2.5/site-packages/numpy/core/include -I/Users/jkyle/Projects/macports/ports_test/include/python2.5 -c'
g++-4.0: scipy/sparse/sparsetools/coo_wrap.cxx
/usr/bin/g++-4.0 -L/Users/jkyle/Projects/macports/ports_test/lib -bundle -undefined dynamic_lookup build/temp.macosx-10.5-i386-2.5/scipy/sparse/sparsetools/coo_wrap.o -Lbuild/temp.macosx-10.5-i386-2.5 -o build/lib.macosx-10.5-i386-2.5/scipy/sparse/sparsetools/_coo.so
building 'scipy.sparse.sparsetools._bsr' extension
compiling C++ sources
C compiler: /usr/bin/g++-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall

I tried remedying this by added CC=${prefix}/bin/gcc-mp-4.3 to the build.env, but this results in build errors due to unsupported flags: gcc-mp-4.3: unrecognized option '-no-cpp-precomp'

That's as far as I got before submitting the ticket.

Change History (6)

comment:1 Changed 15 years ago by jameskyle@…

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

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Port: py25-scipy added

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

I intentionally didn't use the use the c compiler from the gcc port, only the fortran compiler. I have never tried using the c compiler supplied with the gcc ports, as there are no problems using the system c compiler and the specified fortran compiler. At least there are no problems that I am aware of.

comment:4 Changed 15 years ago by skymoo (Adam Mercer)

Owner: changed from ram@… to jameskyle@…

James has patches

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

Cc: ram@… added

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

Resolution: fixed
Status: newclosed

py25-scipy in r60073, py26-scipy in r59609

Note: See TracTickets for help on using tickets.