mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
35164de0d1
hpx will only compile programs if hwloc is availible. Any package that uses hpx will also need hwloc to be availible. Without this change CMake will complain HWLoc is not availible. see: https://hpx-docs.stellar-group.org/branches/release/html/quickstart.html#hpx-dependencies
39 lines
796 B
Nix
39 lines
796 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, asio
|
|
, boost
|
|
, cmake
|
|
, hwloc
|
|
, gperftools
|
|
, ninja
|
|
, pkg-config
|
|
, python3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hpx";
|
|
version = "1.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "STEllAR-GROUP";
|
|
repo = "hpx";
|
|
rev = "v${version}";
|
|
hash = "sha256-1gLDwgCqv+3+rOSG7a3fFsnjqfKpnPpWnBmrW+z+jWw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ hwloc ];
|
|
buildInputs = [ asio boost 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 ];
|
|
};
|
|
}
|