libxsmm: split outputs -> out, dev, doc
This commit is contained in:
parent
dad3ce4398
commit
f1116caeb6
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-PpMiD/PeQ0pe5hqFG6VFHWpR8y3wnO2z1dJfHHeItlQ=";
|
sha256 = "sha256-PpMiD/PeQ0pe5hqFG6VFHWpR8y3wnO2z1dJfHHeItlQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" "doc" ];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gfortran
|
gfortran
|
||||||
python3
|
python3
|
||||||
|
@ -34,6 +35,13 @@ stdenv.mkDerivation rec {
|
||||||
"STATIC=${static}"
|
"STATIC=${static}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $dev/lib/pkgconfig
|
||||||
|
mv $out/lib/*.pc $dev/lib/pkgconfig
|
||||||
|
|
||||||
|
moveToOutput "share/libxsmm" "$doc"
|
||||||
|
'';
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue