Skip to content

Conversation

@JustSoup312
Copy link

@JustSoup312 JustSoup312 commented Feb 20, 2025

Meson has a lot of nice-to-haves that make doesn't. It's like a chisel to a hammer. Porting the build system to a more fine-tunable system (meson) will make it easier to support building on other platforms.

This MR also changes the directory structure to be easier to follow for new contributors.

This MR is not ready yet as it has linking issues with assembly files and uses ld.lld on Linux instead of ld64.lld. Also, all directories are not ported to meson yet.

TO TEST THIS MR:

meson setup builddir --cross-file darwin-cross.toml
meson compile -C builddir

asdfugil and others added 30 commits November 12, 2024 14:35
paleinfo is palera1n's version kerninfo, with support
for additional things such as rootful with fakefs.
unlike checkra1n, this patch is always required on palera1n
Co-authored-by: =?UTF-8?q?=E3=81=AD=E3=82=80=E3=81=84?=
 <[email protected]>
this is needed to fix the IDSBlastDoorService crash loop since 16.2
but we are  not have rootful for ios 17, so there is no point in updating this patch.
DolphiniOS do not like it if it is not set
@JustSoup312 JustSoup312 changed the title Port build system to meson Port build system to meson and clean up directories Feb 20, 2025
dependencies : [newlib],
include_directories : inc,
c_args : [
'-Os',

Choose a reason for hiding this comment

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

You can set project default_option to optimization=s

'--target=arm64-apple-ios12.0',
'-std=gnu17',
'-moutline',
'-flto',

Choose a reason for hiding this comment

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

b_lto=true ?

c_args : [
'-Os',
'--target=arm64-apple-ios12.0',
'-std=gnu17',

Choose a reason for hiding this comment

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

c_std=gnu17

@asdfugil
Copy link
Member

asdfugil commented Feb 20, 2025

modifying the source tree structure would make it difficult to merge checkra1n/PongoOS, also the bootm command is in checkra1n/PongoOS iOS15 branch already

@@ -0,0 +1,4 @@
pongo_drivers_recfg_sources_c = [
'src/pongo/drivers/recfg/recfg.c',
Copy link

Choose a reason for hiding this comment

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

Consider using files() function and skipping the initial directory path component within the sources list.

Renaming and moving directories around would be so much easier by not having to change all the build files in a subtree.

@asdfugil asdfugil force-pushed the iOS15 branch 3 times, most recently from 906e903 to f926152 Compare September 6, 2025 18:50
@asdfugil
Copy link
Member

asdfugil commented Sep 7, 2025

we have decided to not use pongoOS for booting postmarketOS on user devices, and directly boot from iBoot instead, so closing this PR.

@asdfugil asdfugil closed this Sep 7, 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.

8 participants