-
Notifications
You must be signed in to change notification settings - Fork 541
Paraview 6 updates #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Paraview 6 updates #192
Changes from all commits
028a6fc
d232c47
96860b3
90ce412
2e70604
37b878c
66d2fa1
4dd769c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -356,9 +356,11 @@ class Openfoam(Package): | |
| variant("scotch", default=True, description="With scotch/ptscotch decomposition") | ||
| variant("zoltan", default=False, description="With zoltan renumbering") | ||
| variant("mgridgen", default=False, description="With mgridgen support") | ||
| variant( | ||
| "paraview", default=False, description="Build paraview plugins and runtime post-processing" | ||
| ) | ||
| # variant( | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @olesenm Are you okay with dropping this variant for now and opening a PR to re-add it? Right now there is something going on in the concretizer that is overly constraining here such that bison cannot be concretized with GCC. As far as I can tell there is nothing wrong in packages but it is currently blocking the release of ParaView 6. |
||
| # "paraview", | ||
| # default=False, | ||
| # description="Build paraview plugins and runtime post-processing", | ||
| # ) | ||
| variant("vtk", default=False, description="With VTK runTimePostProcessing") | ||
| variant( | ||
| "source", default=True, description="Install library/application sources and tutorials" | ||
|
|
@@ -431,9 +433,9 @@ class Openfoam(Package): | |
| # ~/.spack/packages.yaml | ||
|
|
||
| # 1706 ok with newer paraview but avoid pv-5.2, pv-5.3 readers | ||
| depends_on("paraview@5.4:", when="@1706:+paraview") | ||
| # depends_on("paraview@5.4:", when="@1706:+paraview") | ||
| # 1612 plugins need older paraview | ||
| depends_on("paraview@:5.0.1", when="@1612+paraview") | ||
| # depends_on("paraview@:5.0.1", when="@1612+paraview") | ||
|
|
||
| # Icx only support from v2106 onwards | ||
| conflicts("%oneapi", when="@:2012", msg="OneAPI compiler not supported. Try v2106 or greater.") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The root of the issue is the link dep of a build dep is not included in the PKG_CONFIG_PATH variable. It is labeled, oddly, as a runtime only dep. To fix that is going to require a lot more thought as we have to change logic that is buried inside of build environment and my first pass at that was incomplete. This is easier and fixes the most immediate case.
You can still have a case where
glibandglib-bootstrapare both in the deps and the glib-2.0 is always detected as the bootstrap version even if that isn't what is wanted.--
So on my system I have an external package configured also in this stack. This creates a problem with pkg-config search for
glib-2.0finds the wrong glib.When we build the search path for spack we prepend all externals and then all non externals. This way we search the spack built prefixes first, then external prefixes. The external prefix that I have is not excluded and also contains the pkg-config files for all of my system packages. Including an external glib that doesn't satisfy the version constraint for gobject and is the wrong glib I'm general. So appending this package path always results in broken search in a common case.
So to "fix" this case I try to mimic the behavior of the build environment where spack installed packages are listed first, and externals are listed second. This is not a complete fix, but it gets past this common case for now.