-
Notifications
You must be signed in to change notification settings - Fork 64
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
Update CMakeLists.txt #398
Conversation
haonanya
commented
Feb 6, 2023
- Add additional link dependencies for NVPTX and AMDGPU
- Create stripped pdbs for Windows
- Remove windows_resource_file in windows
1. Add additional link dependencies for NVPTX and AMDGPU 2. Create stripped pdbs for Windows 3. Remove windows_resource_file in windows
common_clang.cpp
Outdated
@@ -319,7 +319,7 @@ Compile(const char *pszProgramSource, const char **pInputHeaders, | |||
if (pBinaryResult) { | |||
*pBinaryResult = nullptr; | |||
} | |||
assert(!"Failed to read just compiled LLVM IR!"); | |||
assert(0 && "Failed to read just compiled LLVM IR!"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assert(0 && "Failed to read just compiled LLVM IR!"); | |
assert(false && "Failed to read just compiled LLVM IR!"); |
@@ -85,6 +85,7 @@ if (NOT WIN32) | |||
endif() | |||
|
|||
use_rtti(FALSE) | |||
use_eh(TRUE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we only need to enable exception on in opencl-clang tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please consider removing use_eh from library files and investigating if we can change add_library back to add_llvm_library. I suggest to create issues to track these two tasks.