diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-04-10 16:33:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 16:33:01 +0200 |
commit | 93c6c6779861d7b41fae1b87d54790e0a9555b80 (patch) | |
tree | 434835d5d7d28d270cb232299bd6b1dfccbc9014 /passes/techmap/abc9.cc | |
parent | 7c06cb615745fce4490c1d5b9dcf48d40fa00445 (diff) | |
parent | af7b7b6dc1891923245db4c818cefd6155aafab8 (diff) | |
download | yosys-93c6c6779861d7b41fae1b87d54790e0a9555b80.tar.gz yosys-93c6c6779861d7b41fae1b87d54790e0a9555b80.tar.bz2 yosys-93c6c6779861d7b41fae1b87d54790e0a9555b80.zip |
Merge pull request #1893 from mmicko/program_prefix
Support custom PROGRAM_PREFIX
Diffstat (limited to 'passes/techmap/abc9.cc')
-rw-r--r-- | passes/techmap/abc9.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index 9757b1539..1b3d5ff06 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -100,7 +100,7 @@ struct Abc9Pass : public ScriptPass #ifdef ABCEXTERNAL log(" use the specified command instead of \"" ABCEXTERNAL "\" to execute ABC.\n"); #else - log(" use the specified command instead of \"<yosys-bindir>/yosys-abc\" to execute ABC.\n"); + log(" use the specified command instead of \"<yosys-bindir>/%syosys-abc\" to execute ABC.\n", proc_program_prefix().c_str()); #endif log(" This can e.g. be used to call a specific version of ABC or a wrapper.\n"); log("\n"); @@ -326,7 +326,7 @@ struct Abc9Pass : public ScriptPass if (!active_design->selected_whole_module(mod)) log_error("Can't handle partially selected module %s!\n", log_id(mod)); - std::string tempdir_name = "/tmp/yosys-abc-XXXXXX"; + std::string tempdir_name = "/tmp/" + proc_program_prefix() + "yosys-abc-XXXXXX"; if (!cleanup) tempdir_name[0] = tempdir_name[4] = '_'; tempdir_name = make_temp_dir(tempdir_name); |