forked from pika-org/pika
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
31 lines (28 loc) · 697 Bytes
/
shell.nix
File metadata and controls
31 lines (28 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright (c) 2022 ETH Zurich
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell.override { stdenv = pkgs.gcc14Stdenv; } {
buildInputs = with pkgs; [
boost
ccache
cmake-format
cmakeCurses
doxygen
fmt
gperftools
hwloc
jemalloc
mimalloc
mpich
ninja
pkg-config
spdlog
];
hardeningDisable = [ "fortify" ];
CMAKE_GENERATOR = "Ninja";
CMAKE_CXX_COMPILER_LAUNCHER = "ccache";
CXXFLAGS = "-ftemplate-backtrace-limit=0 -fdiagnostics-color=always";
}