Skip to content
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

Fix PETSc version detection #7203

Merged
merged 1 commit into from Sep 17, 2018
Merged

Fix PETSc version detection #7203

merged 1 commit into from Sep 17, 2018

Conversation

finkandreas
Copy link

petsc version 3.10 works now too (minor version was found by the regexp as "0" and not "10")

regexps are greedy, i.e. you need to add an explicit whitespace, otherwise everything but the last digit will be matched by .* between PETSC_VERSION_MINOR and [0-9]+ (the current git master of petsc defines PETSC_VERSION_MINOR to 10)

@bangerth
Copy link
Member

/run-tests

Copy link
Member

@drwells drwells left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@masterleinad
Copy link
Member

Let's rebase and restart the tester.

@bangerth bangerth changed the title *fix* Fix PETSc version detection Sep 17, 2018
@masterleinad masterleinad merged commit c6b7876 into dealii:master Sep 17, 2018
tamiko added a commit to tamiko/dealii that referenced this pull request Oct 1, 2018
Similarly to what was fixed in dealii#7203, fix the regex to also pick up two
(or more digit) version numbers correctly.
drwells pushed a commit to drwells/dealii that referenced this pull request Oct 3, 2018
Similarly to what was fixed in dealii#7203, fix the regex to also pick up two
(or more digit) version numbers correctly.
marcfehling pushed a commit to marcfehling/dealii that referenced this pull request Oct 3, 2018
Similarly to what was fixed in dealii#7203, fix the regex to also pick up two
(or more digit) version numbers correctly.
masterleinad pushed a commit to masterleinad/dealii that referenced this pull request Oct 5, 2018
Similarly to what was fixed in dealii#7203, fix the regex to also pick up two
(or more digit) version numbers correctly.
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.

None yet

4 participants