-
-
Notifications
You must be signed in to change notification settings - Fork 247
[Testing] Attempt to speedup flatpak builds #609
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,19 +41,18 @@ | |
| "modules": [ | ||
| { | ||
| "name": "wxwidgets", | ||
| "rm-configure": true, | ||
| "buildsystem": "cmake-ninja", | ||
| "config-opts": [ | ||
| "--with-libpng", | ||
| "--with-zlib", | ||
| "--with-cxx=17", | ||
| "--disable-sdltest", | ||
| "--disable-webview", | ||
| "--disable-webviewwebkit", | ||
| "--disable-ribbon", | ||
| "--disable-propgrid", | ||
| "--disable-richtext", | ||
| "--with-expat=builtin", | ||
| "--with-libiconv=/usr" | ||
| "-D wxUSE_LIBPNG=builtin", | ||
| "-D wxUSE_ZLIB=builtin", | ||
| "-D wxBUILD_CXX_STANDARD=17", | ||
| "-D wxBUILD_TESTS=OFF", | ||
| "-D wxUSE_WEBVIEW=OFF", | ||
| "-D wxUSE_WEBVIEW_WEBKIT=OFF", | ||
|
Comment on lines
+50
to
+51
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There might be other things we can probably disable that we don't use, out of wx components. I can have a look later.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think all these can be disabled: For some reason we seem to do something about wxXML and XRC in toplevel cmake file, but I can't spot any actual usage of what would need wxUSE_XML and/or wxUSE_XRC.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some of these might be useful for non-flatpak CI builds too, where we build wx ourselves too (Ubuntu). For example disabling wxUSE_MEDIACTRL gets rid of the need for gstreamer completely. |
||
| "-D wxUSE_RIBBON=OFF", | ||
| "-D wxUSE_PROPGRID=OFF", | ||
| "-D wxUSE_RICHTEXT=OFF", | ||
| "-D wxUSE_EXPAT=builtin" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suspect expat is available in some flatpak SDK we depend on anyways, so system version could probably be used as well. |
||
| ], | ||
| "cleanup": [ | ||
| "/share/bakefile" | ||
|
|
@@ -161,6 +160,7 @@ | |
| }, | ||
| { | ||
| "name": "soundtouch", | ||
| "buildsystem": "cmake-ninja", | ||
| "sources": [ | ||
| { | ||
| "type": "git", | ||
|
||
|
|
@@ -185,8 +185,8 @@ | |
| "buildsystem": "cmake-ninja", | ||
| "builddir": true, | ||
| "config-opts": [ | ||
| "-DCMAKE_BUILD_TYPE=RelWithDebInfo", | ||
| "-DWX_CONFIG=/app/bin/wx-config" | ||
| "-D CMAKE_BUILD_TYPE=RelWithDebInfo", | ||
| "-D WX_CONFIG=/app/bin/wx-config" | ||
| ], | ||
| "post-install": [ | ||
| "install -Dm644 ../help/tenacity.metainfo.xml -t /app/share/metainfo", | ||
|
|
||
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.
Same here about
builtinvssysThere 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.
From some older aarch64 flatpak CI build log I see this:
You are changing it from using system libpng and zlib, which are already built and available from the SDK, to bundled copies, increasing build time from sub-configuring and compiling those.