Skip to content

Commit 294f951

Browse files
adding make dev-install_conda_arm (#553)
Adding dev-install_conda_arm in Makefile to create environment on M-series MacOs (without icc_rt)
1 parent 55c42ac commit 294f951

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ install_conda:
2929
dev-install_conda:
3030
conda env create -f environment-dev.yml && conda activate pylops && pip install -e .
3131

32+
dev-install_conda_arm:
33+
conda env create -f environment-dev-arm.yml && conda activate pylops && pip install -e .
34+
3235
tests:
3336
make pythoncheck
3437
pytest

docs/source/installation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ For a ``conda`` environment, run
9999

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

environment-dev-arm.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: pylops
2+
channels:
3+
- defaults
4+
- conda-forge
5+
- numba
6+
- pytorch
7+
dependencies:
8+
- python>=3.6.4
9+
- pip
10+
- numpy>=1.21.0
11+
- scipy>=1.4.0
12+
- pytorch>=1.2.0
13+
- pyfftw
14+
- pywavelets
15+
- sympy
16+
- matplotlib
17+
- ipython
18+
- pytest
19+
- Sphinx
20+
- numpydoc
21+
- numba
22+
- pre-commit
23+
- autopep8
24+
- isort
25+
- black
26+
- pip:
27+
- devito
28+
- scikit-fmm
29+
- spgl1
30+
- pytest-runner
31+
- setuptools_scm
32+
- pydata-sphinx-theme
33+
- sphinx-gallery
34+
- nbsphinx
35+
- image
36+
- flake8
37+
- mypy

0 commit comments

Comments
 (0)