Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77281 - trunk/libs/context/build
From: oliver.kowalke_at_[hidden]
Date: 2012-03-09 02:33:47


Author: olli
Date: 2012-03-09 02:33:34 EST (Fri, 09 Mar 2012)
New Revision: 77281
URL: http://svn.boost.org/trac/boost/changeset/77281

Log:
context: support only for gcc(mingw)/intel/msvc in Jamfile

Text files modified:
   trunk/libs/context/build/Jamfile.v2 | 111 ++++++++++++++++++++++++++++++++-------
   1 files changed, 90 insertions(+), 21 deletions(-)

Modified: trunk/libs/context/build/Jamfile.v2
==============================================================================
--- trunk/libs/context/build/Jamfile.v2 (original)
+++ trunk/libs/context/build/Jamfile.v2 2012-03-09 02:33:34 EST (Fri, 09 Mar 2012)
@@ -76,6 +76,7 @@
    : <abi>aapcs
      <architecture>arm
      <binary-format>elf
+ <toolset>gcc
    ;
 
 alias asm_context_sources
@@ -83,35 +84,16 @@
    : <abi>o32
      <architecture>mips1
      <binary-format>elf
+ <toolset>gcc
    ;
 
-#alias asm_context_sources
-# : asm/fcontext_mips64_n32_elf_gas.S
-# : <abi>n32
-# <architecture>mips1
-# <binary-format>elf
-# ;
-#
-#alias asm_context_sources
-# : asm/fcontext_mips64_n64_elf_gas.S
-# : <abi>n64
-# <architecture>mips1
-# <binary-format>elf
-# ;
-#
-#alias asm_context_sources
-# : asm/fcontext_mips64_o64_elf_gas.S
-# : <abi>o64
-# <architecture>mips1
-# <binary-format>elf
-# ;
-
 alias asm_context_sources
    : asm/fcontext_ppc32_sysv_elf_gas.S
    : <abi>sysv
      <address-model>32
      <architecture>power
      <binary-format>elf
+ <toolset>gcc
    ;
 
 alias asm_context_sources
@@ -120,6 +102,7 @@
      <address-model>64
      <architecture>power
      <binary-format>elf
+ <toolset>gcc
    ;
 
 alias asm_context_sources
@@ -128,6 +111,25 @@
      <address-model>32
      <architecture>x86
      <binary-format>elf
+ <toolset>gcc
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_i386_sysv_elf_gas.S
+ : <abi>sysv
+ <address-model>32
+ <architecture>x86
+ <binary-format>elf
+ <toolset>intel
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_x86_64_sysv_elf_gas.S
+ : <abi>sysv
+ <address-model>64
+ <architecture>x86
+ <binary-format>elf
+ <toolset>gcc
    ;
 
 alias asm_context_sources
@@ -136,6 +138,7 @@
      <address-model>64
      <architecture>x86
      <binary-format>elf
+ <toolset>intel
    ;
 
 alias asm_context_sources
@@ -145,6 +148,17 @@
      <architecture>x86
      <binary-format>mach-o
      <target-os>darwin
+ <toolset>gcc
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_x86_64_sysv_macho_gas.S
+ : <abi>sysv
+ <address-model>64
+ <architecture>x86
+ <binary-format>mach-o
+ <target-os>darwin
+ <toolset>intel
    ;
 
 alias asm_context_sources
@@ -154,6 +168,27 @@
      <architecture>x86
      <binary-format>pe
      <target-os>windows
+ <toolset>gcc
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_i386_ms_pe_masm.asm
+ : <abi>ms
+ <address-model>32
+ <architecture>x86
+ <binary-format>pe
+ <target-os>windows
+ <toolset>intel
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_i386_ms_pe_masm.asm
+ : <abi>ms
+ <address-model>32
+ <architecture>x86
+ <binary-format>pe
+ <target-os>windows
+ <toolset>msvc
    ;
 
 alias asm_context_sources
@@ -163,6 +198,27 @@
      <architecture>x86
      <binary-format>pe
      <target-os>windows
+ <toolset>gcc
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_x86_64_ms_pe_masm.asm
+ : <abi>ms
+ <address-model>64
+ <architecture>x86
+ <binary-format>pe
+ <target-os>windows
+ <toolset>intel
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_x86_64_ms_pe_masm.asm
+ : <abi>ms
+ <address-model>64
+ <architecture>x86
+ <binary-format>pe
+ <target-os>windows
+ <toolset>msvc
    ;
 
 explicit asm_context_sources ;
@@ -191,11 +247,24 @@
 
 explicit context_sources ;
 
+rule configure ( properties * )
+{
+ local result ;
+
+ if ( ! ( <toolset>gcc in $(properties) || <toolset>intel in $(properties) || <toolset>msvc in $(properties) ) )
+ {
+ result = <build>no ;
+ }
+
+ return $(result) ;
+}
+
 
 lib boost_context
    : select_asm_context_sources
      context_sources
    : <link>shared:<define>BOOST_CONTEXT_DYN_LINK=1
+ <conditional>@configure
    ;
 
 


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