[PATCH] D30015: [OpenMP] Add arch-specific directory to search path

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 16 00:03:16 PST 2017


mgorny added inline comments.


================
Comment at: lib/Driver/ToolChain.cpp:327
+  llvm::sys::path::append(Path, "lib", OSLibName,
+                          getArchName());
+  return Path.str();
----------------
I would suggest using arch type, to avoid e.g. i386/i486/i586 mess. It's really hard to clean it up afterwards, see D26796.


https://reviews.llvm.org/D30015





More information about the cfe-commits mailing list