pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

ENH: Detect clang++ as a g++ alternative on Linux

Open mark-thm opened this issue 1 year ago • 2 comments

Before

pytensor will only attempt to use g++ as a C++ compiler when running on Linux.

After

Improve pytensor by:

  1. If the CXX environment variable is set, use the value to determine the C++ compiler
  2. Discover g++ or clang++ on any platform

Context for the issue:

Today, pytensor will only discover g++ on Linux even though it can/will use clang++ on MacOS.

I'd be willing to propose a change here but wanted to gauge maintainer interest, first.

mark-thm avatar May 11 '24 02:05 mark-thm