NREL / CoolerChips

BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Specify linux system version to avoid different dependency requirements caused by different Mac chip types #3

Closed KaiyuSun closed 5 months ago

KaiyuSun commented 5 months ago

When linux system version is not specified, Mac with Intel chip will by default install x86_64 while Mac with Apple chip will by default install amd64, which will trigger different requirements on dependencies. For example, the amd64 system will require git and cmake to be installed (needs to be specified in Dockerfile), and helics[cli] needs to be included in requirements.txt. By specifying the linux system version, this issue can be solved.

jmythms commented 5 months ago

Looks awesome, @KaiyuSun! Thanks for doing this!