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

Improve cpt a few different ways #467

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeaye
Copy link

@jeaye jeaye commented Sep 23, 2022

  1. Add support for different cling/clang/llvm repos
  2. Add support for different branches for cling/clang/llvm
  3. Add support for allowing "dirty" builds, which is necessary for anyone trying to use cpt to develop cling without losing changes with each build

With these changes, it's now possible to do something like this:

$ ./cpt.py --create-dev-env=Debug \
           --with-workdir=./cling-build/ \
           --allow-dirty \
           --with-llvm-url="https://github.com/jeaye/llvm" \
           --with-llvm-branch="cling-patches-llvm13" \
           --with-clang-url="https://github.com/vgvassilev/clang" \
           --with-clang-branch="cling-patches-llvm13" \
           --with-cling-url="https://github.com/vgvassilev/cling" \
           --with-cling-branch="cling-patches-llvm13"

1. Add support for different cling/clang/llvm repos
2. Add support for different branches for cling/clang/llvm
3. Add support for allowing "dirty" builds, which is necessary for
   anyone trying to use cpt to develop cling without losing changes with
   each build

With these changes, it's now possible to do something like this:

```bash
$ ./cpt.py --create-dev-env=Debug \
           --with-workdir=./cling-build/ \
           --allow-dirty \
           --with-llvm-url="https://github.com/jeaye/llvm" \
           --with-llvm-branch="cling-patches-llvm13" \
           --with-clang-url="https://github.com/vgvassilev/clang" \
           --with-clang-branch="cling-patches-llvm13" \
           --with-cling-url="https://github.com/vgvassilev/cling" \
           --with-cling-branch="cling-patches-llvm13"
```
@ferdymercury
Copy link
Contributor

This repo is just a mirror, consider moving your PR here instead: https://github.com/root-project/root/pulls (subdirectory interpreter/cling). Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants