From 0de8fd2b1f41fea71cf9d65677ecda74b5fe020f Mon Sep 17 00:00:00 2001 From: Tirsvad Date: Mon, 19 Oct 2026 19:34:23 +0200 Subject: [PATCH] Publish wiki from the repository --- Build-and-Run.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Build-and-Run.md 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 +```