chipyard
chipyard copied to clipboard
./build-setup.sh should check for existence of the .conda-env before attempting to recreate it
Background Work
- [X] Yes, I searched the mailing list
- [X] Yes, I searched the documentation
Feature Description
Users running build-setup.sh when the conda env is already sourced/exists should see an explanatory error message, instead of a conda crash.
Motivating Example
Avoiding user error
An alternative would be to let the script always deactivate to base environment before touching the conda env configs?
I prefer to error. I don't like scripts which hijack the user's environment.
The relevant PR was merged.