rtags.rcp: optionally use RTAGS_NO_BUILD_CLANG

Rtags has introduced a new cmake build option RTAGS_NO_BUILD_CLANG,
which is turned off by default (that is, clang will be downloaded and
built locally).  Without this option, it takes a lot of time to build,
since LLVM and clang are really large.

Fixes #2427.
This commit is contained in:
Noam Postavsky 2016-08-15 19:19:58 -04:00
parent 76a7f29b4b
commit 7065a71140

View File

@ -3,7 +3,9 @@
:type github
:website "https://github.com/Andersbakken/rtags"
:pkgname "Andersbakken/rtags"
:build `(("cmake" ".")
;; Set `el-get-rtags-no-build-clang' to non-nil before
;; install/update in order to avoid building clang.
:build `(("cmake" ,@(if el-get-rtags-no-build-clang '("-DRTAGS_NO_BUILD_CLANG=1")) ".")
("make" ,@el-get-parallel-make-args))
:compile "src"
:load-path "src"