Requirement:
All dev requirements (DevRequirement) and:
- libncursesw5
- Clang / LLVM (all dev tools)
- libomp5
- libc++-dev
- libclang-dev
- ...
Installation example (ubuntu)
Source: https://apt.llvm.org
sudo apt update
sudo apt install libncursesw5 libpthread-stubs0-dev
sudo apt install clang-format clang-tidy clang-tools clang clangd libc++-dev libc++1 libc++abi-dev libc++abi1 libclang-dev libclang1 liblldb-dev libllvm-ocaml-dev libomp-dev libomp5 lld lldb llvm-dev llvm-runtime llvm python-clang
OR
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
# libclang-13-dev
WARNING It may fail or somme dependency are not include (during pdic build or runtime) . Prefer the first command instead.
python3 setup.py build -G "Unix Makefiles"
python3 setup.py bdist_wheel -G "Unix Makefiles" -j `nproc`
python3 setup.py build_ext -G "Unix Makefiles" --inplace -j `nproc`
pytest
pdoc3 pdic --http 0.0.0.0:8888
# Or
pdoc3 pdic --html