hpx: add hwloc to propagatedBuildInputs
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
This commit is contained in:
parent
0f567b4930
commit
35164de0d1
1 changed files with 14 additions and 3 deletions
|
@ -1,5 +1,15 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, asio, boost, cmake, hwloc, gperftools, ninja
|
{ lib
|
||||||
, pkg-config, python3 }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, asio
|
||||||
|
, boost
|
||||||
|
, cmake
|
||||||
|
, hwloc
|
||||||
|
, gperftools
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hpx";
|
pname = "hpx";
|
||||||
|
@ -12,7 +22,8 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-1gLDwgCqv+3+rOSG7a3fFsnjqfKpnPpWnBmrW+z+jWw=";
|
hash = "sha256-1gLDwgCqv+3+rOSG7a3fFsnjqfKpnPpWnBmrW+z+jWw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ asio boost hwloc gperftools ];
|
propagatedBuildInputs = [ hwloc ];
|
||||||
|
buildInputs = [ asio boost gperftools ];
|
||||||
nativeBuildInputs = [ cmake pkg-config python3 ];
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
Loading…
Reference in a new issue