Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77426 - trunk/libs/context/build
From: oliver.kowalke_at_[hidden]
Date: 2012-03-20 03:10:34


Author: olli
Date: 2012-03-20 03:10:33 EDT (Tue, 20 Mar 2012)
New Revision: 77426
URL: http://svn.boost.org/trac/boost/changeset/77426

Log:
context: exclude 32bit darwin from build

Text files modified:
   trunk/libs/context/build/Jamfile.v2 | 40 ++++++++++++++++++++++++----------------
   1 files changed, 24 insertions(+), 16 deletions(-)

Modified: trunk/libs/context/build/Jamfile.v2
==============================================================================
--- trunk/libs/context/build/Jamfile.v2 (original)
+++ trunk/libs/context/build/Jamfile.v2 2012-03-20 03:10:33 EDT (Tue, 20 Mar 2012)
@@ -71,6 +71,29 @@
 }
 
 
+rule configure ( properties * )
+{
+ local result ;
+
+ if ( ! ( <toolset>gcc in $(properties)
+ || <toolset>intel in $(properties)
+ || <toolset>msvc in $(properties) ) )
+ {
+ result = <build>no ;
+ ECHO "toolset not supported" ;
+ }
+
+ if ( <target-os>darwin in $(properties)
+ && <address-model>32 in $(properties) )
+ {
+ result = <build>no ;
+ ECHO "32bit Darwin not supported" ;
+ }
+
+ return $(result) ;
+}
+
+
 alias asm_context_sources
    : asm/fcontext_arm_aapcs_elf_gas.S
    : <abi>aapcs
@@ -228,6 +251,7 @@
   : asm_context_sources
   : [ architecture.architecture ]
     [ architecture.address-model ]
+ <conditional>@configure
   ;
 
 
@@ -248,22 +272,6 @@
 explicit context_sources ;
 
 
-rule configure ( properties * )
-{
- local result ;
-
- if ( ! ( <toolset>gcc in $(properties)
- || <toolset>intel in $(properties)
- || <toolset>msvc in $(properties) ) )
- {
- result = <build>no ;
- ECHO "toolset not supported" ;
- }
-
- return $(result) ;
-}
-
-
 lib boost_context
    : select_asm_context_sources
      context_sources


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk