Merge pull request #258278 from markuskowa/split-libxsmm

libxsmm: split outputs -> out, dev, doc

authored by Fabián Heredia Montiel and committed by GitHub 72b10ff6 66779272

+9 -1
+1 -1
pkgs/applications/science/chemistry/cp2k/default.nix
··· 73 73 -ftree-vectorize -funroll-loops -msse2 \ 74 74 -std=f2008 \ 75 75 -fopenmp -ftree-vectorize -funroll-loops \ 76 - -I${libxc}/include -I${libxsmm}/include \ 76 + -I${libxc}/include -I${lib.getDev libxsmm}/include \ 77 77 -I${libint}/include ${lib.optionalString enableElpa "$(pkg-config --variable=fcflags elpa)"} 78 78 LIBS = -lfftw3 -lfftw3_threads \ 79 79 -lscalapack -lblas -llapack \
+8
pkgs/development/libraries/libxsmm/default.nix
··· 15 15 sha256 = "sha256-PpMiD/PeQ0pe5hqFG6VFHWpR8y3wnO2z1dJfHHeItlQ="; 16 16 }; 17 17 18 + outputs = [ "out" "dev" "doc" ]; 18 19 nativeBuildInputs = [ 19 20 gfortran 20 21 python3 ··· 33 34 "PREFIX=$(out)" 34 35 "STATIC=${static}" 35 36 ]; 37 + 38 + postInstall = '' 39 + mkdir -p $dev/lib/pkgconfig 40 + mv $out/lib/*.pc $dev/lib/pkgconfig 41 + 42 + moveToOutput "share/libxsmm" "$doc" 43 + ''; 36 44 37 45 prePatch = '' 38 46 patchShebangs .