Enable tarball-tag flag to build cling using LLVM binary release.

Fixes Cling's nightly releases
This commit is contained in:
Pratyush Das 2019-12-24 18:04:20 +05:30 committed by SFT
parent bd0b61528c
commit 82e662096c

View File

@ -2437,8 +2437,14 @@ if args['tarball_tag']:
"https://raw.githubusercontent.com/root-project/cling/%s/LastKnownGoodLLVMSVNRevision.txt" % args[
'tarball_tag']).readline().strip().decode(
'utf-8')
fetch_llvm(llvm_revision)
fetch_clang(llvm_revision)
if is_llvm_binary_compatible() and args["with_binary_llvm"]:
compile = compile_for_binary
install_prefix = install_prefix_for_binary
fetch_clang(llvm_revision)
allow_clang_tool()
else:
fetch_llvm(llvm_revision)
fetch_clang(llvm_revision)
fetch_cling(args['tarball_tag'])
set_version()
@ -2455,6 +2461,8 @@ if args['tarball_tag']:
install_prefix()
if not args['no_test']:
if is_llvm_binary_compatible() and args['with_binary_llvm']:
build_filecheck()
test_cling()
tarball()
cleanup()