From e0a549f8ea534037dc3620a349b9565b08a64cc4 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 3 Jun 2022 13:31:59 +0200 Subject: [PATCH] integration/export: Disable riscv_zicsr workaround for now since does not seems working. --- litex/soc/integration/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/integration/export.py b/litex/soc/integration/export.py index f0646bbb7..4fe841ffe 100644 --- a/litex/soc/integration/export.py +++ b/litex/soc/integration/export.py @@ -106,8 +106,8 @@ def get_cpu_mak(cpu, compile_software): flags = re.compile("-march=([^ ]+)").sub("-march=\\1_zicsr", flags) return flags - if (not clang) and ("riscv" in selected_triple): - flags = apply_riscv_zicsr_march_workaround(flags) + #if (not clang) and ("riscv" in selected_triple): + # flags = apply_riscv_zicsr_march_workaround(flags) # Return informations. return [