-
Notifications
You must be signed in to change notification settings - Fork 225
Copy OE into install dir #1125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy OE into install dir #1125
Conversation
install_oe_deps@7840 aka 20200430.26 vs master ewma over 50 builds from 7360 to 7824 |
else | ||
echo "Git tag ($git_tag) is later than CMake version ($cmake_version) - please update CMake version!" | ||
exit 1 | ||
echo "Skipping check - ${git_tag} doesn't look like semver" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
semver? semantic versioning?
cmake_version=$(grep CCF_VERSION CMakeLists.txt | grep -Po "(\d)+(\.(\d)+)*") | ||
# Check git tag is <= CMake version. Use sort --version-sort to handle semver (0.9 < 0.10) | ||
if echo "$git_tag $cmake_version" | tr " " "\n" | sort --version-sort -c ; then | ||
echo "Git tag ($git_tag) is safely <= CMake version ($cmake_version)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is < ever a good thing? It seems like we would want strict equality?
# Find OpenEnclave package, preferring local version if found (in the install | ||
# case) | ||
find_package( | ||
OpenEnclave 0.9 CONFIG PATHS ${CMAKE_CURRENT_LIST_DIR}/../openenclave |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hoist out version to a variable?
2-part fix for #1120:
Sample release available here until I delete it: https://github.com/microsoft/CCF/releases/tag/untagged-bfa184e16a4d52090092
This only increases the size of our install package slightly - from 55.4MB in 0.9.3 to 63.5MB on current master with OE.