Skip to content

trinity: fixing jdk dependency#8140

Merged
adamjstewart merged 1 commit intospack:developfrom
ResearchIT:trinity
May 18, 2018
Merged

trinity: fixing jdk dependency#8140
adamjstewart merged 1 commit intospack:developfrom
ResearchIT:trinity

Conversation

@baberlevi
Copy link
Copy Markdown
Member

due to jdk's goofy version numbers, the minor version parsing seems to break without trailing colon

Also changing to java virtual dependency instead of jdk explicitly

version('2.6.6', 'b7472e98ab36655a6d9296d965471a56')

depends_on("jdk@8")
depends_on("java@8:")
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.

java@8 might actually work, that's how the provides command is written. Does this package only work with Java 8 or will it work with Java 9 too?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I have not tested with java 9, but assume it will probably work

@adamjstewart adamjstewart merged commit e7d5421 into spack:develop May 18, 2018
@baberlevi baberlevi deleted the trinity branch May 18, 2018 12:27
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.

2 participants