2021-10-28 06:52:43 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, asio, boost, cmake, hwloc, gperftools, ninja
|
|
|
|
, pkg-config, python3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hpx";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "1.8.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "STEllAR-GROUP";
|
|
|
|
repo = "hpx";
|
|
|
|
rev = version;
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-YJ4wHaPE5E6ngUAYrQB1SkW4IoHW71tUDKKNANVA9Xw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
buildInputs = [ asio boost hwloc gperftools ];
|
2021-04-05 15:23:46 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ standard library for concurrency and parallelism";
|
|
|
|
homepage = "https://github.com/STEllAR-GROUP/hpx";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.boost;
|
|
|
|
platforms = [ "x86_64-linux" ]; # lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ bobakker ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|