Closed ssalonen closed 2 years ago
Can confirm that I ran into this when trying to build libcec-sys locally and assumed it was my machine but seems to be general.
thanks @coral. I will try to see if updating the docker images would help.
Hopefully resolved via https://github.com/ssalonen/libcec-sys/pull/6
We can close this issue once downstream library build succeeds.
Bug description
libcec-sys compilation seems to fail, as indicated in downstream library https://github.com/ssalonen/cec-rs/pull/12
It seems that
--parallel
flag is not accepted by thecmake
version used in thecross
build.In cmake 3.12, the
--parallel
flag was introduced. It looks likecmake
crate (which is used inbuild.rs
) started to use this new flag in https://github.com/alexcrichton/cmake-rs/pull/123.The error is probably due to too old
cmake
version.Indeed, builds use docker images based on cross 0.1.16, which uses cmake 3.5.1 https://github.com/rust-embedded/cross/blob/v0.1.16/docker/cmake.sh#L4
To Reproduce
Expected behavior
Screenshots
Environment
Additional context