mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-05 05:49:15 +00:00
Merge 53eae2f555 into 3b9f06c130
This commit is contained in:
commit
e2f5bbf34c
1 changed files with 2 additions and 0 deletions
|
|
@ -600,6 +600,8 @@ void init_share_dirname()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
# ifdef YOSYS_DATDIR
|
# ifdef YOSYS_DATDIR
|
||||||
|
if (std::getenv("YOSYS_DATDIR"))
|
||||||
|
return std::getenv("YOSYS_DATDIR");
|
||||||
proc_share_path = YOSYS_DATDIR "/";
|
proc_share_path = YOSYS_DATDIR "/";
|
||||||
if (check_directory_exists(proc_share_path, true)) {
|
if (check_directory_exists(proc_share_path, true)) {
|
||||||
yosys_share_dirname = proc_share_path;
|
yosys_share_dirname = proc_share_path;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue