Closed arthsmn closed 5 months ago
How are you building it? You may have better luck using ninja
rather than standard cmake and modifying the Linux build script here to work on your OS:
How are you building it? You may have better luck using
ninja
rather than standard cmake and modifying the Linux build script here to work on your OS:
I tried adding ninja to the build, but no success so far. Some other parts the builder already declares and some others do not seem relevant, as cmake doesn't even finish to detect everything.
But does it actually call ninja? I'm not familiar with the OS and I couldn't tell by looking at your pkg build script and the output above doesn't show the beginning invocation. It could be calling cmake --build
for all I know, which would be incorrect.
Either that, or the CMakeLists.txt in dynarmic would need to be modified to find the correct path; no idea why it would be substituting in /var/empty, but again, I'm not familiar with the OS. If it shares any similarity to Arch, it might be worth looking at their PKGBUILD to see how they do it.
Reference in new issue
Looked at how citra used to be built and it seems that they just did a symlink to place things where they need to be.
Is there an existing issue for this?
Affected Build(s)
2114
Description of Issue
I'm trying to package Lime3DS to NixOS, but I'm getting an error in the compilation of a missing file, which is there. The log is in its own section. Something that I noticed is that instead of
ir/opt/constant_propagation_pass.cpp
it is trying to findir/var/empty/constant_propagation_pass.cpp
, which seems strange.Here's the draft: https://github.com/NixOS/nixpkgs/pull/313821
Expected Behavior
It would compile just fine.
Reproduction Steps
Try compiling Lime3DS from the unified source tarball.
Log File
System Configuration
CPU: AMD Ryzen™ 7 5700U with Radeon™ Graphics × 16 GPU/Driver: AMD Radeon™ Graphics RAM: 16GB OS: NixOS