MFlowCode / MFC

Exascale simulation of multiphase/physics fluid dynamics
https://mflowcode.github.io
MIT License
132 stars 58 forks source link

toolchain: fix shared install dirs #365

Closed henryleberre closed 4 months ago

henryleberre commented 4 months ago

Description

I realized while debugging an issue with my chemistry code that spurious rebuilds could arise when using case-optimization or analytically defining patch variables. Currently, build (staging) directories would correctly be separated but not install directories when the binaries live. This commit addresses this issue. The long build slug names (even longer with chemistry) are also now just hashes, as long directory names can overwhelm some filesystems. Further, staging, like install is now a separate directory within build/ holding the CMake binary directories. This makes the build/ structure easier to parse.

Type of change

Please delete options that are not relevant.

Scope

How Has This Been Tested?