-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- moved all installations from codespace config to Dockerfile to allo…
…w for better biuld caching
- Loading branch information
1 parent
589fb40
commit 62af3a2
Showing
3 changed files
with
28 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{ | ||
"image": "mcr.microsoft.com/devcontainers/miniconda", | ||
"customizations": { | ||
"codespaces": { | ||
"openFiles": [ | ||
"examples/quickstart.ipynb", | ||
"README.md" | ||
] | ||
}, | ||
"vscode": { | ||
"extensions": [ | ||
"nimsaem.nimvscode", | ||
"ms-python.python", | ||
"ms-toolsai.jupyter" | ||
] | ||
} | ||
"dockerfile": "Dockerfile", | ||
"customizations": { | ||
"codespaces": { | ||
"openFiles": [ | ||
"examples/quickstart.ipynb", | ||
"README.md" | ||
] | ||
}, | ||
"hostRequirements": { | ||
"cpus": 4, | ||
"memory": "16gb", | ||
"storage": "16gb" | ||
}, | ||
"onCreateCommand": "conda install -y -c conda-forge nim && conda install -y python=3.11 liblapack jupyter numpy pandas plotly && nimble install -y arraymancer nimpy && pip install pqam-rmsadtandoc2023 && 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" | ||
"vscode": { | ||
"extensions": [ | ||
"nimsaem.nimvscode", | ||
"ms-python.python", | ||
"ms-toolsai.jupyter" | ||
] | ||
} | ||
}, | ||
"hostRequirements": { | ||
"cpus": 4, | ||
"memory": "16gb", | ||
"storage": "16gb" | ||
}, | ||
"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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## My NIM gitignore | ||
* | ||
!LICENSE | ||
!Dockerfile | ||
!**/ | ||
!*.* | ||
**/*.npy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM mcr.microsoft.com/devcontainers/miniconda | ||
|
||
RUN conda install -y -c conda-forge nim && \ | ||
conda install -y python=3.11 liblapack jupyter numpy pandas plotly && \ | ||
nimble install -y arraymancer nimpy && \ | ||
pip install pqam-rmsadtandoc2023 |