From 4bba2136513b16e23e8238fc917b17fb33df54c5 Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Sat, 20 Apr 2024 11:01:48 -0500 Subject: [PATCH] Some simple build instructions (#39) --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index cd8e37f..2c8dab6 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,19 @@ Other parameters: Feeding an objdump via stdin into asm-parser: `objdump --d a.out -l --insn-width=16 | asm-parser -stdin -binary` + +### Building locally + +You'll need: +- conan 1.59.0 - install this in your preferred way, e.g. `pip install conan==1.59.0` or equivalent +- `gcc` 12 or similar (or hack your settings to support your compiler) + +Then you can +``` +$ mkdir build +$ cd build +$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER= +$ make -j$(nproc) +$ make test +``` +