diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-02-05 22:47:17 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-02-05 22:47:17 +0100 |
| commit | d536a6601016ea54792358e2df9c3f0ad8a526e7 (patch) | |
| tree | 8aca0dcb5453d80fbeb6061f83190330344bdf0a /docs | |
| parent | 8907523ee4e570c5bb18d1f446f78a80a9d876e9 (diff) | |
[port, cmake] fix NetBSD/OpenBSD 7.8 build failure, update documentation (#3272)
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3272
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Caveats.md | 2 | ||||
| -rw-r--r-- | docs/Deps.md | 2 | ||||
| -rw-r--r-- | docs/Development.md | 10 |
3 files changed, 8 insertions, 6 deletions
diff --git a/docs/Caveats.md b/docs/Caveats.md index ed98f602d8..39b5ab15e6 100644 --- a/docs/Caveats.md +++ b/docs/Caveats.md @@ -85,6 +85,8 @@ If you have `quazip1_qt6_devel`, uninstall it. It may call `Core5Compat` on CMak ## OpenBSD +System boost doesn't have `context` (as of 7.8); so you may need to specify `-DYUZU_USE_CPM=ON -DBoost_FORCE_BUNDLED=ON`. + After configuration, you may need to modify `externals/ffmpeg/CMakeFiles/ffmpeg-build/build.make` to use `-j$(nproc)` instead of just `-j`. `-lc++-experimental` doesn't exist in OpenBSD but the LLVM driver still tries to link against it, to solve just symlink `ln -s /usr/lib/libc++.a /usr/lib/libc++experimental.a`. Builds are currently not working due to lack of `std::jthread` and such, either compile libc++ manually or wait for ports to catch up. diff --git a/docs/Deps.md b/docs/Deps.md index 689d12800a..c91d6fc4fb 100644 --- a/docs/Deps.md +++ b/docs/Deps.md @@ -277,7 +277,7 @@ For NetBSD +10.1: `pkgin install git cmake boost fmtlib SDL2 catch2 libjwt spirv ```sh pkg_add -u -pkg_add cmake nasm git boost unzip--iconv autoconf-2.72p0 bash ffmpeg glslang gmake llvm-19.1.7p3 qt6 jq fmt nlohmann-json enet boost vulkan-utility-libraries vulkan-headers spirv-headers spirv-tools catch2 sdl2 libusb1-1.0.27 +pkg_add cmake nasm git boost unzip--iconv autoconf-2.72p0 bash ffmpeg glslang gmake qt6 jq fmt nlohmann-json enet boost vulkan-utility-libraries vulkan-headers spirv-headers spirv-tools catch2 sdl2 libusb1-1.0.29 ``` [Caveats](./Caveats.md#openbsd). diff --git a/docs/Development.md b/docs/Development.md index 062bc140d9..eb9f4159b5 100644 --- a/docs/Development.md +++ b/docs/Development.md @@ -82,15 +82,15 @@ You may additionally need the `Qt Extension Pack` extension if building Qt. # Build speedup -If you have an HDD, use ramdisk (build in RAM): +If you have an HDD, use ramdisk (build in RAM), approximatedly you need 4GB for a full build with debug symbols: ```sh -sudo mkdir /tmp/ramdisk -sudo chmod 777 /tmp/ramdisk +mkdir /tmp/ramdisk +chmod 777 /tmp/ramdisk # about 8GB needed -sudo mount -t tmpfs -o size=8G myramdisk /tmp/ramdisk +mount -t tmpfs -o size=4G myramdisk /tmp/ramdisk cmake -B /tmp/ramdisk cmake --build /tmp/ramdisk -- -j32 -sudo umount /tmp/ramdisk +umount /tmp/ramdisk ``` # Assets and large files |
