Skip to content

Commit

Permalink
pythia8: patch latest 8.311 for upstream bug (#43803)
Browse files Browse the repository at this point in the history
* pythia8: prefer 8.310

* [@spackbot] updating style on behalf of wdconinc

* pythia8: filter_file to remove sed n

* Revert "[@spackbot] updating style on behalf of wdconinc"

This reverts commit e2a3dec.

* Revert "pythia8: prefer 8.310"

This reverts commit 568cb05.

* [@spackbot] updating style on behalf of wdconinc

* pythia8: comment for fix

* pythia8: fix style

* pythia8: filter_file with raw string because of escaped pipe

---------

Co-authored-by: wdconinc <wdconinc@users.noreply.github.com>
  • Loading branch information
wdconinc and wdconinc committed May 17, 2024
1 parent 5e38310 commit 6be28aa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions var/spack/repos/builtin/packages/pythia8/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ def setup_cxxstd(self):
r"-std=c\+\+[0-9][0-9]", f"-std=c++{self.spec.variants['cxxstd'].value}", "configure"
)

# Fix for https://gitlab.com/Pythia8/releases/-/issues/428
@when("@:8.311")
def patch(self):
filter_file(
r"[/]examples[/]Makefile[.]inc\|;n' \\", "/examples/Makefile.inc|' \\", "configure"
)

def configure_args(self):
args = []

Expand Down

0 comments on commit 6be28aa

Please sign in to comment.