Boost logo

Boost :

Subject: Re: [boost] clang-win, (Thin)LTO this time
From: Peter Dimov (lists_at_[hidden])
Date: 2018-11-05 16:46:21


I was going to look into this but got sidetracked, sorry.

Try the current develop.

-----Original Message-----
From: degski via Boost
Sent: Monday, November 05, 2018 17:09
To: boost
Cc: degski ; Peter Dimov
Subject: Re: [boost] clang-win, (Thin)LTO this time

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]>
> wrote:
>
>> 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" : ... ;
>
> output:
>
> 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.

degski

-- 
*“If something cannot go on forever, it will stop" - Herbert Stein*
_______________________________________________
Unsubscribe & other changes: 
http://lists.boost.org/mailman/listinfo.cgi/boost

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk