Skip to content

Can not choose clang version on FreeBSD #723

@fasxmut

Description

@fasxmut

Commonly there are several different versions of clang installed on the FreeBSD system, but b2 seems can only use the default clang:

This works:
b2 toolset=clang

This works:
using clang ;

But these all fail:
b2 toolset=clang10
b2 toolset=clang-10
b2 toolset=clang11
b2 toolset=clang-11
b2 toolset=clang-devel

using clang : 10 ;

using clang : 11 ;

using clang : devel ;

It just can not use alt clang except the default.
If I try them and find,
b2 toolset=clang-11 -n
gives me screen information that it still invokes clang++,
the real c++ compiler command should be clang++11

Metadata

Metadata

Assignees

No one assigned

    Labels

    transitionTransition to bfgroup/b2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions