Boost logo

Boost-Build :

Subject: Re: [Boost-build] Duplicate feature declaration
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-05-26 21:32:52


AMDG

On 05/26/2017 03:17 PM, Belcourt, Kenneth via Boost-build wrote:
> Hi,
>
> The vectorize feature is declared in two toolsets:
>
> ./tools/clang-darwin.jam:feature vectorize : off on full ;
> ./tools/intel-darwin.jam:feature vectorize : off on full ;
>
> and doesn’t cause a problem until my user-config.jam attempts to use both toolsets:
>
> using mpi ;
>
> using clang : clang++ : : <cxxflags>-std=c++11 ;
>
> using darwin : g++ : : <cxxflags>-std=c++11 ;
>
> using intel-darwin : icpc : : <cxxflags>-std=c++11 ;
>
> Anyone know if there’s any way to make this work without error?
>

  The only way is to move the definition to a
common location. (probably builtin.jam where
the other features that are shared between
multiple toolsets are defined.)

In Christ,
Steven Watanabe


Boost-Build 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