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:
Beardhatcode 2024-01-15 16:38:10 +01:00
parent 0f567b4930
commit 35164de0d1

View file

@ -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;