Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-04-09 02:36:47

Hi Erik,

> feature.feature architecture : p3 p4 : optional symmetric ;
> flags msvc.compile CFLAGS <architecture>p3 : /arch:SSE ;
> flags msvc.compile CFLAGS <architecture>p4 : /arch:SSE2 ;
> I'm not sure what the attributes of architecture should be.
> optional; since you might not need the instruction sets (another
> architecture). symmetric; since it doesn't have a default
> Am I missing any, or are these 2 attributes wrong?

I think you should also have 'propagated' attribute, so that when you build
one target with <architecture>p3 all dependency targets are built with the
same property.

I also think that symmetric is not necessary if the feature is optional.

> Is architecture the best word to refer to this feature as?

'instruction-set' is the only alternative that comes to mind and I'm not sure
it's better in any way.

> Is there already native support for this somewhere that I could
> have included/extended?

No, such feature is not present yet.

> I'm only interested in p3 specifically and I don't have
> the intel toolset; the /arch flag might not be exclusive
> to ms version of the tools; does anyone with the intel
> tools know the respective flags for optimized instructions
> for each architecture?
> Are there more up-to-date bb v2 files that have expanded the toolset
> options? Maybe I don't need to change msvc.jam on my own?

I believe you still have to change it yourself. After you make <architecture>
work for you, you might consider sending a patch, so that we can add it in
the mainline.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at