[LLVMdev] Cygwin patches for 2.7

Aaron Gray aaronngray.lists at googlemail.com
Thu Mar 4 08:25:35 PST 2010


Hi,

Here are two patches to allow Cygwin to build. 'edis' is disabled as it will
not build with dynamic libraries, and libprofile also does not build on
Cygwin. If anyone using Cygwin wants there functionality they will have to
fix them :)

Aaron


Index: tools/Makefile
===================================================================
--- tools/Makefile (revision 97136)
+++ tools/Makefile (working copy)
@@ -44,4 +44,8 @@
   DIRS := $(filter-out lto gold, $(DIRS))
 endif

+ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin))
+  PARALLEL_DIRS := $(filter-out edis, $(PARALLEL_DIRS))
+endif
+
 include $(LEVEL)/Makefile.common
Index: runtime/Makefile
===================================================================
--- runtime/Makefile (revision 97136)
+++ runtime/Makefile (working copy)
@@ -20,8 +20,12 @@
 PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
 endif

+ifeq ($(OS), Cygwin)
+PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
 endif

+endif
+
 include $(LEVEL)/Makefile.common

 install::
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100304/47cb3873/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cygwin-2.7.patch
Type: application/octet-stream
Size: 818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100304/47cb3873/attachment.obj>


More information about the llvm-dev mailing list