Justin Holewinski
2012-May-31 15:11 UTC
[LLVMdev] [PATCH] Build llvm-config on Windows/MSVC if sed is present
The attached patch modifies the CMake/LLVMBuild scripts to build llvm-config on Windows if sed is found on the user's PATH. It also teaches LLVMBuild about MSVC library naming so llvm-config will produce the proper lists of library names. Any comments? Okay to commit? ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Build-llvm-config-on-Windows-MSVC-if-sed-is-present.patch Type: application/octet-stream Size: 8089 bytes Desc: 0001-Build-llvm-config-on-Windows-MSVC-if-sed-is-present.patch URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120531/4b12dcaf/attachment.obj>
Óscar Fuentes
2012-May-31 15:55 UTC
[LLVMdev] [PATCH] Build llvm-config on Windows/MSVC if sed is present
Justin Holewinski <jholewinski at nvidia.com> writes:> The attached patch modifies the CMake/LLVMBuild scripts to build > llvm-config on Windows if sed is found on the user's PATH. It also > teaches LLVMBuild about MSVC library naming so llvm-config will > produce the proper lists of library names. > > Any comments? Okay to commit?The presence of sed does not mean that it is usable. Think on a Cygwinized `sed' while building for MSVC. I'm not sure that on that case it can handle the pathnames as issued by cmake. IMO the right fix is to get rid of sed altogether. Cmake has text-manipulation capabilities that should be enough for the job, IIRC. [snip]
Justin Holewinski
2012-May-31 22:23 UTC
[LLVMdev] [PATCH] Build llvm-config on Windows/MSVC if sed is present
On Thu, May 31, 2012 at 8:55 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:> Justin Holewinski <jholewinski at nvidia.com> writes: > > > The attached patch modifies the CMake/LLVMBuild scripts to build > > llvm-config on Windows if sed is found on the user's PATH. It also > > teaches LLVMBuild about MSVC library naming so llvm-config will > > produce the proper lists of library names. > > > > Any comments? Okay to commit? > > The presence of sed does not mean that it is usable. Think on a > Cygwinized `sed' while building for MSVC. I'm not sure that on that case > it can handle the pathnames as issued by cmake. >I'm not sure why it would matter if its cygwin-ized or not. All sed sees are strings, it's still up to CMake to write out the proper paths to the sed script... am I missing something?> > IMO the right fix is to get rid of sed altogether. Cmake has > text-manipulation capabilities that should be enough for the job, IIRC. >Fair enough. I'll see if I can whip something up.> > [snip] > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Thanks, Justin Holewinski -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120531/5a7d0c8f/attachment.html>
Apparently Analagous Threads
- [LLVMdev] [PATCH] Build llvm-config on Windows/MSVC if sed is present
- [LLVMdev] TableGen patterns with multiple outputs
- [LLVMdev] TableGen patterns with multiple outputs
- [LLVMdev] TableGen patterns with multiple outputs
- [LLVMdev] TableGen patterns with multiple outputs