catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Support building with conda on macOS

Open erick-xanadu opened this issue 1 year ago • 0 comments

Issue description

  • Expected behavior: Following the build instructions should build catalyst correctly when using conda.

  • Actual behavior: Following these instructions:

  1. Created a new environment via the command conda create -n catalyst_test python=3.10 and activated the new environment
pip install cmake ninja
brew install libomp
cd catalyst
git checkout main
git pull
pip install -r requirements.txt
brew install ccache
make llvm
make mhlo
make enzyme
make dialects
make runtime
pip install -e .

didn't work out. Tests didn't finish running with half of the ones the finished failing.

  • Tested on MacBook Air, M1 2020, and running macOS Sonoma 14.3.1 (but possibly affects other platforms)

erick-xanadu avatar Apr 24 '24 17:04 erick-xanadu