[MacPorts] #33085: boost: support building for a different SDK

MacPorts noreply at macports.org
Fri Feb 10 15:45:55 PST 2012


#33085: boost: support building for a different SDK
--------------------------------------+-------------------------------------
  Reporter:  ryandesign@…             |       Owner:  adfernandes@…           
      Type:  defect                   |      Status:  closed                  
  Priority:  Normal                   |   Milestone:                          
 Component:  ports                    |     Version:  2.0.3                   
Resolution:  wontfix                  |    Keywords:  haspatch                
      Port:  boost                    |  
--------------------------------------+-------------------------------------

Comment(by bayoubengal@…):

 I just tested with +openmpi:

 sudo port -v -f install  boost  +openmpi

 here is a compiler line:

     "/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-g++-4.2"
 "-isysroot"
 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk"
 -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -no-cpp-
 precomp -gdwarf-2 -fexceptions -arch x86_64 -Winvalid-pch
 -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DNDEBUG
 -I"bin.v2/libs/math/build/darwin-4.2.1/release/address-
 model-64/architecture-x86/link-static/../src/tr1" -I"."
 -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/darwin-4.2.1/release
 /address-model-64/architecture-x86/link-static/assoc_laguerref.o"
 "libs/math/build/../src/tr1/assoc_laguerref.cpp"

 It works as expected and the build successfully completes. The two options
 specified as unrecognized are not in the build log.


 If I try to combine debug and mph, I get a macports error:


 $ sudo port -v -f install  boost  +openmpi +debug
 Password:
 Warning: port definitions are more than two weeks old, consider using
 selfupdate
 Error: boost: Variant openmpi conflicts with debug
 Error: Unable to open port: Error evaluating variants

 But it appears from the port file that this is the expected behavior.  So,
 I don't think +openmpi is your problem.

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


More information about the macports-tickets mailing list