Update HPX from 1.6.0 to 1.7.1. Adds dependency on Asio (new for 1.7.0) and uses fixed Boost version (1.71.0 is the minimum required by HPX).
28 lines
753 B
Nix
28 lines
753 B
Nix
{ lib, stdenv, fetchFromGitHub, asio, boost, cmake, hwloc, gperftools, ninja
|
|
, pkg-config, python3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hpx";
|
|
version = "1.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "STEllAR-GROUP";
|
|
repo = "hpx";
|
|
rev = version;
|
|
sha256 = "1knx7kr8iw4b7nh116ygd00y68y84jjb4fj58jkay7n5qlrxh604";
|
|
};
|
|
|
|
buildInputs = [ asio boost hwloc gperftools ];
|
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
description = "C++ standard library for concurrency and parallelism";
|
|
homepage = "https://github.com/STEllAR-GROUP/hpx";
|
|
license = lib.licenses.boost;
|
|
platforms = [ "x86_64-linux" ]; # lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ bobakker ];
|
|
};
|
|
}
|