mxe/mxe — pull request #63 by ChristianFrisson (2012-08-01 22:16:28+00:00)
Title: add package armadillo 3.2.4

Here is armadillo. I filled in but didn't check the package update.

A library for linear algebra using blas and lapack.

The patch replaces the SHARED option to STATIC in the cmake ADD_LIBRARY command and reverses the order blas and lapack are added to the ARMA_LIBS list so that they are linked in the correct reverse order for static compilation (-lapack -blas).

The example is from http://arma.sourceforge.net/docs.html#eig_sym. It tests specifically if lapack properly links. When armadillo is compiled as shared library, this example crashes at runtime if lapack can't be properly loaded.