Skip to content

Can not choose clang version on FreeBSD #723

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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