Skip to content

Conversation

@georgeliao
Copy link
Contributor

@georgeliao georgeliao commented Apr 3, 2025

WIP
https://warthogs.atlassian.net/browse/MULTI-1920

Things are not finished

  1. The private PR's code change needs to be moved to this PR.
  2. The unit test passes but the daemon start crashes, did not have time to look into that yet.

close #3889

@georgeliao georgeliao marked this pull request as draft April 3, 2025 08:12
Now it is same as the standard build recipe, the purpose it to convert the dynamic linkage to static. As a result, we can avoid the windows openssl_applink.c problem.
@georgeliao georgeliao force-pushed the move_openssl_to_vcpkg branch from afcff52 to ebda7f8 Compare April 3, 2025 08:16
@georgeliao georgeliao changed the title Move openssl to vcpkg Move openssl from binary installation to vcpkg Apr 3, 2025
@codecov
Copy link

codecov bot commented Apr 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.34%. Comparing base (883d45a) to head (ebda7f8).
⚠️ Report is 4394 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4023   +/-   ##
=======================================
  Coverage   89.34%   89.34%           
=======================================
  Files         260      260           
  Lines       14738    14738           
=======================================
  Hits        13167    13167           
  Misses       1571     1571           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

github-merge-queue bot pushed a commit that referenced this pull request Nov 24, 2025
This PR adds the ability to build on the latest macOS runners while
still targeting an older version of macOS.

The `CMAKE_OSX_DEPLOYMENT_TARGET` is propagated to vcpkg so that all
dependencies are also built for the correct version of macOS.

Because OpenSSL was originally fetched via brew installation, its binary
would inherently target the version of macOS that it was being installed
on. To remedy this, OpenSSL is now fetched from vcpkg.

`windows-macos.yml` is subsequently pruned to no longer spawn unneeded
macOS runners.

The deployment target can be queried from a Multipass binary with the
command `otool -l multipassd | grep -A 3 LC_BUILD_VERSION`.

Updated licence information in the installer with the appropriate
licence as found in the [openssl
repository](https://github.com/openssl/openssl). Also, updated the
licence information for semver as its source recently changed in #4461.

Verified on a macOS 14 virtual machine. Nested virtualization is only
supported on M3 and newer, so you will need to remove the CPU checks in
`preinstall-multipassd.sh` and `CPack.distribution.dist.in`.

Closes #4023
Closes canonical/multipass-private#739

---

MULTI-1920
MULTI-2272
@xmkg xmkg closed this in #4496 Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to run multipass

2 participants