Commit 35164de0 authored by Beardhatcode's avatar Beardhatcode
Browse files

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
parent 0f567b49
Loading
Loading
Loading
Loading
+14 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, asio, boost, cmake, hwloc, gperftools, ninja
, pkg-config, python3 }:
{ lib
, stdenv
, fetchFromGitHub
, asio
, boost
, cmake
, hwloc
, gperftools
, ninja
, pkg-config
, python3
}:

stdenv.mkDerivation rec {
  pname = "hpx";
@@ -12,7 +22,8 @@ stdenv.mkDerivation rec {
    hash = "sha256-1gLDwgCqv+3+rOSG7a3fFsnjqfKpnPpWnBmrW+z+jWw=";
  };

  buildInputs = [ asio boost hwloc gperftools ];
  propagatedBuildInputs = [ hwloc ];
  buildInputs = [ asio boost gperftools ];
  nativeBuildInputs = [ cmake pkg-config python3 ];

  strictDeps = true;