From b21e069243539fe5dc3ca80a617a553ad10e5b9a Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 9 Apr 2025 00:11:37 +0200 Subject: [PATCH] Docs: adding a command to know if the system is compatible with the standard builds --- docs/advanced/builds/nowasm.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/advanced/builds/nowasm.md b/docs/advanced/builds/nowasm.md index b89a8e22b..b2aa07acd 100644 --- a/docs/advanced/builds/nowasm.md +++ b/docs/advanced/builds/nowasm.md @@ -15,6 +15,10 @@ However! To enable folks to run **experimental, unsupported deployments of GoToS A GoToSocial binary built with `nowasm` will use the [modernc version of SQLite](https://pkg.go.dev/modernc.org/sqlite) instead of the WASM one, and will use on-system `ffmpeg` and `ffprobe` binaries for media processing. +!!! tip + To test if your system is compatible with the standard builds, you can use this command: + `if grep -qE '^flags.* (sse4|LSE)' /proc/cpuinfo; then echo "Your system is supporting GTS!"; else echo "Your system is not supporting GTS, you'll have to use the 'nowasm' builds :("; fi` + To build GoToSocial with the `nowasm` tag, you can pass the tag into our convenience `build.sh` script like so: ```bash