rhubarb-lip-sync/rhubarb/lib/sphinxbase-rev13216/src/libsphinxbase/util
Daniel Wolf e5c39efeeb Moved main executable into its own directory along with its build logic
This will make it easier to add other artifacts that require build steps.
2018-01-24 18:38:09 +01:00
..
Makefile.am Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
README.python Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
bio.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
bitarr.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
bitvec.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
blas_lite.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
case.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
ckd_alloc.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
clapack_scrub.py Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
cmd_ln.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
dtoa.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
err.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
errno.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
f2c_lite.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
filename.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
fortran.py Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
genrand.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
glist.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
hash_table.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
heap.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
listelem_alloc.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
logmath.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
make_lite.py Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
matrix.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
mmio.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
pio.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
priority_queue.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
profile.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
sbthread.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
slamch.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
slapack_lite.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
strfuncs.c Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
wrapped_routines Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00

README.python

Regenerating lapack_lite source
===============================

:Author: David M. Cooke <cookedm@physics.mcmaster.ca>
:Modified by David Huggins-Daines <dhuggins@cs.cmu.edu> for Sphinx

``blas_lite.c``, ``slapack_lite.c``, are ``f2c``'d versions of the
LAPACK routines required by the ``LinearAlgebra`` module, and wrapped
by the ``lapack_lite`` module. The scripts in this directory can be
used to create these files automatically from a directory of LAPACK
source files.

You'll need `Plex 1.1.4`_ installed to do the appropriate scrubbing.

.. _Plex 1.1.4: http://www.cosc.canterbury.ac.nz/~greg/python/Plex/

The routines that ``lapack_litemodule.c`` wraps are listed in
``wrapped_routines``, along with a few exceptions that aren't picked up
properly. Assuming that you have an unpacked LAPACK source tree in
``~/LAPACK``, you generate the new routines in a directory ``new-lite/`` with::

$ python ./make_lite.py wrapped_routines ~/LAPACK new-lite/

This will grab the right routines, with dependencies, put them into the
appropiate ``blas_lite.f``, ``dlapack_lite.f``, or ``zlapack_lite.f`` files,
run ``f2c`` over them, then do some scrubbing similiar to that done to
generate the CLAPACK_ distribution.

.. _CLAPACK: http://netlib.org/clapack/index.html

The versions in CVS as of 2005-04-12 use the LAPACK source from the
`Debian package lapack3`_, version 3.0.20000531a-6. It was found that these
(being regularly maintained) worked better than the patches to the last
released version of LAPACK available at the LAPACK_ page.

.. _Debian package lapack3: http://packages.debian.org/unstable/libs/lapack3
.. _LAPACK: http://netlib.org/lapack/index.html

A slightly-patched ``f2c`` was used to add parentheses around ``||`` expressions
and the arguments to ``<<`` to silence gcc warnings. Edit
the ``src/output.c`` in the ``f2c`` source to do this.