-
Notifications
You must be signed in to change notification settings - Fork 26
/
operon.nix
56 lines (51 loc) · 904 Bytes
/
operon.nix
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{ stdenv, pkgs, system }:
stdenv.mkDerivation rec {
name = "operon";
src = ./.;
enableShared = true;
cmakePreset = {
"x86_64-linux" = "build-linux";
"x86_64-darwin" = "build-linux";
"aarch64-darwin" = "build-osx";
}."${system}";
cmakeFlags = [
"--preset ${cmakePreset}"
"-DUSE_SINGLE_PRECISION=ON"
];
cmakeBuildType = "Release";
nativeBuildInputs = with pkgs; [ cmake git ];
buildInputs = (with pkgs; [
aria-csv
ceres-solver
cpp-sort
cxxopts
doctest
eigen
eve
fast-float
fmt
icu
jemalloc
cpptrace
libassert
libdwarf
mdspan
pkg-config
pratt-parser
simdutf # required by scnlib
scnlib
taskflow
unordered_dense
vdt
vstat
lbfgs
# ned14 deps
byte-lite
span-lite
ned14-outcome
ned14-quickcpplib
ned14-status-code
xxHash
zstd
]);
}