[PATCH v2 0/1] riscv: treat clang separately in RVV compiler checks

Yao Zihong zihong.plct@isrc.iscas.ac.cn
Fri Mar 13 04:54:22 GMT 2026


From: Zihong Yao <zihong.plct@isrc.iscas.ac.cn>

Changes since v1:
  * Moved the clang detection logic to run only when vector support
    is detected.

The RVV compiler version check currently interprets __GNUC__ as the
compiler version.

This patch extends the checks to handle clang explicitly and apply
compiler-specific version checks for RVV.

Zihong Yao (1):
  riscv: treat clang separately in RVV compiler checks

 sysdeps/riscv/preconfigure    | 13 +++++++++++--
 sysdeps/riscv/preconfigure.ac | 13 +++++++++++--
 2 files changed, 22 insertions(+), 4 deletions(-)
 mode change 100644 => 100755 sysdeps/riscv/preconfigure

-- 
2.47.3



More information about the Libc-alpha mailing list