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

[GSoC] Build llvm tools #6531

Merged
merged 2 commits into from
Jun 27, 2017
Merged

[GSoC] Build llvm tools #6531

merged 2 commits into from
Jun 27, 2017

Conversation

coodie
Copy link
Contributor

@coodie coodie commented Jun 23, 2017

This branch is supposed to add llvm tools to chapel building. By tools I mean commands like llvm-dis, opt. Couple of other useful tools (which are definitely going to be useful for testing) like FileCheck should be built and installed as well.

I can't see easy and standard way of adding only specified tools. Makefile generated by llvm's CMake contains targets like install-FileCheck, and we could use them to build only the necessary tools, but I feel this is a little bit hacky solution and makes build system harder to maintain.

I think one good idea might be adding llvm directory to utils and move some of tools there, so that the tools are easier to use in tests for example.

I'd be glad if someone offered a little bit help with this because testing these changes (making sure that proper tools get built and installed) takes a lot of time on my computer as I have to rebuild chapel to make sure everything works (still not sure about this).

@mppf
Copy link
Member

mppf commented Jun 23, 2017

I've verified that the configure-based LLVM build builds & installs these tools already.

@mppf
Copy link
Member

mppf commented Jun 23, 2017

I've verified that a cmake-based build builds & installs FileCheck and llvm-dis

@mppf
Copy link
Member

mppf commented Jun 23, 2017

Passed full local testing.

  • full local CHPL_LLVM=llvm testing
  • full local --llvm testing

@mppf mppf merged commit 8dedc69 into chapel-lang:master Jun 27, 2017
@coodie coodie changed the title Build llvm tools [GSoC] Build llvm tools Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants