git.iko.soy/typeable/nixpkgs
on master help sign in
doc/using/overlays.xml: fix some small glitches
commit14ac67cbb3156659c26ad69be743802701e9341b authorDaniël de Kok <me@danieldk.eu> dateMon 10 Aug 2020, 15:47 (6 years ago) parent8ffc743
1 file changed+9−7
doc/using/overlays.xml+9−7
doc/using/overlays.xml+9−7
@@ -178,7 +178,7 @@ self: super:
178178 <para>
179179 <link
180180 xlink:href="https://software.intel.com/en-us/mkl">Intel
181− MKL</link> (only works on x86 architecture, unfree)
181+ MKL</link> (only works on the x86_64 architecture, unfree)
182182 </para>
183183 <para>
184184 The Nixpkgs attribute is <literal>mkl</literal>.
@@ -201,16 +201,17 @@ self: super:
201201 <para>
202202 Introduced in <link
203203 xlink:href="https://github.com/NixOS/nixpkgs/pull/83888">PR
204− #83888</link>, we are able to override the ‘blas’ and ‘lapack’
205− packages to use different implementations, through the
206− ‘blasProvider’ and ‘lapackProvider’ argument. This can be used
204+ #83888</link>, we are able to override the <literal>blas</literal>
205+ and <literal>lapack</literal> packages to use different implementations,
206+ through the <literal>blasProvider</literal> and
207+ <literal>lapackProvider</literal> argument. This can be used
207208 to select a different provider. BLAS providers will have
208209 symlinks in <literal>$out/lib/libblas.so.3</literal> and
209210 <literal>$out/lib/libcblas.so.3</literal> to their respective
210211 BLAS libraries. Likewise, LAPACK providers will have symlinks
211212 in <literal>$out/lib/liblapack.so.3</literal> and
212213 <literal>$out/lib/liblapacke.so.3</literal> to their respective
213− LAPCK libraries. For example, Intel MKL is both a BLAS and
214+ LAPACK libraries. For example, Intel MKL is both a BLAS and
214215 LAPACK provider. An overlay can be created to use Intel MKL
215216 that looks like:
216217 </para>
@@ -229,8 +230,9 @@ self: super:
229230 <para>
230231 This overlay uses Intel’s MKL library for both BLAS and LAPACK
231232 interfaces. Note that the same can be accomplished at runtime
232− using <literal>LD_LIBRARY_PATH</literal> of libblas.so.3 and
233− liblapack.so.3. For instance:
233+ using <literal>LD_LIBRARY_PATH</literal> of
234+ <literal>libblas.so.3</literal> and
235+ <literal>liblapack.so.3</literal>. For instance:
234236 </para>
235237 <programlisting>
236238$ LD_LIBRARY_PATH=$(nix-build -A mkl)/lib:$LD_LIBRARY_PATH nix-shell -p octave --run octave