title: Building static Armadillo using OpenBLAS, ARPACK, LAPACK, and SuperLU
body: <p>We have an HPC environment with multiple versions of most packages, causing us to have designed a home-rolled way to install packages in unique locations and use environment modules for programmers/researchers to be able to identify which library versions they are using when they build a program, run a program, or both. Is there a relatively painless way to be able to perform builds in this environment. In my case, we're using OpenBLAS, ARPACK, LAPACK and SuperLU when building armadillo. In my case, I'm shooting for armadillo-0.3.7. It would be real nice if the use of switches as was done in the <code>./configure</code> and <code>make</code> days would work. But all I've found so far is <code>CMake</code> builds, and it appears to be pretty much non-trivial to do a build. </p>
  
  <p>Oh yeah. And, by the way, there's a need for the output Armadillo library to be static. </p>
  
  <p>Thanks in advance for your help. The initial question may be a little vague, but I can get as specific as you like. I just didn't want to write a novel for the initial question on this issue.</p>