google / tcmalloc

Apache License 2.0
4.39k stars 476 forks source link

How to use Clang instead of GCC for the command bazel test? #177

Closed patty641 closed 1 year ago

patty641 commented 1 year ago

My system has gcc-8.5 and clang version 14.0.6, And as I understand as one of these fulfills the requirement as mentioned in the Supported Compilers list. bazel test //tcmalloc/... still throws the error : " #error "GCC 9.2 or higher is required."

How can I configure the command to use Clang instead of GCC?