Skip to content

Commit 938dec7

Browse files
committed
Revert "- moved tutorial binary compilations to Dockerfile for improved Codespace startup time"
This reverts commit 826d067.
1 parent 4678621 commit 938dec7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,4 @@ RUN apt-get update \
66
&& conda install -y python=3.11 liblapack jupyter numpy pandas plotly \
77
&& conda install -y -c conda-forge pycalphad \
88
&& nimble install -y arraymancer nimpy \
9-
&& pip install pqam-rmsadtandoc2023 pathfinding \
10-
&& nim c --d:release --out:examples/nimplex nimplex \
11-
&& nim c --d:release --threads:on --app:lib --out:examples/nimplex.so nimplex \
12-
&& nim c --d:release --threads:on --app:lib --out:examples/utils/plotting.so utils/plotting
9+
&& pip install pqam-rmsadtandoc2023 pathfinding

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
"cpus": 4,
2222
"memory": "16gb",
2323
"storage": "16gb"
24-
}
24+
},
25+
"onCreateCommand": "nim c --d:release --out:examples/nimplex nimplex && nim c --d:release --threads:on --app:lib --out:examples/nimplex.so nimplex && nim c --d:release --threads:on --app:lib --out:examples/utils/plotting.so utils/plotting"
2526
}

0 commit comments

Comments
 (0)