paraview: patch catalyst etc. to build with oneapi#33562
paraview: patch catalyst etc. to build with oneapi#33562alalazo merged 1 commit intospack:developfrom
Conversation
2e071c0 to
5c698ce
Compare
vicentebolea
left a comment
There was a problem hiding this comment.
Thanks for the contribution, this is indeed helpful.
Find the requested changes and please file the same changes upstream at https://github.com/fmtlib/fmt
| isinf ? (fspecs.upper ? "INF" : "inf") : (fspecs.upper ? "NAN" : "nan"); | ||
| constexpr size_t str_size = 3; | ||
| - auto sign = fspecs.sign; | ||
| + auto sign = (uint)fspecs.sign; |
There was a problem hiding this comment.
Please change (uint) -> static_cast<unsigned int>() for wider portability
| int significand_size = get_significand_size(fp); | ||
| static const Char zero = static_cast<Char>('0'); | ||
| - auto sign = fspecs.sign; | ||
| + auto sign = (uint)fspecs.sign; |
| isinf ? (fspecs.upper ? "INF" : "inf") : (fspecs.upper ? "NAN" : "nan"); | ||
| constexpr size_t str_size = 3; | ||
| - auto sign = fspecs.sign; | ||
| + auto sign = (uint)fspecs.sign; |
| int significand_size = get_significand_size(fp); | ||
| static const Char zero = static_cast<Char>('0'); | ||
| - auto sign = fspecs.sign; | ||
| + auto sign = (uint)fspecs.sign; |
5c698ce to
57aa83f
Compare
|
the patch doesn't work on head of master on https://github.com/fmtlib/fmt namely doesn't compile. |
|
I see, the current master of fmt has changed so that this does not apply anymore. @hppritcha could you share the spec invocation where you observed the error so that I can replicate this. Thanks! |
|
==> Concretized paraview%[email protected] ^perl%gcc ^[email protected] ^rust%gcc |
|
@hppritcha I cannot replicate the error but I used oneapi2022 (not 23) and perhaps a different GCC version. One thing that I can state is that it does not break the build and it only applies to oneapi builds for 5.10.0-1. As the author noticed, this is not a problem in ParaView > 5.10.1 since Catalyst is not included in PAraView Source Code Dist anymore. |
|
@hppritcha it has been a while please rebase to kick off the CI. |
There was a problem hiding this comment.
@vicentebolea Because you approved and requested a re-run of the pipeline by a rebase, I've merged the changes from develop to do this.
(spack maintainers have a button for this from github which works fine),
should @hppritcha still want to make a rebase, but github will do I when it squashes and rebases automatically for the merge into develop, so it should be taken care of by github after CI has passed again.
I will also enable auto-rebase & merge to develop since as far as I can see you approved this PR.
@hppritcha @vicentebolea In case the gitlab-ci CI action fails for some unrelated spurious reason, please ping @bernhardkaindl with a comment (or in case I miss your ping, other reviewers/maintainers)
|
@hppritcha please rebase again to re-trigger the CI. |
without this patch, build of paraview has a meltdown when reaching 3rd party catalyst and other packages
with these types of errors:
335 /tmp/foo/spack-stage/spack-stage-paraview-5.10.1-gscoqxhhakjyyfirdefuhmi2bzw4scho/spack-src/VTK/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:1732:11: error: cannot capture a bi
t-field by reference
336 if (sign) *it++ = static_cast<Char>(data::signs[sign]);
337 ^
Signed-off-by: Howard Pritchard <[email protected]>
Head branch was pushed to by a user without write access
1502572
e85f44a to
1502572
Compare
|
@vicentebolea rebased |
without this patch, build of paraview has a meltdown when reaching 3rd party catalyst and other packages
with these types of errors:
335 /tmp/foo/spack-stage/spack-stage-paraview-5.10.1-gscoqxhhakjyyfirdefuhmi2bzw4scho/spack-src/VTK/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:1732:11: error: cannot capture a bi
t-field by reference
336 if (sign) *it++ = static_cast<Char>(data::signs[sign]);
337 ^
Signed-off-by: Howard Pritchard <[email protected]>
Signed-off-by: Howard Pritchard <[email protected]>
without this patch, build of paraview has a meltdown when reaching 3rd party catalyst and other packages
with these types of errors:
335 /tmp/foo/spack-stage/spack-stage-paraview-5.10.1-gscoqxhhakjyyfirdefuhmi2bzw4scho/spack-src/VTK/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:1732:11: error: cannot capture a bi
t-field by reference
336 if (sign) *it++ = static_cast<Char>(data::signs[sign]);
337 ^
Signed-off-by: Howard Pritchard <[email protected]>
Signed-off-by: Howard Pritchard <[email protected]>
without this patch, build of paraview has a meltdown when reaching 3rd party catalyst and other packages
with these types of errors:
335 /tmp/foo/spack-stage/spack-stage-paraview-5.10.1-gscoqxhhakjyyfirdefuhmi2bzw4scho/spack-src/VTK/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:1732:11: error: cannot capture a bi
t-field by reference
336 if (sign) *it++ = static_cast<Char>(data::signs[sign]);
337 ^
Signed-off-by: Howard Pritchard <[email protected]>
Signed-off-by: Howard Pritchard <[email protected]>
without this patch, build of paraview has a meltdown when reaching 3rd party catalyst and other packages
with these types of errors:
335 /tmp/foo/spack-stage/spack-stage-paraview-5.10.1-gscoqxhhakjyyfirdefuhmi2bzw4scho/spack-src/VTK/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:1732:11: error: cannot capture a bi
t-field by reference
336 if (sign) *it++ = static_cast<Char>(data::signs[sign]);
337 ^
Signed-off-by: Howard Pritchard <[email protected]>
Signed-off-by: Howard Pritchard <[email protected]>
without this patch, build of paraview has a meltdown when reaching 3rd party catalyst and other packages with these types of errors:
335 /tmp/foo/spack-stage/spack-stage-paraview-5.10.1-gscoqxhhakjyyfirdefuhmi2bzw4scho/spack-src/VTK/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:1732:11: error: cannot capture a bi
t-field by reference
336 if (sign) *it++ = static_cast(data::signs[sign]);
337 ^
Signed-off-by: Howard Pritchard [email protected]