[gsl-lite] Update to version 0.36.0 #9827
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does your PR fix?
This PR updates the version of gsl-lite to 0.36.0, cf. https://github.com/gsl-lite/gsl-lite/releases/tag/v0.36.0.
gsl-lite recently moved to a new location, https://github.com/gsl-lite/gsl-lite/. This PR also updates the URL to point to the new location of the library.
The previous portfile simply obtained the "gsl-lite.hpp" header file and deployed it to "${CURRENT_PACKAGES_DIR}/include". The new portfile now uses proper CMake installation instead of just deploying the header file, which has the following benefits:
gsl::gsl-lite
,gsl::gsl-lite-v0
, andgsl::gsl-lite-v1
are now accessible to other projects viafind_package()
The new portfile still generates the legacy header <gsl-lite.hpp>, but it produces a diagnostic and simply forwards to the proper header <gsl/gsl-lite.hpp>:
Which triplets are supported/not supported? All triplets should be supported. Have you updated the CI baseline? No.
Does your PR follow the maintainer guide? Yes (I think)