Commit 6dde01e
committed
[core] Warn if auto-determined RootSys differs from
Example of how the warning looks like if it happens:
```txt
[I] omen nix-shell ~/c/r/root_build > ROOTSYS=/home/rembserj/ ./bin/root
Warning in <TROOT>: ROOTSYS is set but inconsistent with detected ROOT installation:
ROOTSYS=/home/rembserj/
Detected=/home/rembserj/code/root/root_build
ROOT will use the detected installation.
------------------------------------------------------------------
| Welcome to ROOT 6.41.01 https://root.cern |
| (c) 1995-2025, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jan 01 1980, 00:00:00 |
| From heads/ignoreprefix@v6-99-99-368-gd1d33ba04be |
| With clang version 21.1.8 std202002 |
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0]
```ROOTSYS env var1 parent 40c9ae3 commit 6dde01e
1 file changed
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
786 | 820 | | |
787 | 821 | | |
788 | 822 | | |
| |||
839 | 873 | | |
840 | 874 | | |
841 | 875 | | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
842 | 880 | | |
843 | 881 | | |
844 | 882 | | |
| |||
0 commit comments