From 73fd0457182f141b3785bb428823b9a39227fdef Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 12 Mar 2016 14:09:18 +0000 Subject: [PATCH] if cmake is installed in /tmp/cmake/ uses it Used to build llvm on old ubuntu (precise) on the llvm.org/apt/ ci --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index f2b0cf02..871da75e 100755 --- a/debian/rules +++ b/debian/rules @@ -199,6 +199,12 @@ override_dh_auto_configure: preconfigure rm -fr tools/clang/tools/extra cp -R -H clang-tools-extra tools/clang/tools/extra + # if cmake is installed in /tmp/cmake/ uses it + # Used to build llvm on old ubuntu (precise) on the llvm.org/apt/ ci + if test -d /tmp/cmake/bin/; then \ + export PATH=$$PATH:/tmp/cmake/bin; \ + fi + # TODO(axw) specify build type for CMake # TODO(axw) pass compiler flags, etc.