Skip to content
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

RCPP-8 Prepare vcpkg for submission #210

Merged
merged 21 commits into from
Jun 18, 2024
Merged

RCPP-8 Prepare vcpkg for submission #210

merged 21 commits into from
Jun 18, 2024

Conversation

leemaguire
Copy link
Contributor

@leemaguire leemaguire commented May 29, 2024

  • This PR moves the default scheduler logic into the SDK layer to allow better flexibility.
  • The CMakeLists have also been updated to not point to the realm-core submodule if the vcpkg toolchain is detected.
  • The GHA vcpkg workflow now checks out the latest vcpkg, as the built in one points to some older version.
  • The Qt scheduler has been removed as it was never actually used by any platform, users should provide their own scheduler if needs be.

@leemaguire leemaguire self-assigned this May 29, 2024
@leemaguire leemaguire marked this pull request as ready for review June 5, 2024 18:38
@leemaguire leemaguire requested a review from fealebenpae June 5, 2024 18:38
.github/workflows/vcpkg.yml Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
include/cpprealm/schedulers/default_schedulers.hpp Outdated Show resolved Hide resolved
src/cpprealm/schedulers/default_schedulers.cpp Outdated Show resolved Hide resolved
@leemaguire leemaguire requested a review from kneth June 18, 2024 08:23
Copy link
Contributor

@kneth kneth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -49,6 +54,13 @@ add_compile_definitions(REALM_ENABLE_ENCRYPTION)
add_compile_definitions(REALM_INSTALL_LIBEXECDIR)
add_compile_definitions(REALM_BUILD_LIB_ONLY)

# on Apple platforms we use the built-in CFRunLoop
# everywhere else it's libuv, except UWP where it doesn't build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And I assume that UWP is checked by WINDOWS_STORE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed

@leemaguire leemaguire merged commit 9f0dc47 into main Jun 18, 2024
49 checks passed
@leemaguire leemaguire deleted the lm/vcpkg branch June 18, 2024 10:07
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants