From 6c7100cce0fdfbb46fe0bc56ca6dd07fdc262a3c Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Mon, 1 Nov 2021 14:59:11 +0800 Subject: [PATCH] fix(tool): export.sh cannot export xtensa-clang if installed issue --- tools/tools.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tools.json b/tools/tools.json index cc691f844c..ba78b5afa1 100644 --- a/tools/tools.json +++ b/tools/tools.json @@ -196,7 +196,7 @@ "description": "LLVM for Xtensa (ESP32, ESP32-S2) based on clang", "export_paths": [ [ - "xtensa-clang", + "xtensa-esp32-elf-clang", "bin" ] ], @@ -213,7 +213,7 @@ "clang", "--version" ], - "version_regex": "version\\s*([0-9\\.]+)\\s*\\([^\\s]+\\s*(\\w+)\\)", + "version_regex": "version\\s*([0-9\\.]+)\\s*\\([^\\s]+\\s*(\\w{10}).+\\)", "version_regex_replace": "\\1-\\2", "versions": [ {