Subject: Re: [boost] clang-win, (Thin)LTO this time
From: degski (degski_at_[hidden])
Date: 2018-11-05 15:09:20
On Thu, 1 Nov 2018 at 12:27, degski <degski_at_[hidden]> wrote:
> On Wed, 31 Oct 2018 at 16:32, Peter Dimov via Boost <boost_at_[hidden]>
>> using clang-win : : "C:\\Program Files\\LLVM\\bin\\clang-cl.exe"
>> "-fuse-ld=lld" : ... ;
> I have:
> import option ;
> using clang-win : : "C:\\Program Files\\LLVM\\bin\\clang-cl.exe"
> "-fuse-ld=lld" : ... ;
> C:/boost/tools/build/src/tools\clang-win.jam:74: in clang-win.init
> *** argument error
> * rule path.native ( path )
> * called with: ( C:\Program Files\LLVM\bin\clang-cl.exe -fuse-ld=lld )
> * extra argument -fuse-ld=lld
> So, this syntax does not seem to be accepted by b2.
As it is, for me, easier to write some C++-code than to try and figure out
bjam-code, I wrote a wrapper <https://github.com/degski/clang-cl> around
clang-cl.exe [yes, it's not pretty, but on the other hand, gives me full
control, I can parse the arguments and decide whatever] to solve the above
problem. For now I can see 1 regression, I'm going to look into that.
-- *âIf something cannot go on forever, it will stop" - Herbert Stein*
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk