-
Notifications
You must be signed in to change notification settings - Fork 36
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
Using wrong file paths during debug compilation with local temp dir #29
Comments
If you have created a local path temp/ try to use the full path with the -t option. This has been a longstanding bug in -DAR Gergely Imreh wrote:
David Richie, Ph.D. |
yeah, indeed, that makes sense, and it does work (for simplicity I just used And indeed, I know what you mean. Having absolute paths is not actually a problem, since its easy to turn a local path into absolute like above. Though still does not quite understand why does the script simultaneously As a sidenote, for short term maybe the biggest issue in this sense is the sparsity of docs. If |
This is fixed with the commit just pushed to the stable-1.6 branch. cldebug has been updated so as to not require full Regarding documentation, if you find gaps and/or things that could be explained better, please do make a note of these -DAR Gergely Imreh wrote:
David Richie, Ph.D. |
Thanks, doing a quick test, after 618c906 it does work, both with relative and absolute paths. |
There is also an undocumented feature, using a '-T' instead of '-t' will cause the temp directory to be cleared. This Gergely Imreh wrote:
David Richie, Ph.D. |
I was trying out COPRTHR on Parallella and needed to debug some issues. If I run the debugger with a local directory to output its work progress like
cldebug -t temp -- <programfilename>
, I got quite a few errors along the line ofcpp: fatal error: no input files
. Looking at the commands the problem is that first the codecd
into the work directory, but within there it executes the follow-up commands with the full relative file path (from before cd) instead of just the base file name. See for example this build log. An excerpt:As I check,
temp/xcl6eUI59/eman39.cl
exists, but at that pointcpp
should be looking foreman39.cl
instead, because it justcd
'd intotemp/xcl6eUI59/
a moment earlier...Any thoughts on this? I'm using the stable-1.6.2 branch.
The text was updated successfully, but these errors were encountered: