From afac9a28b0dd53f427aa82cb351de2cd0616a2e5 Mon Sep 17 00:00:00 2001 From: nella Date: Wed, 22 Apr 2026 16:30:50 +0200 Subject: [PATCH] Fix WASI build. --- passes/techmap/liberty_cache.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/passes/techmap/liberty_cache.h b/passes/techmap/liberty_cache.h index 9f5602356..2197f9125 100644 --- a/passes/techmap/liberty_cache.h +++ b/passes/techmap/liberty_cache.h @@ -17,6 +17,9 @@ YOSYS_NAMESPACE_BEGIN * * Return: Path to merged SCL cache file, or empty string if conversion fails */ +#if defined(YOSYS_LINK_ABC) +inline std::string convert_liberty_files_to_merged_scl(const std::vector &, const std::string &, const std::string &) { return ""; } +#else inline std::string convert_liberty_files_to_merged_scl(const std::vector &liberty_files, const std::string &dont_use_args, const std::string &abc_exe) { if (liberty_files.empty()) @@ -101,6 +104,7 @@ inline std::string convert_liberty_files_to_merged_scl(const std::vector