Skip to content

Updates to casacore package#14552

Merged
adamjstewart merged 6 commits intospack:developfrom
mpokorny:casacore
Jan 18, 2020
Merged

Updates to casacore package#14552
adamjstewart merged 6 commits intospack:developfrom
mpokorny:casacore

Conversation

@mpokorny
Copy link
Copy Markdown
Contributor

My first Spack PR. I tried to meet the guidelines, but it is unclear whether you'd prefer this broken into multiple PRs, one per commit. Happy to resubmit, if needed.

Note that I have contributed to the upstream casacore package in the past, and I'm currently working on fixes to issues in the casacore build for which I've put in place workarounds in this PR. I hope to be able to follow up with another PR for the casacore package once the upstream is fixed.

casacore optionally depends upon readline, but it's CMakeLists.txt provides no
user control over whether or not readline becomes a dependency. As readline is
often present by default on systems, it's better for this package to explicitly
depend on readline in order to prevent linking to whatever system version of the
library happens to be found during the build process. This should be considered
a workaround until casacore's CMakeLists.txt is fixed.
Similar to the issues with casacore's readline dependency, casacore's optional
dependency on SOFA does not provide the user with a means of controlling the
dependency during build time. Unlike the readline library, the SOFA library is
unlikely to exist on most systems by default. As the SOFA dependency is only
optionally used for testing casacore, requiring it by default is not a good
workaround. Until casacore's CMakeLists.txt is fixed, this variant has been
removed to avoid unexpected library dependencies in the installed package.
@adamjstewart adamjstewart merged commit cacd57d into spack:develop Jan 18, 2020
@mpokorny mpokorny deleted the casacore branch January 21, 2020 15:23
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.

2 participants