Bobby Powers
2009-Sep-12 03:24 UTC
[LLVMdev] [PATCH] Linux support for compiler-rt's BlocksRuntime
Hi Folks, The attached patches gets the Blocks runtime built and installed on my Linux system. Let me know if the patches are okay as is, or what I need to do to get them merged into compiler-rt. Thanks! yours, Bobby Powers -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-define-OSAtomicCompareAndSwap-Long-Int-for-non-Mac-W.patch Type: text/x-patch Size: 1751 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090912/d4a65f0e/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-Don-t-include-Apple-header-files-if-we-re-on-Linux.patch Type: text/x-patch Size: 1114 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090912/d4a65f0e/attachment-0001.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0003-Enable-make-install-in-cmake-for-Blocks-runtime.patch Type: text/x-patch Size: 803 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090912/d4a65f0e/attachment-0002.bin>
Bobby Powers
2009-Sep-12 16:04 UTC
[LLVMdev] [PATCH] Linux support for compiler-rt's BlocksRuntime
I've reattached the patch to runtime.c, this time as output from svn instead of git. As the original git commit noted, it does the following: define OSAtomicCompareAndSwap(Long|Int) for non-Mac/Win32 systems if neither TARGET_OS_MAC or TARGET_OS_WINDOWS are defined, check to see if GCC atomic built-ins are available (and use them if they are). yours, Bobby On Sat, Sep 12, 2009 at 3:24 AM, Bobby Powers <bobbypowers at gmail.com> wrote:> Hi Folks, > > The attached patches gets the Blocks runtime built and installed on my > Linux system. Let me know if the patches are okay as is, or what I > need to do to get them merged into compiler-rt. Thanks! > > yours, > Bobby Powers >-------------- next part -------------- A non-text attachment was scrubbed... Name: gcc_atomic_ops.patch Type: text/x-patch Size: 1788 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090912/d2ca6907/attachment.bin>
Edward O'Callaghan
2009-Sep-12 16:30 UTC
[LLVMdev] [PATCH] Linux support for compiler-rt's BlocksRuntime
Applied 81615. Thank you, Edward O'Callaghan. 2009/9/12 Bobby Powers <bobbypowers at gmail.com>:> I've reattached the patch to runtime.c, this time as output from svn > instead of git. As the original git commit noted, it does the > following: > > define OSAtomicCompareAndSwap(Long|Int) for non-Mac/Win32 systems > > if neither TARGET_OS_MAC or TARGET_OS_WINDOWS are defined, check to > see if GCC atomic built-ins are available (and use them if they are). > > yours, > Bobby > > On Sat, Sep 12, 2009 at 3:24 AM, Bobby Powers <bobbypowers at gmail.com> wrote: >> Hi Folks, >> >> The attached patches gets the Blocks runtime built and installed on my >> Linux system. Let me know if the patches are okay as is, or what I >> need to do to get them merged into compiler-rt. Thanks! >> >> yours, >> Bobby Powers >> > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-- -- Edward O'Callaghan http://www.auroraux.org/ eocallaghan at auroraux dot org
Possibly Parallel Threads
- [LLVMdev] [PATCH] Linux support for compiler-rt's BlocksRuntime
- [LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
- [LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
- [LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
- [LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux