Skip to content

Conversation

@shanduur
Copy link

@shanduur shanduur commented May 14, 2025

This pull request focuses on improving cross-platform compatibility, particularly for macOS (Darwin) systems.

The primary goal is to ensure the software builds on both macOS and Linux. These changes specifically address the differences in dynamic linking and shared library management between the two operating systems, preventing build failures or runtime issues related to missing libraries or incompatible compiler flags on macOS.

@shanduur shanduur force-pushed the darwin branch 3 times, most recently from 680a07b to e31dc63 Compare May 14, 2025 13:45
@shanduur shanduur marked this pull request as ready for review May 14, 2025 13:50
@shanduur shanduur changed the title fea: add experimental support for Darwin feat: add experimental support for Darwin May 14, 2025
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
Duncaen and others added 23 commits August 4, 2025 20:45
Instead of having a dict with pkgvers as keys and iterating over all
keys to match virtual packages, change the map to have pkgnames as keys,
which hold another dict with all the old keys and values for a given
package name.

This significantly speeds up XBPS, since for every package it would
iterate over the whole virtual package map. With recent changes to
xbps-src, where it generates cmd: and py3: virtual packages,
the number of virtual packages in the map has been growing a lot.
By combining repodata and stage data into a single file its easier to
use remote stagedata when enabled. This also avoids having to come up
with a new mechanism to fetch -stagedata and having to keep -repodata
and -stagedata in sync.
Duncaen and others added 28 commits August 4, 2025 20:46
this is done to avoid losing the lock when the packackage database is
replaced with a new file (during updates).
when a package was removed while the repoistory was staged it would
write the merged index+stage into to the repository datas index
while also keeping the repository staged. This is fixed by operating
on the index without the stage. (maybe should have more clear variable
names than idx and index)
Fixed a second typo found commit 6142fff

Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
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.

6 participants