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

Comments on the same line as variable declarations for make #18291

Merged
merged 1 commit into from
Aug 30, 2016

Conversation

jdlangs
Copy link
Contributor

@jdlangs jdlangs commented Aug 30, 2016

I was investigating building julia with threading disabled and discovered changing the value in Make.inc did not seem to be doing anything. After some investigation, I found out that the comment on the same line in the variable declaration was causing the variable value to have trailing whitespace characters, and so the ifneq ($(JULIA_THREADS), 0) just always returned true. This behavior is noted in the GNU make manual.

I saw there were a couple other places where the same thing happened so I changed those and added a warning up top. Let me know if that's just adding noise and I can remove the warning.

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.

None yet

3 participants