Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cling-cpt] Added some more fixes to the download_llvm_binary function [skip-ci] #11098

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

saisoma123
Copy link
Contributor

This Pull request: Improves the download_llvm_binary function

Changes or fixes: Added LLVM 13 support, fixed the binary flags, and fixed the llvm_config_path and llvm_dir

Checklist:

  • tested changes locally
  • [NA] updated the docs (if necessary)

This PR fixes #406 mentioned in meta issue list (root-project/cling#406)

@phsft-bot
Copy link
Collaborator

Can one of the admins verify this patch?

download_link = 'http://releases.llvm.org/5.0.2/clang+llvm-5.0.2-x86_64-linux-gnu-ubuntu-16.04.tar.xz'
if DIST == "Ubuntu" and REV == '20.04' and is_os_64bit():
download_link = 'https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz'
exec_subprocess_call('wget %s' % download_link, workdir)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't we replace the subprocess calls to the proper wget analog in python? Can that be moved to it as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vgvassilev Yeah just fixed it thank you

@vgvassilev
Copy link
Member

Can you rebase this PR the commits seem odd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants