multi-build / multibuild

Machinery for building and testing Python Wheels for Linux, OSX and (less flexibly) Windows.
Other
241 stars 88 forks source link

Added cmake-stamp #539

Open radarhere opened 1 week ago

radarhere commented 1 week ago

All build_* functions in library_builders.sh create a *-stamp file, to prevent the function from being run more than once. For example,

https://github.com/multi-build/multibuild/blob/9a9d1275f025f737cdaa3c451ba07129dd95f361/library_builders.sh#L155-L163

This PR suggests adding that feature to get_modern_cmake as well. It is slightly different - all of the code within should not be skipped on subsequent calls, as get_modern_cmake does echo a result - but the install commands can be skipped.