[llvm-commits] [llvm] r73591 - in /llvm/trunk: configure include/llvm/Config/config.h.in

Bill Wendling isanbard at gmail.com
Wed Jun 17 11:23:40 PDT 2009


Oops! Never mind my previous email.

-bw

On Tue, Jun 16, 2009 at 5:43 PM, Douglas Gregor<dgregor at apple.com> wrote:
> Author: dgregor
> Date: Tue Jun 16 19:43:20 2009
> New Revision: 73591
>
> URL: http://llvm.org/viewvc/llvm-project?rev=73591&view=rev
> Log:
> Update auto-generated configuration files
>
> Modified:
>    llvm/trunk/configure
>    llvm/trunk/include/llvm/Config/config.h.in
>
> Modified: llvm/trunk/configure
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=73591&r1=73590&r2=73591&view=diff
>
> ==============================================================================
> --- llvm/trunk/configure (original)
> +++ llvm/trunk/configure Tue Jun 16 19:43:20 2009
> @@ -2403,6 +2403,13 @@
>  echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
>  fi
>
> +# Determine the LLVM native architecture for the target
> +case "$llvm_cv_target_arch" in
> +    x86)     LLVM_NATIVE_ARCH="X86" ;;
> +    x86_64)  LLVM_NATIVE_ARCH="X86" ;;
> +    *)       LLVM_NATIVE_ARCH="$llvm_cv_target_arch" ;;
> +esac
> +
>  ARCH=$llvm_cv_target_arch
>
>
> @@ -4961,6 +4968,18 @@
>  TARGETS_TO_BUILD=$TARGETS_TO_BUILD
>
>
> +# Determine whether we are building LLVM support for the native architecture.
> +# If so, define LLVM_NATIVE_ARCH to that LLVM target.
> +for a_target in $TARGETS_TO_BUILD; do
> +  if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
> +
> +cat >>confdefs.h <<_ACEOF
> +#define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCH
> +_ACEOF
> +
> +  fi
> +done
> +
>  # Build the LLVM_TARGET and LLVM_ASM_PRINTER macro uses for
>  # Targets.def and AsmPrinters.def.
>  LLVM_ENUM_TARGETS=""
> @@ -10609,7 +10628,7 @@
>   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>   lt_status=$lt_dlunknown
>   cat > conftest.$ac_ext <<EOF
> -#line 10612 "configure"
> +#line 10631 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -12753,7 +12772,7 @@
>   ;;
>  *-*-irix6*)
>   # Find out which ABI we are using.
> -  echo '#line 12756 "configure"' > conftest.$ac_ext
> +  echo '#line 12775 "configure"' > conftest.$ac_ext
>   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
>   (eval $ac_compile) 2>&5
>   ac_status=$?
> @@ -14471,11 +14490,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:14474: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:14493: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>conftest.err)
>    ac_status=$?
>    cat conftest.err >&5
> -   echo "$as_me:14478: \$? = $ac_status" >&5
> +   echo "$as_me:14497: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s "$ac_outfile"; then
>      # The compiler can only warn and ignore the option if not recognized
>      # So say no if there are warnings other than the usual output.
> @@ -14739,11 +14758,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:14742: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:14761: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>conftest.err)
>    ac_status=$?
>    cat conftest.err >&5
> -   echo "$as_me:14746: \$? = $ac_status" >&5
> +   echo "$as_me:14765: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s "$ac_outfile"; then
>      # The compiler can only warn and ignore the option if not recognized
>      # So say no if there are warnings other than the usual output.
> @@ -14843,11 +14862,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:14846: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:14865: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>out/conftest.err)
>    ac_status=$?
>    cat out/conftest.err >&5
> -   echo "$as_me:14850: \$? = $ac_status" >&5
> +   echo "$as_me:14869: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s out/conftest2.$ac_objext
>    then
>      # The compiler can only warn and ignore the option if not recognized
> @@ -17295,7 +17314,7 @@
>   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>   lt_status=$lt_dlunknown
>   cat > conftest.$ac_ext <<EOF
> -#line 17298 "configure"
> +#line 17317 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -17395,7 +17414,7 @@
>   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>   lt_status=$lt_dlunknown
>   cat > conftest.$ac_ext <<EOF
> -#line 17398 "configure"
> +#line 17417 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -19763,11 +19782,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:19766: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:19785: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>conftest.err)
>    ac_status=$?
>    cat conftest.err >&5
> -   echo "$as_me:19770: \$? = $ac_status" >&5
> +   echo "$as_me:19789: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s "$ac_outfile"; then
>      # The compiler can only warn and ignore the option if not recognized
>      # So say no if there are warnings other than the usual output.
> @@ -19867,11 +19886,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:19870: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:19889: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>out/conftest.err)
>    ac_status=$?
>    cat out/conftest.err >&5
> -   echo "$as_me:19874: \$? = $ac_status" >&5
> +   echo "$as_me:19893: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s out/conftest2.$ac_objext
>    then
>      # The compiler can only warn and ignore the option if not recognized
> @@ -21437,11 +21456,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:21440: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:21459: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>conftest.err)
>    ac_status=$?
>    cat conftest.err >&5
> -   echo "$as_me:21444: \$? = $ac_status" >&5
> +   echo "$as_me:21463: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s "$ac_outfile"; then
>      # The compiler can only warn and ignore the option if not recognized
>      # So say no if there are warnings other than the usual output.
> @@ -21541,11 +21560,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:21544: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:21563: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>out/conftest.err)
>    ac_status=$?
>    cat out/conftest.err >&5
> -   echo "$as_me:21548: \$? = $ac_status" >&5
> +   echo "$as_me:21567: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s out/conftest2.$ac_objext
>    then
>      # The compiler can only warn and ignore the option if not recognized
> @@ -23776,11 +23795,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:23779: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:23798: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>conftest.err)
>    ac_status=$?
>    cat conftest.err >&5
> -   echo "$as_me:23783: \$? = $ac_status" >&5
> +   echo "$as_me:23802: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s "$ac_outfile"; then
>      # The compiler can only warn and ignore the option if not recognized
>      # So say no if there are warnings other than the usual output.
> @@ -24044,11 +24063,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:24047: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:24066: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>conftest.err)
>    ac_status=$?
>    cat conftest.err >&5
> -   echo "$as_me:24051: \$? = $ac_status" >&5
> +   echo "$as_me:24070: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s "$ac_outfile"; then
>      # The compiler can only warn and ignore the option if not recognized
>      # So say no if there are warnings other than the usual output.
> @@ -24148,11 +24167,11 @@
>    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
>    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>    -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:24151: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:24170: $lt_compile\"" >&5)
>    (eval "$lt_compile" 2>out/conftest.err)
>    ac_status=$?
>    cat out/conftest.err >&5
> -   echo "$as_me:24155: \$? = $ac_status" >&5
> +   echo "$as_me:24174: \$? = $ac_status" >&5
>    if (exit $ac_status) && test -s out/conftest2.$ac_objext
>    then
>      # The compiler can only warn and ignore the option if not recognized
>
> Modified: llvm/trunk/include/llvm/Config/config.h.in
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Config/config.h.in?rev=73591&r1=73590&r2=73591&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/Config/config.h.in (original)
> +++ llvm/trunk/include/llvm/Config/config.h.in Tue Jun 16 19:43:20 2009
> @@ -476,6 +476,9 @@
>  /* Build multithreading support into LLVM */
>  #undef LLVM_MULTITHREADED
>
> +/* LLVM architecture name for the native architecture, if available */
> +#undef LLVM_NATIVE_ARCH
> +
>  /* Define if this is Unixish platform */
>  #undef LLVM_ON_UNIX
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list