FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
801 stars 138 forks source link

Changes to apio env options #466

Closed zapta closed 1 week ago

zapta commented 1 week ago

This PR deals with the apio's env options.

  1. Moved the env option logic to a new file called env_options.py

  2. Added a new env option APIO_PLATFORM that replaces the --platform flag that some commands had.

  3. Renamed APIO_PKG_DIR to APIO_PACKAGES_DIR and change it semantic such that it overrides ~/.apio/packages instead of ~/.apio

  4. The env option APIO_HOME_DIR was not changed.

  5. If any of the env options is defined, apio now prints a message when it starts, informing the user about the overrides.

image