Skip to content

stl_makeproject_test: Add dependency on Hist (if available)#810

Merged
hahnjo merged 1 commit intoroot-project:masterfrom
hahnjo:depend-Hist
Jan 26, 2022
Merged

stl_makeproject_test: Add dependency on Hist (if available)#810
hahnjo merged 1 commit intoroot-project:masterfrom
hahnjo:depend-Hist

Conversation

@hahnjo
Copy link
Copy Markdown
Member

@hahnjo hahnjo commented Jan 25, 2022

This resolves issues with in-tree builds of roottest where the build system would try to generate the dictionary before Hist is built and then fails because TH1D.h is included, but Hist.pcm not specified as a by-product.

Closes root-project/root#9600

This resolves issues with in-tree builds of roottest where the build
system would try to generate the dictionary before Hist is built and
then fails because TH1D.h is included, but Hist.pcm not specified as
a by-product.

Closes root-project/root#9600
@hahnjo hahnjo requested review from bellenot and pcanal January 25, 2022 14:54
@hahnjo hahnjo self-assigned this Jan 25, 2022
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1015/python3, mac11/cxx17, windows10/cxx14
How to customize builds

Copy link
Copy Markdown
Member

@bellenot bellenot left a comment

Choose a reason for hiding this comment

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

Fine with me if @pcanal agrees. But how does it work outside then? How is the dependency on Hist resolved? Because I suppose the header still includes TH1D?

@hahnjo
Copy link
Copy Markdown
Member Author

hahnjo commented Jan 25, 2022

But how does it work outside then? How is the dependency on Hist resolved? Because I suppose the header still includes TH1D?

In case of an out-of-tree build, we can rely that ROOT has been fully built, so we don't need a dependency.

@bellenot
Copy link
Copy Markdown
Member

Oh, OK, I see (I forgot about modules)

@hahnjo hahnjo merged commit 2c1b7cd into root-project:master Jan 26, 2022
@hahnjo hahnjo deleted the depend-Hist branch January 26, 2022 07:04
@bellenot
Copy link
Copy Markdown
Member

Thanks @hahnjo !

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.

Missing dependency when building roottest as part of ROOT.

4 participants