Skip to content
Snippets Groups Projects
Commit cfd74401 authored by sdegrande's avatar sdegrande
Browse files

Udpdate CONTRIBUTING instructions to fix ruamel build failure

Currently, the ruamel.yaml package does not compile with clang, due
to new warnings. This prevents to install pre-commit environments.

ruamel.yaml has to be pre-installed, using specific CFLAGS to avoid
the build to fail.
parent 2c8dfa2b
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ Pour assurer de la bonne prise en compte des règles de codage ainsi que de quel
* Installation sous Msys2
```bash
pip install pre-commit
CFLAGS="-Wno-incompatible-function-pointer-types -Wno-incompatible-pointer-types-discards-qualifiers" pip install ruamel.yaml
```
Puis appliquer le patch suivant dans /clang64/lib/python3.11/site-packages (à adapter en fonction de la version courante de Python)\
```diff
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment