Skip to content

Commit

Permalink
adding make dev-install_conda_arm (#553)
Browse files Browse the repository at this point in the history
Adding dev-install_conda_arm in Makefile to create environment on M-series MacOs (without icc_rt)
  • Loading branch information
alex-rakowski authored Nov 28, 2023
1 parent 55c42ac commit 294f951
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ install_conda:
dev-install_conda:
conda env create -f environment-dev.yml && conda activate pylops && pip install -e .

dev-install_conda_arm:
conda env create -f environment-dev-arm.yml && conda activate pylops && pip install -e .

tests:
make pythoncheck
pytest
Expand Down
3 changes: 2 additions & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ For a ``conda`` environment, run

.. code-block:: bash
>> make dev-install_conda
>> make dev-install_conda # for x86 (Intel or AMD CPUs)
>> make dev-install_conda_arm # for arm (M-series Mac)
This will create and activate an environment called ``pylops``, with all required and optional dependencies.

Expand Down
37 changes: 37 additions & 0 deletions environment-dev-arm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: pylops
channels:
- defaults
- conda-forge
- numba
- pytorch
dependencies:
- python>=3.6.4
- pip
- numpy>=1.21.0
- scipy>=1.4.0
- pytorch>=1.2.0
- pyfftw
- pywavelets
- sympy
- matplotlib
- ipython
- pytest
- Sphinx
- numpydoc
- numba
- pre-commit
- autopep8
- isort
- black
- pip:
- devito
- scikit-fmm
- spgl1
- pytest-runner
- setuptools_scm
- pydata-sphinx-theme
- sphinx-gallery
- nbsphinx
- image
- flake8
- mypy

0 comments on commit 294f951

Please sign in to comment.