-
Notifications
You must be signed in to change notification settings - Fork 51
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
git-version-string adds spaces for uncommitted files #33
Comments
It is more than likely a quoting problem in mkmf. They spaces should work. Please post the compile command line so we can look into this. |
Right- It's a quoting problem. This recent change that added a backslash (fc3ccf8) somehow causes this. It's as if the backslashed double-quote and the single quote from |
The back slashed were added to correct another issue found with mkmf. It might be worth removing this option from mkmf, especially as we will not use it with autotools or cmake. @thomas-robinson for now, you can remove the |
I've just been committing all of my changes before compiling which works. I can squash when I do a PR for the development I'm doing. |
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.
IIRC, this was needed on the skylake dev box when running mpifort/mpiicc via Intel MPI. |
@bensonr, I was unable to reproduce the issue using Intel MPI mpifort on orion. Can you please create account for me and/or Luis on the skylake dev box so we can try it there? |
@ceblanton @LuisSalbey please see your work email for details. |
I am trying to compile with fre/test which (to my understanding) uses git-version-string in mkmf. I am testing code that I modified to see if it compiles. The problem is that when
git-version-string
is run, it produces output with spaces and the compiler is reading everything after the spaces as files which don't exist.To Reproduce on Gaea:
This needs to print with no spaces
The text was updated successfully, but these errors were encountered: