3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-10-05 01:03:59 +00:00

Make jobserver integration

Only implements the POSIX jobserver and will break on windows.
Unbreaking it on windows will be done as a follow up.

Not used for autotune, that needs some more changes.
This commit is contained in:
Jannis Harder 2022-07-13 15:51:26 +02:00
parent de939e279a
commit b0786aea43
5 changed files with 359 additions and 7 deletions

View file

@ -59,7 +59,7 @@ if __name__ == "__main__":
exit(noskip)
print(command, flush=True)
exit(subprocess.call(command, shell=True))
exit(subprocess.call(command, shell=True, close_fds=False))
found_tools = []
check_tools = set()