From ab22a9210acfb3fbdec336a50debd6f1168f1598 Mon Sep 17 00:00:00 2001 From: Bo-Ru Ju Date: Sat, 20 Jul 2024 10:50:50 +0800 Subject: [PATCH] Remove XBPS coroutine section --- docpages/install/install-void-xbps.md | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/docpages/install/install-void-xbps.md b/docpages/install/install-void-xbps.md index a68c09714d..893fa02298 100644 --- a/docpages/install/install-void-xbps.md +++ b/docpages/install/install-void-xbps.md @@ -16,28 +16,3 @@ g++ mybot.cpp -o mybot -ldpp ``` \include{doc} install_prebuilt_footer.dox - -To build D++ with coroutine support as an XBPS package, follow the steps below. Ensure that [xbps-src is set up](https://github.com/void-linux/void-packages?tab=readme-ov-file#quick-start) beforehand: - -```bash -# Inside the void-packages root folder -git checkout master && git pull -# Modifies the configure arguments to include coroutine support (-DDPP_CORO=ON) -grep -q 'configure_args=.*-DDPP_CORO=ON' srcpkgs/dpp/template || sed -i -e 's/\(configure_args="[^"]*\)"/\1 -DDPP_CORO=ON"/' srcpkgs/dpp/template -./xbps-src -K pkg dpp -``` - -Then as root: -```bash -# Inside the void-packages root folder -xbps-install --repository hostdir/binpkgs dpp-devel -``` - -This will do the following three things: -- Update the void-packages repository to the latest commit on master -- Patch the template file of D++ to enable coroutine support -- Build an XBPS package for D++ and install it - -\note Cloning the void-packages repository may take some time - -\include{doc} coro_warn.dox