Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fv3net environment on apple chips #2258

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
6 changes: 3 additions & 3 deletions .environment-scripts/build_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ CONDA_BASE=$(conda info --base)
case $(uname) in
Darwin)
case $(uname -m) in
# arm64)
# packages=conda-osx-arm64.lock
# ;;
arm64)
packages=conda-osx-arm64.lock
;;
x86_64)
packages=conda-osx-64.lock
;;
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,9 @@ update_submodules:
############################################################

lock_deps: lock_pip
conda-lock -f environment.yml
conda-lock render
Copy link
Contributor Author

@brianhenn brianhenn Jun 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The render command and the output it produced (the multi-platform conda-lock.yml file) was not actually used in making our environments.

# external directories must be explicitly listed to avoid model requirements files which use locked versions
conda-lock -f environment.yml -p osx-64 -p osx-arm64 -p linux-64

# external directories must be explicitly listed to avoid model requirements files which use locked versions
REQUIREMENTS = external/vcm/setup.py \
pip-requirements.txt \
external/fv3kube/setup.py \
Expand Down
201 changes: 110 additions & 91 deletions conda-linux-64.lock

Large diffs are not rendered by default.

Loading