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

Fixes an undef compilation warning #28273

Merged
merged 1 commit into from
Jul 25, 2018

Conversation

fisiognomico
Copy link
Contributor

You may have noticed lately a warning during compilation of Julia master introduced by #27466

In file included from /home/rodia/dev/julia/src/jitlayers.h:19,
                 from /home/rodia/dev/julia/src/codegen.cpp:107:
/home/rodia/dev/julia/usr/include/llvm/ExecutionEngine/JITEventListener.h:118:5: warning: 
"LLVM_USE_PERF" is not defined, evaluates to 0 [-Wundef]
 #if LLVM_USE_PERF
     ^~~~~~~~~~~~~
    CC src/disasm.o
In file included from /home/rodia/dev/julia/src/jitlayers.h:19,
                 from /home/rodia/dev/julia/src/jitlayers.cpp:69:
/home/rodia/dev/julia/usr/include/llvm/ExecutionEngine/JITEventListener.h:118:5: warning: 
"LLVM_USE_PERF" is not defined, evaluates to 0 [-Wundef]
 #if LLVM_USE_PERF
     ^~~~~~~~~~~~~
In file included from /home/rodia/dev/julia/src/disasm.cpp:62:
/home/rodia/dev/julia/usr/include/llvm/ExecutionEngine/JITEventListener.h:118:5: warning: 
"LLVM_USE_PERF" is not defined, evaluates to 0 [-Wundef]
 #if LLVM_USE_PERF
     ^~~~~~~~~~~~~

This PR fixes it.

@fisiognomico
Copy link
Contributor Author

One of the three Travis tests errored due to a machine shutdown during the test.

@vchuravy vchuravy merged commit 2864093 into JuliaLang:master Jul 25, 2018
@fisiognomico fisiognomico deleted the df/fixD44892patch branch July 25, 2018 16:07
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.

2 participants