Commit f1116cae authored by Markus Kowalewski's avatar Markus Kowalewski
Browse files

libxsmm: split outputs -> out, dev, doc

parent dad3ce43
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-PpMiD/PeQ0pe5hqFG6VFHWpR8y3wnO2z1dJfHHeItlQ=";
  };

  outputs = [ "out" "dev" "doc" ];
  nativeBuildInputs = [
    gfortran
    python3
@@ -34,6 +35,13 @@ stdenv.mkDerivation rec {
    "STATIC=${static}"
  ];

  postInstall = ''
    mkdir -p $dev/lib/pkgconfig
    mv $out/lib/*.pc $dev/lib/pkgconfig

    moveToOutput "share/libxsmm" "$doc"
  '';

  prePatch = ''
    patchShebangs .
  '';