if cmake is installed in /tmp/cmake/ uses it

Used to build llvm on old ubuntu (precise) on the llvm.org/apt/ ci
This commit is contained in:
Sylvestre Ledru 2016-03-12 14:09:18 +00:00
parent 0890d6fe74
commit 73fd045718

6
debian/rules vendored
View File

@ -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.