Skip to content

Commit

Permalink
Add instructions to use rosetta in a environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Haydnspass authored Nov 26, 2021
1 parent 740c7e3 commit df08e12
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,15 @@ export DOCKERIMAGE=condaforge/linux-anvil-aarch64
bash build_miniforge.sh
```
## Rosetta on Mac with Apple Silicon Hardware
To create new environments that use packages compiled for Intel chips (using rosetta) one should use `CONDA_SUBDIR=osx-64`.
This environment variable should be used upon creation and permanently set in the respective environment:
```bash
CONDA_SUBDIR=osx-64 conda create -n [environment] # create a new environment
conda activate [environment]
conda env config vars set CONDA_SUBDIR=osx-64 # subsequent commands use intel packages
```
## Release
To release a new version of Miniforge:
Expand Down

0 comments on commit df08e12

Please sign in to comment.