aportelli / Hadrons

Grid-based workflow management system for lattice field theory simulations
GNU General Public License v2.0
22 stars 30 forks source link

fix application template configure script #124

Closed krox closed 11 months ago

krox commented 11 months ago

Few month ago (while working on automatic app deployment), I fixed the configure script in many Hadrons applications. Apparently some of the necessary changes did not make their way back into the application-template. This PR rectifies this, bringing the template and our production applications back in line.

The issue itself is just a matter of order of operations. In practice it manifests itself as a error during configure that reads something like configure: error: C++ compiler cannot create executables. A strange workaround in the past was to add something nonsensical like "--host=aarch64" to pretend to be cross-compiling.

aportelli commented 11 months ago

Thanks!