Display CC, CXX compiler information and version details to help users
identify which compiler was used to build BLIS.
Changes:
- Makefile: Add CC, CXX, and CFLAGS to 'make showconfig' output
- bench_getlibraryInfo.c: Add runtime compiler detection with version
* Properly detect AOCC (AMD Optimizing C/C++ Compiler)
* Detect Clang, GCC, Intel ICC/oneAPI, and MSVC
* Show compiler version information
* Detection order ensures AOCC is identified correctly (not as GCC)
The showconfig output now includes:
CC (C compiler): clang
CXX (C++ compiler): clang++
CFLAGS: <flags>
The bench_getlibraryInfo program now shows:
== Build Information ==
C Compiler (CC): AOCC x.x.x (Clang x.x.x based)
C++ Compiler (CXX): N/A (compiled as C)
This provides both build-time and runtime compiler information for
better build diagnostics and issue reporting.
Issue: CPUPL-7678