Files
devshell/flake.nix

33 lines
811 B
Nix

{
description = "A collection of flake templates for jungle";
outputs =
{ self }:
{
templates = {
ompss2 = {
path = ./ompss2;
description = "LLVM compiler to build OmpSs-2 with nodes and nOS-V";
welcomeText = ''
# Getting started
- Run `nix develop`
- Run `make`
Open README.md for more
'';
};
cuda = {
path = ./cuda;
description = "CUDA development in nix";
welcomeText = ''
Run `nix develop` to load the environment and `make` to build the
example CUDA program. Run it with `./cudainfo` from the fox machine to
test it.
'';
};
};
defaultTemplate = self.templates.ompss2;
};
}