|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-07-30 14:19:33
Author: jurko
Date: 2008-07-30 14:19:32 EDT (Wed, 30 Jul 2008)
New Revision: 47894
URL: http://svn.boost.org/trac/boost/changeset/47894
Log:
Added support for the c++-template-depth feature with the acc Boost Build toolset.
Text files modified:
trunk/tools/build/v2/tools/acc.jam | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
Modified: trunk/tools/build/v2/tools/acc.jam
==============================================================================
--- trunk/tools/build/v2/tools/acc.jam (original)
+++ trunk/tools/build/v2/tools/acc.jam 2008-07-30 14:19:32 EDT (Wed, 30 Jul 2008)
@@ -19,15 +19,15 @@
generators.override builtin.lib-generator : acc.prebuilt ;
generators.override acc.searched-lib-generator : searched-lib-generator ;
-# Configures the acc toolset.
+# Configures the acc toolset.
rule init ( version ? : user-provided-command * : options * )
{
- local condition = [ common.check-init-parameters acc
+ local condition = [ common.check-init-parameters acc
: version $(version) ] ;
-
+
local command = [ common.get-invocation-command acc : aCC
: $(user-provided-command) ] ;
-
+
common.handle-options acc : $(condition) : $(command) : $(options) ;
}
@@ -81,6 +81,9 @@
flags acc CFLAGS <threading>multi : -mt ;
flags acc LINKFLAGS <threading>multi : -mt ;
+flags acc.compile.c++ TEMPLATE_DEPTH <c++-template-depth> ;
+
+
actions acc.link bind NEEDLIBS
{
$(CONFIG_COMMAND) -AA $(LINKFLAGS) -o "$(<[1])" -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) $(OPTIONS)
@@ -93,13 +96,13 @@
}
actions acc.compile.c
-{
+{
$(CONFIG_COMMAND) -Ae -c -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" $(OPTIONS)
}
actions acc.compile.c++
{
- $(CONFIG_COMMAND) -AA -c -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" $(OPTIONS)
+ $(CONFIG_COMMAND) -AA -c -Wc,--pending_instantiations=$(TEMPLATE_DEPTH) -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" $(OPTIONS)
}
actions updated together piecemeal acc.archive
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