2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-20 14:42:14 +00:00

Make toolset version relevant for configure checks.

[SVN r65242]
This commit is contained in:
Vladimir Prus
2010-09-04 12:29:10 +00:00
parent d23f88930a
commit b417a942cd
2 changed files with 7 additions and 1 deletions

View File

@@ -191,7 +191,10 @@ class check-target-builds-worker
{
# FIXME: this should not be hardcoded. Other checks might
# want to consider different set of features as relevant.
local relevant = [ property.select <target-os> <toolset> <address-model> <architecture>
local toolset = [ property.select <toolset> : $(properties) ] ;
local toolset-version-property = "<toolset-$(toolset:G=):version>" ;
local relevant = [ property.select <target-os> <toolset> $(toolset-version-property)
<address-model> <architecture>
: $(properties) ] ;
local ps = [ property-set.create $(relevant) ] ;
local t = [ targets.current ] ;

View File

@@ -137,8 +137,11 @@ class CheckTargetBuildsWorker:
# FIXME: this should not be hardcoded. Other checks might
# want to consider different set of features as relevant.
toolset = ps.get('toolset')[0]
toolset_version_property = "<toolset-" + toolset + ":version>" ;
relevant = ps.get_properties('target-os') + \
ps.get_properties("toolset") + \
ps.get_properties(toolset_version_property) + \
ps.get_properties("address-model") + \
ps.get_properties("architecture")
rps = property_set.create(relevant)