When testing whether target arch is supported, take the selected
builtins and cxx library into consideration otherwise the test may
fail even when it shouldn't.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
 Differential  D75772  
[compiler-rt] Set builtins and cxx library for target arch test Authored by phosek on Mar 6 2020, 2:37 PM.  | 
Hmm, I guess try_compile doesn't honor CMAKE_REQUIRED_LIBRARIES? That's surprising.