Created
December 24, 2023 11:39
-
-
Save robertodr/121c90fbc6929a946cbc5592bcdd1a79 to your computer and use it in GitHub Desktop.
mrcpp nix shell
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
let | |
sources = import ./nix/sources.nix; | |
pkgs = import sources.nixpkgs { | |
overlays = [ | |
]; | |
}; | |
in | |
pkgs.mkShell.override { stdenv = pkgs.llvmPackages_13.stdenv; } { | |
name = "MRCPP"; | |
nativeBuildInputs = with pkgs; [ | |
clang-analyzer | |
clang-tools | |
cmake | |
eigen | |
fmt | |
ninja | |
llvmPackages_13.openmp | |
openmpi | |
]; | |
buildInputs = with pkgs; [ | |
lldb | |
gdb | |
python3 | |
python3.pkgs.pyyaml | |
valgrind | |
]; | |
hardeningDisable = [ "all" ]; | |
NINJA_STATUS = "[Built edge %f of %t in %e sec] "; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment