bazel 4.2 and 3.7 no longer building with native clang

Ryan Schmidt ryandesign at macports.org
Wed Jul 13 21:50:17 UTC 2022


On Jul 13, 2022, at 11:46, Steven Smith wrote:

> How does one reconfigure the bazel Portfile to use a previous version of clang that has a chance of working to build previous versions of bazel, which are in turn necessary to build the tensor flow packages.

If certain compilers that MacPorts might choose will not build a port, add their names to compiler.blacklist and MacPorts will choose another compiler.

If you only want to exclude certain versions of a compiler (such as {clang < 700 >= 900}), include the compiler_blacklist_versions portgroup.

If you've excluded all compilers MacPorts might choose, add a suitable compiler to compiler.fallback.



More information about the macports-dev mailing list