-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
49 lines (43 loc) · 1.32 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.PHONY: install.env
.PHONY: install.python
# conda linux targets aliases
.PHONY: install.linux.env
.PHONY: install.linux.python-3.9
# conda linux environments aliases
.PHONY: install.conda.linux.env
.PHONY: install.conda.linux.env.python-3.9
# conda install aliases
.PHONY: install.conda.linux
# conda reinstall aliases
.PHONY: reinstall.conda.linux
install.env: SHELL:=/usr/bin/env bash
install.env: install.linux.env
install.linux.env: install.conda.linux
install.linux.env: install.conda.linux.env
install.python: SHELL:=/usr/bin/env bash
install.python: install.linux.python-3.9
install.linux.python-3.9: install.conda.linux
install.linux.python-3.9: install.conda.linux.env.python-3.9
install.conda.linux:
bash bin/utils/install_conda \
--reinstall default \
--operating-system linux \
--source-url default
reinstall.conda.linux:
bash bin/utils/install_conda \
--reinstall true \
--operating-system linux \
--source-url default
install.conda.linux.env:
@if [[ -f ${from} ]]; then \
echo "creating environment from file ${from}" && \
bash bin/utils/create_conda_env \
--clear-cache true \
--env-file ${from}; \
else \
echo "provided path ${from} is not a file"; \
fi
install.conda.linux.env.python-3.9:
bash bin/utils/create_conda_env \
--clear-cache true \
--env-file .conda/environments/linux-python-3.9.yml