Boost logo

Boost :

Subject: Re: [boost] clang-win, again
From: degski (degski_at_[hidden])
Date: 2018-10-30 14:13:54


On Tue, 30 Oct 2018 at 16:06, Peter Dimov via Boost <boost_at_[hidden]>
wrote:
I have this project-config.jam

using clang-win : : :

    <compatibility>vc14
    <compileflags>-fmsc-version=1915
    <ranlib>"C:\\Program Files\\LLVM\\bin\\llvm-ranlib.exe"
    <archiver>"C:\\Program Files\\LLVM\\bin\\llvm-ar.exe"
    <rc>"C:\\Program Files (x86)\\Windows
Kits\\10\\bin\\10.0.17763.0\\x64\\rc.exe"
    <compileflags>--target=x86_64-pc-win32
    <linkflags>--target=x86_64-pc-win32
    <linkflags>-fuse-ld=lld
    <linkflags>-flto=thin
    <architecture>x86
    <address-model>64
    <link>static
    <runtime-link>static
;

and then I make this call:

b2 -a -d+2 -j2 -o%HOME%\clang_log_debug.log
"-sZLIB_SOURCE=%HOME%\zlib-1.2.8" "-sBZIP2_SOURCE=%HOME%\bzip2-1.0.6"
variant=debug threading=multi --abbreviate-paths --prefix=%PREFIX%
--build-dir=c:\boost-build --without-python --without-mpi --without-math
--disable-filesystem2 install

In my setup, Clang/LLVM (/bin) is in my PATH.

degski

-- 
*“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