sld-columbia / esp

Embedded Scalable Platforms: Heterogeneous SoC architecture and IP integration made easy
Other
326 stars 105 forks source link

Temp build folder for toolchain compilation conflict on shared computer #110

Closed paulmnt closed 2 years ago

paulmnt commented 3 years ago

Is your feature request related to a problem? Please describe. On a shared computer, multiple users cannot build the RISC-V toolchain because of a conflict with the temporary folder /tmp/_riscv_build.

Describe the solution you'd like Generate a different temporary folder when running the script to resolve the conflict.

Describe alternatives you've considered Have the script delete the temporary folder when it exists. This solution could work, however, it would prevent concurrent executions and it may fail in case a step of the script exists with an error due to missing system packages.

davide-giri commented 3 years ago

How about going back to having the temporary _riscv_build and _leon3_build folders local in each user's home folder?

paulmnt commented 3 years ago

that's an option of course.

davide-giri commented 3 years ago

Fixed with PR #119.