public
Created

  • Download Gist
00_configure_llvm_ipo.patch
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- a/configure.ac 2013-05-19 18:01:13.125728757 -0700
+++ a/configure.ac 2013-05-17 10:41:57.581424949 -0700
@@ -1579,13 +1579,13 @@
if test "x$LLVM_CONFIG" != xno; then
LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'`
LLVM_VERSION_INT=`echo $LLVM_VERSION | sed -e 's/\([[0-9]]\)\.\([[0-9]]\)/\10\2/g'`
- LLVM_COMPONENTS="engine bitwriter"
+ LLVM_COMPONENTS="engine bitwriter ipo"
if $LLVM_CONFIG --components | grep -q '\<mcjit\>'; then
LLVM_COMPONENTS="${LLVM_COMPONENTS} mcjit"
fi
if test "x$enable_opencl" = xyes; then
- LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation"
+ LLVM_COMPONENTS="${LLVM_COMPONENTS} linker instrumentation"
# LLVM 3.3 >= 177971 requires IRReader
if $LLVM_CONFIG --components | grep -q '\<irreader\>'; then
LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.