From e1a7c24ecd52b04107eb341cf8896bd6ea0468ee Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Mon, 1 Dec 2025 23:00:21 +0000 Subject: [PATCH] docker: Improved build times by disabling unnecessary libraries This can definitely be further improved, as there are Citra components which are also built unnecessarily, but that would require invasive CMake changes which are out of scope for this PR. --- docker/azahar-room/Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docker/azahar-room/Dockerfile b/docker/azahar-room/Dockerfile index 7b0f5c844..27ff65357 100644 --- a/docker/azahar-room/Dockerfile +++ b/docker/azahar-room/Dockerfile @@ -7,7 +7,16 @@ FROM opensauce04/azahar-build-environment:latest AS builder COPY . /var/azahar-src RUN mkdir builddir && cd builddir && \ - cmake /var/azahar-src -DENABLE_QT=OFF -DENABLE_TESTS=OFF -DENABLE_ROOM=ON -DENABLE_ROOM_STANDALONE=ON && \ + cmake /var/azahar-src -DENABLE_QT=OFF \ + -DENABLE_TESTS=OFF \ + -DENABLE_ROOM=ON \ + -DENABLE_ROOM_STANDALONE=ON \ + -DENABLE_OPENGL=OFF $(:"TODO: Can we disable these automatically when there's no frontend?") \ + -DENABLE_VULKAN=OFF \ + -DENABLE_SDL2=OFF \ + -DENABLE_LIBUSB=OFF \ + -DENABLE_CUBEB=OFF \ + -DENABLE_OPENAL=OFF && \ cmake --build . -j$(nproc) && \ mv bin/Release/azahar-room /usr/local/bin/ && \ cd .. && rm -rf builddir