diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-09-10 15:29:40 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-09-10 15:29:40 +0200 |
commit | 461022ee5135a3bfcca4659cf73fadccc0594d3f (patch) | |
tree | b81ab7f5952bcbc9dc05feb8186efc2cb0eb3bdb /default.nix | |
parent | 3c2778f440a48ec809b6c9d176c393cbefbee69d (diff) |
Moving towards gpu
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 27 |
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; + }; + }; } |