summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-05-14 15:44:13 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-10-17 18:36:13 +0200
commit7fc61dbbfe5c26e48e4eb44e009257c466511d82 (patch)
treeddefbee91a2ea2368470e2ca137c384b7f8c0fec
parent9663ff860081aebf2cb9f3cf5e3f1a7be3824390 (diff)
The dependency abc is built with the name yosys-abc upstream. Since it is available as a separate package independently of yosys, it is not called yosys-abc in debian. This patch changes the name of the command that yosys looks for.
Forwarded: doesn't make sense upstream Gbp-Pq: Name 05_abc_executable.patch
-rw-r--r--passes/techmap/abc.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/passes/techmap/abc.cc b/passes/techmap/abc.cc
index d2d15a4a..adc9614a 100644
--- a/passes/techmap/abc.cc
+++ b/passes/techmap/abc.cc
@@ -1432,11 +1432,7 @@ struct AbcPass : public Pass {
pi_map.clear();
po_map.clear();
-#ifdef ABCEXTERNAL
- std::string exe_file = ABCEXTERNAL;
-#else
- std::string exe_file = proc_self_dirname() + "yosys-abc";
-#endif
+ std::string exe_file = "berkeley-abc";
std::string script_file, liberty_file, constr_file, clk_str;
std::string delay_target, sop_inputs, sop_products, lutin_shared = "-S 1";
bool fast_mode = false, dff_mode = false, keepff = false, cleanup = true;