This patch aims at removing redundancy in the way include paths for the regular and offloading toolchains are appended to the arguments list in the clang tool.
This was suggested by @rsmith in response to r275931.
Differential D22518
Refactor how include paths are appended to the command arguments. sfantao on Jul 19 2016, 8:14 AM. Authored by
Details This patch aims at removing redundancy in the way include paths for the regular and offloading toolchains are appended to the arguments list in the clang tool. This was suggested by @rsmith in response to r275931.
Diff Detail Event Timeline
Comment Actions Hi Art, Richard, Thanks for looking at this patch. I tried to address Richard concerns in the last diff. Let me know your thoughts, Thanks again,
Comment Actions Samuel, the patch breaks CUDA. With the patch clang no longer adds include paths to standard c++ library during device-side compilation. Comment Actions Hi Art, The enumerators were switched... It should be fixed in r277064. I'll post a patch with regression test to catch the issue. Sorry for the trouble, |
What is this ActiveOffloadingKind parameter for? Both values that we actually pass in here do the exact same thing.