Skip to content

Add Caliper 1.7.0 and Gotcha 1.0.2#8572

Merged
adamjstewart merged 4 commits intospack:developfrom
daboehme:caliper170
Jun 27, 2018
Merged

Add Caliper 1.7.0 and Gotcha 1.0.2#8572
adamjstewart merged 4 commits intospack:developfrom
daboehme:caliper170

Conversation

@daboehme
Copy link
Copy Markdown
Contributor

Add new versions of Caliper and Gotcha. Caliper now uses spack-built gotcha instead of downloading its own.

# gotcha doesn't work on Mac
variant('gotcha', default=sys.platform != 'darwin',
description='Enable GOTCHA support')
variant('sampler', default=sys.platform == 'linux2',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

version('master', git='https://github.com/LLNL/Caliper.git')
version('1.7.0', git='https://github.com/LLNL/Caliper.git', tag='v1.7.0')
# version 1.6.0 is broken b/c it downloads the wrong gotcha version
version('1.6.0', git='https://github.com/LLNL/Caliper.git', tag='v1.6.0')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder if we should just remove 1.6.0 from the package if it's broken.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I would agree, but somehow it seems one can't uninstall a version that isn't listed.

variant('sosflow', default=False,
description='Enable SOSflow support')

depends_on('[email protected]:', when='+gotcha')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If 1.6 downloads the wrong gotcha version, why not:

depends_on('gotcha@<something>', when='@:1.6')
depends_on('[email protected]:', when='@1.7:')

?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nevermind, saw the comment on #8558. Just remove 1.6.0 if it downloads its own dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants