SmartRedis icon indicating copy to clipboard operation
SmartRedis copied to clipboard

Streamline static Fortran builds

Open billschereriii opened this issue 1 year ago • 0 comments

Description

The builds of tests and examples currently display two different techniques for how to get everything linked together properly, based on the compiler in use. In particular, the approach used for GNU compilers matches the KitWare (CMake creators) recommended approach and the approach for other compilers is more generic but less compliant with KitWare's recommendations. While it is instructive to show multiple approaches, we should standardize on only one, assuming that we can devise an approach that works for all compilers.

Justification

While the multiple approaches give options to our users who want to work with static builds, it's better to have a single standard recipe for how to do things.

Implementation Strategy

The non-GNU approach should be tested with GNU compilers and adopted if it works for them. The GNU approach does NOT work with Intel or PGI compilers, so despite being KitWare's recommendation, is not suitable as a unified recipe.

billschereriii avatar Jul 27 '23 21:07 billschereriii