summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix27
1 files changed, 22 insertions, 5 deletions
diff --git a/default.nix b/default.nix
index 883b70e..937a1de 100644
--- a/default.nix
+++ b/default.nix
@@ -10,10 +10,27 @@ let
}).outPath + "/default.nix"){
inherit stdenv;
inherit clang-tools;
- }).forstio;
+ }).forstio;
-in pkgs.callPackage ./.nix/derivation.nix {
- inherit forstio;
- inherit stdenv;
- inherit clang-tools;
+ adaptive-cpp = pkgs.callPackage ./.nix/adaptive-cpp.nix {
+ inherit stdenv;
+ llvmPackages = pkgs.llvmPackages_19;
+ lld = pkgs.lld_19;
+ };
+
+ pname = "kel-lbm";
+ version = "0.0.2";
+in rec {
+ lbm = pkgs.callPackage ./.nix/derivation.nix {
+ inherit forstio;
+ inherit stdenv;
+ inherit clang-tools;
+ };
+
+ examples = {
+ cavity_2d_gpu = pkgs.callPackage ./examples/cavity_2d_gpu/.nix/derivation.nix {
+ inherit pname version stdenv forstio adaptive-cpp;
+ kel-lbm = lbm;
+ };
+ };
}