File tree 2 files changed +15
-0
lines changed
Inputs/basic_riscv32_esp_tree/lib/clang-runtimes
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -246,3 +246,12 @@ Mappings:
246
246
- Match : -march=rv32gc
247
247
Flags :
248
248
- -march=rv32imafc_zicsr_zifencei
249
+
250
+ # Below is a workaround to support multilib for xesppie variant
251
+ # Currently it is added for ESP32-P4 arch only
252
+ - Match : -march=rv32imafc_xesppie
253
+ Flags :
254
+ - -march=rv32imafc_zicsr_zifencei
255
+ - Match : -march=rv32imafc_zicsr_zifencei_xesppie
256
+ Flags :
257
+ - -march=rv32imafc_zicsr_zifencei
Original file line number Diff line number Diff line change 252
252
// RUN: %t/basic_riscv32_esp_tree/bin/clang %s -### 2>&1 --target=riscv32-esp-elf -march=rv32gc -mabi=ilp32f \
253
253
// RUN: --sysroot=%t/basic_riscv32_esp_tree/lib/clang-runtimes \
254
254
// RUN: | FileCheck --check-prefix=CHECK-ESP-RV32IMAFC %s
255
+ // RUN: %t/basic_riscv32_esp_tree/bin/clang %s -### 2>&1 --target=riscv32-esp-elf -march=rv32imafc_zicsr_zifencei_xesppie -mabi=ilp32f \
256
+ // RUN: --sysroot=%t/basic_riscv32_esp_tree/lib/clang-runtimes \
257
+ // RUN: | FileCheck --check-prefix=CHECK-ESP-RV32IMAFC %s
258
+ // RUN: %t/basic_riscv32_esp_tree/bin/clang %s -### 2>&1 --target=riscv32-esp-elf -march=rv32imafc_xesppie -mabi=ilp32f \
259
+ // RUN: --sysroot=%t/basic_riscv32_esp_tree/lib/clang-runtimes \
260
+ // RUN: | FileCheck --check-prefix=CHECK-ESP-RV32IMAFC %s
255
261
// CHECK-ESP-RV32IMAFC: "-cc1" "-triple" "riscv32-esp-unknown-elf"
256
262
// CHECK-ESP-RV32IMAFC-SAME: "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
257
263
// CHECK-ESP-RV32IMAFC-SAME: "-isysroot" "[[SYSROOT:[^"]*]]"
You can’t perform that action at this time.
0 commit comments