Skip to contentSkip to conversation

Revert "dependencies/cmake: blacklist cmake 3.7"

PATCH New Yann E. MORIN 2 participants 2 messages Mar 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "dependencies/cmake: blacklist cmake 3.7"

This reverts commit 4422eca2d418e2b817b419ff6c4c62f7f4cb7871.

We now have a workaround for the RPATH issue introduced in 3.7, so we can use it again.

---
 support/dependencies/check-host-cmake.sh | 8 --------
 1 file changed, 8 deletions(-)
support/dependencies/check-host-cmake.sh +0 -8
index 84c26c2..9b63b06 100755
@@ -6,9 +6,6 @@ version_min="${2}"
 major_min="${version_min%.*}"
 minor_min="${version_min#*.}"
 
-# cmake-3.7 incorrectly handles rpath, linking to host libraries
-blacklist_version="3.7"
-
 cmake=`which ${candidate}`
 if [ ! -x "${cmake}" ]; then
     # echo nothing: no suitable cmake found
@@ -30,11 +27,6 @@ version="$(${cmake} --version \
 major="${version%.*}"
 minor="${version#*.}"
 
-if [ "${version}" = "${blacklist_version}" ]; then
-    # echo nothing: no suitable cmake found
-    exit 1
-fi
-
 if [ ${major} -gt ${major_min} ]; then
     echo "${cmake}"
 else
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 Revert "dependencies/cmake: blacklist cmake 3.7"

Hello,

Quoted 9 lines · Yann E. MORIN

This reverts commit 4422eca2d418e2b817b419ff6c4c62f7f4cb7871.

We now have a workaround for the RPATH issue introduced in 3.7, so we can use it again.

---
 support/dependencies/check-host-cmake.sh | 8 --------
 1 file changed, 8 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com