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

ROOT (really llvm) polutes CXX with clang++ despite everything built with GCC #15

Open
brettviren opened this issue Jun 4, 2024 · 0 comments

Comments

@brettviren
Copy link
Member

$ echo $CXX
$ spack load root
$ echo $CXX
/wcwc/spack/local/opt/spack/linux-debian12-haswell/gcc-12.2.0/llvm-17.0.6-34sidf3oyyyrsz47uyhhpp3d72rl3ewn/bin/clang++
$ ls -l (which root)
-rwxr-xr-x 1 bviren bviren 52672 Jun  3 19:01 /wcwc/spack/local/opt/spack/linux-debian12-haswell/gcc-12.2.0/root-6.30.06-a3mgusydgufcmvsl6e5cqyaajbivef6q/bin/root

The culprit is actually llvm. According to spack spec root this is the dependency path:

root->glx->mesa->llvm

I think glx and mesa come in by root depending on "opengl".

OTOH, ROOT has a builtin_llvm definition that defaults to True.

So, actually I guess TWO copies of llvm are getting built including the one external from ROOT which is causing the CXX abuse.

I think the best is for WCT to build against +root~opengl though that may mean some 3D ROOT views are no longer possible.

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

No branches or pull requests

1 participant