commit 0de8fd2b1f41fea71cf9d65677ecda74b5fe020f Author: Tirsvad Date: Mon Oct 19 19:34:23 2026 +0200 Publish wiki from the repository diff --git a/Build-and-Run.md b/Build-and-Run.md new file mode 100644 index 0000000..6535a6e --- /dev/null +++ b/Build-and-Run.md @@ -0,0 +1,24 @@ +# Build and run + +**English** + +The `Makefile` is in the repository root and puts the executable in `dist/`. +It needs `gcc` (Linux, or MinGW-w64 / MSYS2 on Windows) and a CPU with AVX2. + +```bash +make +``` + +```bash +make run +``` + +```bash +make clean +``` + +To save the primes and still see the time, redirect only standard output: + +```bash +./dist/prime_avx2 > primes.txt +```