aboutsummaryrefslogtreecommitdiff
path: root/cpmfile.json
diff options
context:
space:
mode:
authorcrueter <crueter@eden-emu.dev>2026-06-02 03:40:28 +0200
committercrueter <crueter@eden-emu.dev>2026-06-02 03:40:28 +0200
commit683e6249c3cd53f5107008fc54818d841e4bfb8d (patch)
treeb7799150ab4f3ed2a075d3dffe5aa978c68ecd4e /cpmfile.json
parenteaece15dbd61e8f82d431d1725fc7c8dc1e56802 (diff)
[cmake] Allow building OpenSSL from source (#4032)
If YUZU_USE_BUNDLED_OPENSSL is off and OpenSSL is *not* installed to the system, pulls in OpenSSL and Jimmy Park's CMake wrapper, then configures + builds from source. Some patches were made on top of OpenSSL and openssl-cmake: - USE_CCACHE is respected from UseCcache.cmake - CXX/CFLAGS are passed from CMake to the configure script, which sends those to the compiler - Uses a bundled cert.h akin to the bundled OpenSSL build Closes #3614 ~~Before merge: remove verbose stuff~~ actually useful so nvm Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4032 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'cpmfile.json')
-rw-r--r--cpmfile.json29
1 files changed, 28 insertions, 1 deletions
diff --git a/cpmfile.json b/cpmfile.json
index ead839de2e..fdcf4b60d5 100644
--- a/cpmfile.json
+++ b/cpmfile.json
@@ -1,5 +1,5 @@
{
- "openssl": {
+ "openssl-ci": {
"ci": true,
"package": "OpenSSL",
"name": "openssl",
@@ -7,6 +7,33 @@
"version": "3.6.0-1cb0d36b39",
"min_version": "3"
},
+ "openssl-cmake": {
+ "repo": "jimmy-park/openssl-cmake",
+ "hash": "2cc185c924fd70e7d886257ca0caa42b3b8f7f712f2052b4f94dde74759e27022de76178460e18c9bdfc57c366583999e198fbb6052d4e7d91c099d15a0ca63e",
+ "git_version": "3.6.2",
+ "tag": "%VERSION%",
+ "bundled": true,
+ "options": [
+ "OPENSSL_CONFIGURE_OPTIONS threads"
+ ],
+ "patches": [
+ "0001-cpmutil-compat.patch",
+ "0002-use-ccache.patch",
+ "0003-use-cmake-compiler-flags.patch"
+ ]
+ },
+ "openssl": {
+ "repo": "openssl/openssl",
+ "package": "OpenSSL",
+ "min_version": "3",
+ "version": "3",
+ "hash": "29002ce50cb95a4f4f1d0e9d3f684401fbd4eac34203dc2eef3b6334af5d44aa46bf788b63a6f5c139c383eafb7269ae87a58a9a3ad5912903b9773e545ccc0a",
+ "git_version": "3.6.2",
+ "tag": "openssl-%VERSION%",
+ "patches": [
+ "0001-add-bundled-cert.patch"
+ ]
+ },
"boost": {
"package": "Boost",
"repo": "boostorg/boost",