stack-of-tasks / pinocchio

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
http://stack-of-tasks.github.io/pinocchio/
BSD 2-Clause "Simplified" License
1.83k stars 383 forks source link

fix windows ci #2400

Closed fabinsch closed 1 month ago

fabinsch commented 1 month ago

On Windows, ensure proper handling of both cl.exe and clang-cl.exe. Previously, our setup did not use clang-cl.exe.

ManifoldFR commented 1 month ago

clang-cl doesn't seem to like some boost::archive stuff

jcarpent commented 1 month ago

clang-cl doesn't seem to like some boost::archive stuff

Indeed, this is related to a current issue on conda-forge that @fabinsch is now fixing :)

fabinsch commented 1 month ago

Similar to our conda-feedstock, we now get a linker error on Windows with clang-cl.

Not setting the CMP0167 policy, e.g. removing this commit, results in a lot of warning but allows to compile and link on windows with clang-cl.

jcarpent commented 1 month ago

@fabinsch could you push your fix here?