diff --git a/CMakeLists.txt b/CMakeLists.txt index b92f0797a5..b61bb49359 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -366,7 +366,7 @@ if (YUZU_ROOM) add_compile_definitions(YUZU_ROOM) endif() -if ((ANDROID OR APPLE OR UNIX) AND (NOT PLATFORM_LINUX OR ANDROID) AND NOT WIN32 AND NOT PLATFORM_OPENBSD) +if ((ANDROID OR APPLE OR UNIX) AND (NOT PLATFORM_LINUX OR ANDROID) AND NOT WIN32) if(CXX_APPLE OR CXX_CLANG) # libc++ has stop_token and jthread as experimental set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexperimental-library") diff --git a/docs/Caveats.md b/docs/Caveats.md index 2a605b9844..3f97766910 100644 --- a/docs/Caveats.md +++ b/docs/Caveats.md @@ -45,6 +45,10 @@ export LIBGL_ALWAYS_SOFTWARE=1 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`. + +If clang has errors, try using `g++-11`. + ## FreeBSD Eden is not currently available as a port on FreeBSD, though it is in the works. For now, the recommended method of usage is to compile it yourself. diff --git a/docs/Deps.md b/docs/Deps.md index 99096c9ada..44755a8bda 100644 --- a/docs/Deps.md +++ b/docs/Deps.md @@ -181,6 +181,7 @@ cmake --install build 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 ``` +
diff --git a/docs/user/Architectures.md b/docs/user/Architectures.md index 240feb666d..b12e5ab7dd 100644 --- a/docs/user/Architectures.md +++ b/docs/user/Architectures.md @@ -54,6 +54,7 @@ The vast majority of Eden's testing is done on Windows, Linux, and Android. Howe - FreeBSD - OpenBSD +- NetBSD - OpenIndiana (Solaris) - macOS @@ -127,6 +128,6 @@ AMD GPU support on these platforms is limited or nonexistent. ## VMs -Eden "can" run in a VM, but only with the software renderer, *unless* you create a hardware-accelerated KVM with GPU passthrough. If you *really* want to do this and don't have a spare GPU lying around, RX 570 and 580 GPUs are extremely cheap on the black market and are powerful enough to run most commercial games at 60fps. +Eden "can" run in a VM, but only with the software renderer, *unless* you create a hardware-accelerated KVM with GPU passthrough. If you *really* want to do this and don't have a spare GPU lying around, RX 570 and 580 GPUs are extremely cheap on the black market and are powerful enough to run most commercial games at 60 FPS. Some users and developers have had success using a pure OpenGL-accelerated KVM on Linux with a Windows VM, but this is ridiculously tedious to set up. You're probably better off dual-booting. \ No newline at end of file