Boost logo

Boost :

Subject: [boost] clang-win, again
From: Peter Dimov (lists_at_[hidden])
Date: 2018-08-11 22:22:14


Has anyone succeeded in getting clang-cl.exe working under b2? I've
installed llvm-6.0.1, added it to PATH, put

    using clang-win : : : <compatibility>vc14 ;

in my user-config, and what I get is:

C:\boost-git\develop\libs\smart_ptr\test>b2 toolset=clang-win
sp_interlocked_test

warning: mismatched versions of Boost.Build engine and core
warning: Boost.Build engine (b2) is 2015.07.00
warning: Boost.Build core (at C:/boost-git/develop/tools/build/src) is
2018.02-git

C:/boost-git/develop/tools/build/src/tools\msvc.jam:1087: in
set-setup-command
*** argument error
* rule virtual-target.from-file ( file : file-loc : project )
* called with: ( : /C:/boost-git/develop/libs/smart_ptr/test :
object(project-t
arget)@129 )
* missing argument file
C:/boost-git/develop/tools/build/src/build\virtual-target.jam:970:see
definition
of rule 'virtual-target.from-file' being called
C:/boost-git/develop/tools/build/src/tools\msvc.jam:652: in
clang-win.compile.c+
+
C:/boost-git/develop/tools/build/src/kernel\modules.jam:107: in
modules.call-in
C:/boost-git/develop/tools/build/src/util\indirect.jam:105: in indirect.call
C:/boost-git/develop/tools/build/src/build\virtual-target.jam:902: in
execute
C:/boost-git/develop/tools/build/src/build\virtual-target.jam:821: in
class_at_acti
on.actualize
C:/boost-git/develop/tools/build/src/build\virtual-target.jam:332: in
actualize-
action
C:/boost-git/develop/tools/build/src/build\virtual-target.jam:518: in
actualize-
no-scanner
C:/boost-git/develop/tools/build/src/build\virtual-target.jam:142: in
class_at_virt
ual-target.actualize
C:/boost-git/develop/tools/build/src/build\configure.jam:258: in
try-find-build
C:/boost-git/develop/tools/build/src/build\configure.jam:396: in
find-builds-raw

C:/boost-git/develop/tools/build/src/build\configure.jam:455: in
configure.find-
builds
C:/boost-git/develop\boostcpp.jam:734: in boostcpp.deduce-address-model
C:/boost-git/develop/tools/build/src/kernel\modules.jam:107: in
modules.call-in
C:/boost-git/develop/tools/build/src/util\indirect.jam:105: in indirect.call
C:/boost-git/develop/tools/build/src/build\property.jam:144: in
property.evaluat
e-conditionals-in-context
C:/boost-git/develop/tools/build/src/build\targets.jam:1087: in
evaluate-require
ments
C:/boost-git/develop/tools/build/src/build\targets.jam:1121: in
common-propertie
s2
C:/boost-git/develop/tools/build/src/build\targets.jam:1017: in
targets.common-p
roperties
C:/boost-git/develop/tools/build/src/build\targets.jam:1313: in
class_at_basic-targ
et.generate
C:/boost-git/develop/tools/build/src/build\targets.jam:812: in
generate-really
C:/boost-git/develop/tools/build/src/build\targets.jam:784: in
class_at_main-target
.generate
C:/boost-git/develop/tools/build/src\build-system.jam:797: in load
C:\boost-git\develop\tools\build\src/kernel\modules.jam:295: in import
C:\boost-git\develop\tools\build\src/kernel/bootstrap.jam:139: in
boost-build
C:\boost-git\develop\boost-build.jam:17: in module scope


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