Skip to content

Building ISIS on ARM, CONDA_SUBDIR #158

@jrcain-usgs

Description

@jrcain-usgs

Recently was troubleshooting making an x86 build on an ARM Mac, and adding CONDA_SUBDIR=osx-64 to the beginning of the conda env create command seemed to solve some problems.

In a complete command:

CONDA_SUBDIR=osx-64 conda env create -n isis -f environment.yml

This should be added somewhere on the ISIS Dev on Arm Macs page.

UPDATE:

More recently, there is a conda flag for this, --platform osx-64, instead of having to set a variable.

conda create --platform osx-64 --name environment_name python

Source: Robin's Blog

Using one of these commands may supersede the old instructions, which describe how to install two instances of conda side-by-side. The side-by-side approach appears to be no longer necessary, especially if this simpler solution works.

It is not clear whether it is better to use conda create or conda env create, and/or which flags work with both or only one. Please test when resoving this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions