sgx-psw+aesmd: support building with cmake 4 and gcc 15 #1098
Open
phlip9 wants to merge 2 commits intointel:mainfrom
Open
sgx-psw+aesmd: support building with cmake 4 and gcc 15 #1098phlip9 wants to merge 2 commits intointel:mainfrom
phlip9 wants to merge 2 commits intointel:mainfrom
Conversation
13 tasks
Bump the aesmd-relevant `cmake_minimum_required` to 3.10. CMake 4.0 completely drops support for <3.5. It also emits a deprecation warning for any version <3.10. ``` CMake Deprecation Warning at CMakeLists.txt:33 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. ``` See: <https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-features> Signed-off-by: Philip Kannegaard Hayes <philiphayes9@gmail.com>
Various CppMicroServices header files now need `#include <cstdint>` to compile with >=GCC 15. Signed-off-by: Philip Kannegaard Hayes <philiphayes9@gmail.com>
06d19ca to
6643647
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains a few small build system fixes that enable sgx-psw/aesmd to compile with CMake 4+ and GCC 15+.
GCC 15+
Various CppMicroServices header files now need
#include <cstdint>to compile with >=GCC 15.CMake 4.0
Bump the aesmd-relevant
cmake_minimum_requiredto 3.10.CMake 4.0 completely drops support for <3.5. It also emits a deprecation warning for any version <3.10:
See: https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-features