Skip to content

package/cmake: re-introduce cmake-3.7

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/5] package/cmake: re-introduce cmake-3.7

Thomas, All,

On 2017-03-02 09:41 +0100, Thomas Petazzoni spake thusly:

Quoted 13 lines · Thomas Petazzoni
Quoted 12 lines
Quoted 11 lines

Thomas Petazzoni (1):
cmake: adjust dependencies added for libuv

Vicente Olivert Riera (3):
cmake: bump version to 3.7.0
cmake: bump version to 3.7.1
cmake: bump version to 3.7.2

Yann E. MORIN (1):
core/pkg-cmake: provide our own platform description

Quoted 7 lines
Quoted 1 line

All applied to master. Thanks!

Well, it seems like this introduced some issues.

Look for example at:

http://autobuild.buildroot.net/?reason=paho-mqtt-c-v1.1.0

This package is wrong: it checks the system type to decide whether it should link with -ldld or not:

https://github.com/eclipse/paho.mqtt.c/blob/master/src/CMakeLists.txt#L50

This is stupid.

Instead, it should check if the lib is needed or not, and available or mot, like any other lib, and then decide to fail or deactivate features.

Quoted 2 lines

The fastd problems could also be related, but I haven't checked, see
http://autobuild.buildroot.net/?reason=fastd-18.

Similarly broken:

https://git.universe-factory.net/fastd/tree/cmake/config.cmake#n1
https://git.universe-factory.net/fastd/tree/cmake/config.cmake#n14

I'll try a hack on it, by adding:

# Impersonate the Linux system, which we really are in fact... set(CMAKE_SYSTEM_NAME Linux)

in Buildroot.cmake and see if that fixes the build....

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'