Closed Ambrevar closed 3 years ago
Some dependencies such as LLVM have specific commits for RPCS3, that's why the system one isn't used. You can replace some with system defaults, but not all.
With Guix I can choose the right commit for any dependency, that's not a problem.
I'm afraid I don't follow, then can't you fetch all dependencies in 3rdparty folder on their latest commits?
I could do that, but it's rather tedious to do for packagers. It's easier (and good practice) if all dependencies can loaded from the system by cmake with a simple Cmake variable for instance.
Looking at the .gitmodules
file, it seems that only LLVM follows a
specific branch (release_60), the rest seems to target master.
LLVM targets master from our fork (the branch on gitmodules is wrong for some reason) hidapi also targets master from our fork
I believe the other dependencies don't have any RPCS3 specific commits, but note that ffmpeg is the one from the Vita3K fork of ffmpeg
I've fixed the LLVM submodule on afb594c2335b59674ddcd4978aade013a15dce2f , feel free to ask regarding the other submodules if other questions arise
OK, I'll look into it again in some time. Thanks!
Gonna close this issue, since it sounds like the issue has been fixed, feel free to reopen if it's still an issue.
(Sorry if this belonds to a discord discussion, but Discord won't let me log in.)
Quick summary
I'm trying to package rpcs3 for guix.
Details
The package definition I've got so far is here: https://issues.guix.gnu.org/issue/39644
It's mostly inspired from the Nix definition.
It fails with the following output:
I suspect that the failure is due to the submodules not being loaded (there is no network access when Guix builds). That said, I have all the dependencies. Would it be possible to replace all 3rd party dependencies with system packages?