mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-04 22:32:36 +00:00
chore: fix the dir remove operation
This commit is contained in:
1 file changed
+5
-5
@@ -54,12 +54,11 @@ def install_dependencies():
|
|||||||
|
|
||||||
# Install dependencies (according to Verilator official documentation)
|
# Install dependencies (according to Verilator official documentation)
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"git", "help2man", "perl", "python3", "make", "autoconf", "g++", "gcc", "flex", "bison", "ccache",
|
"git", "help2man", "perl", "python3", "make", "autoconf", "g++", "flex", "bison", "ccache",
|
||||||
"numactl", "perl-doc",
|
"numactl", "perl-doc",
|
||||||
"libfl2",
|
"libfl2",
|
||||||
"libfl-dev",
|
"libfl-dev",
|
||||||
"zlib1g", "zlib1g-dev",
|
"zlib1g", "zlib1g-dev"
|
||||||
"build-essential"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Additional packages for newer Ubuntu versions
|
# Additional packages for newer Ubuntu versions
|
||||||
@@ -243,9 +242,10 @@ def install_software_toolchain():
|
|||||||
print(f"✗ software toolchain installation failed: {e}")
|
print(f"✗ software toolchain installation failed: {e}")
|
||||||
return False
|
return False
|
||||||
finally:
|
finally:
|
||||||
|
pass
|
||||||
# Clean up temporary directory
|
# Clean up temporary directory
|
||||||
if temp_dir.exists():
|
# if temp_dir.exists():
|
||||||
shutil.rmtree(temp_dir)
|
# shutil.rmtree(temp_dir)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
"""Main function"""
|
"""Main function"""
|
||||||
|
|||||||
Reference in new issue
Block a user