bscpkgs/pkgs/paraver/kernel-fast.nix

50 lines
779 B
Nix
Raw Normal View History

{
stdenv
, autoreconfHook
, boost
, libxml2
, xml2
, wxpropgrid
, wxGTK28
, autoconf
, automake
}:
let
wx = wxGTK28;
in
stdenv.mkDerivation rec {
pname = "paraverKernelFast";
version = "${src.shortRev}";
src = builtins.fetchGit {
url = "git@bscpm03.bsc.es:rpenacob/paraver-kernel.git";
rev = "76f508095c35528ad89078473dc70b9600e507ff";
ref = "fast";
};
hardeningDisable = [ "all" ];
enableParallelBuilding = true;
dontStrip = true;
preConfigure = ''
2021-11-10 22:25:14 +08:00
export CFLAGS="-O3 -DPARALLEL_ENABLED"
export CXXFLAGS="-std=c++17 -O3 -DPARALLEL_ENABLED"
'';
configureFlags = [
"--with-boost=${boost}"
2021-11-10 22:25:14 +08:00
"--enable-openmp"
];
buildInputs = [
autoreconfHook
boost
libxml2.dev
xml2
autoconf
automake
];
}