Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Apr 28, 2020

fix for problem reported by @arielzn in https://sft.its.cern.ch/jira/browse/ROOT-10634 when building ROOT 6.20.04 with foss/2019b, where header files of LLVM 9.0.0 that is loaded as a dep for Mesa 19.1.7 (a direct dep for ROOT) are picked up, leading to errors like:

/tmp/root-6.20.04/interpreter/llvm/src/tools/clang/include/clang/Sema/Ownership.h:123:10: error: 'isPodLike' is not a class template
--
struct isPodLike<clang::OpaquePtr<T> > { static const bool value = true; }
;
^~~~~~~~~
/tmp/root-6.20.04/interpreter/llvm/src/tools/clang/include/clang/Sema/Ownership.h:123:40: error: 'llvm::isPodLike' is not a template
struct isPodLike<clang::OpaquePtr<T> >
{ static const bool value = true; };


@boegel boegel added the bug fix label Apr 28, 2020
@boegel boegel added this to the next release (4.2.1?) milestone Apr 28, 2020
@boegel boegel changed the title clean $CPATH before building ROOT to avoid clash between external LLV… clean $CPATH before building ROOT to avoid clash between external LLVM loaded as a dependency and internal LLVM used by ROOT Apr 28, 2020
@boegel
Copy link
Member Author

boegel commented Apr 28, 2020

Also tested with existing easyconfig ROOT-6.14.06-foss-2018b-Python-3.6.6.eb, should be good to go...

@boegel boegel requested a review from akesandgren April 28, 2020 19:04
Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

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

LGTM

@akesandgren
Copy link
Contributor

Going in, thanks @boegel!

@akesandgren akesandgren merged commit bce771e into easybuilders:develop May 4, 2020
@boegel boegel deleted the ROOT_clean_CPATH branch May 4, 2020 17:15
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.

2 participants