[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling binaries on package installation



Dear list,

I'm working on a tool that uses linear algebra libraries like Lapack and
OpenBLAS.
Normally I would compile the tool on the user's machine upon
installation (using e.g. the -march=native GCC option) in order to
achieve proper performance. Is there a way to do this in a Debian
package so that it compiles the binary when you install the package?
Maybe in a similar way as some kernel modules are compiled?

Or should I point out how to "compile your own", like it is done in the
"Building an optimized OpenBLAS packages on your architecture" in the
README.Debian file of openblas-base?


Thanks,

Lennart.

-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
Utrecht
The Netherlands

lennart@karssen.org
http://blog.karssen.org
GPG key ID: A88F554A
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
Utrecht
The Netherlands

lennart@karssen.org
http://blog.karssen.org
GPG key ID: A88F554A
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: