[LLVMdev] Cygwin patches for 2.7
Chris Lattner
clattner at apple.com
Thu Mar 4 17:01:06 PST 2010
On Mar 4, 2010, at 8:25 AM, Aaron Gray wrote:
> 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 :)
I applied your patch for runtime, and applied a different patch to tools. Thanks.
-Chris
>
> 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::
>
> <Cygwin-2.7.patch>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list