[yosys] 02/15: look for berkeley-abc in the PATH
Sebastian Kuzminsky
seb_kuzminsky-guest at moszumanska.debian.org
Thu Mar 24 00:59:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
seb_kuzminsky-guest pushed a commit to branch doc-dev-debs
in repository yosys.
commit 9ab64c6c700eaf51184704e9da8eb4fd14b9242c
Author: Sebastian Kuzminsky <seb at highlab.com>
Date: Sun Feb 28 22:30:43 2016 -0700
look for berkeley-abc in the PATH
Before this change to the patch, yosys would determine the directory
that the yosys program lived in and would look for abc there. After this
change, it just looks in the PATH.
This change is generally an improvement because it simplifies the code,
but it's also required to build the documentation.
When we're building the package, abc is in /usr/bin/ (provided by the
build-dependency on berkeley-abc). Before this change to the patch,
the abc.cc code used look for abc in the same directory as the test
program lived in, and thus would fail to find it.
---
debian/patches/05_abc_executable.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/05_abc_executable.patch b/debian/patches/05_abc_executable.patch
index d554681..2f6d987 100644
--- a/debian/patches/05_abc_executable.patch
+++ b/debian/patches/05_abc_executable.patch
@@ -13,7 +13,7 @@ Index: yosys/passes/techmap/abc.cc
log_push();
- std::string exe_file = proc_self_dirname() + "yosys-abc";
-+ std::string exe_file = proc_self_dirname() + "berkeley-abc";
++ std::string exe_file = "berkeley-abc";
std::string script_file, liberty_file, constr_file, clk_str, delay_target;
bool fast_mode = false, dff_mode = false, keepff = false, cleanup = true;
bool show_tempdir = false;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yosys.git
More information about the debian-science-commits
mailing list