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

26 escape.git.version.string #27

Merged
merged 3 commits into from
Nov 12, 2019
Merged

26 escape.git.version.string #27

merged 3 commits into from
Nov 12, 2019

Conversation

underwoo
Copy link
Member

Escape the quotes in the call to git-version-string in mkmf.

Update mkmf version number.

fixes #26.

Gfortran on Mac OS X does not add the __APPLE__ macro.  Updated the two Mac OS X templates to add this macro definition to the the Fortran preprocessor flags.
Update the `-g` option to escape the double quote (`"`) in `mkmf` around 
the call to `git-version-string`.  This is to resolve the quote 
expansion of certain MPI compiler wrappers.
The test for the git version string needed to be updated to match the update in mkmf to escape the string.
@underwoo underwoo merged commit 1a60b1a into NOAA-GFDL:master Nov 12, 2019
ceblanton pushed a commit to ceblanton/mkmf that referenced this pull request Feb 7, 2020
This reverts commit 1a60b1a.

Revert the update to `mkmf -g` option that escaped the double quotes
around the call to `git-version-string`. The reason is that
this update causes some compiler wrappers to have quoting problems (NOAA-GFDL#33)
that resulted in `git-version-string`'s output not being quoted as needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not all MPI compiler wrappers pass quotes the same
1 participant