- Jan 16, 2013
-
-
Peter Collingbourne authored
In r143502, we renamed getHostTriple() to getDefaultTargetTriple() as part of work to allow the user to supply a different default target triple at configure time. This change also affected the JIT. However, it is inappropriate to use the default target triple in the JIT in most circumstances because this will not necessarily match the current architecture used by the process, leading to illegal instruction and other such errors at run time. Introduce the getProcessTriple() function for use in the JIT and its clients, and cause the JIT to use it. On architectures with a single bitness, the host and process triples are identical. On other architectures, the host triple represents the architecture of the host CPU, while the process triple represents the architecture used by the host CPU to interpret machine code within the current process. For example, when executing 32-bit code on a 64-bit Linux machine, the host triple may be 'x86_64-unknown-linux-gnu', while the process triple may be 'i386-unknown-linux-gnu'. This fixes JIT for the 32-on-64-bit (and vice versa) build on non-Apple platforms. Differential Revision: http://llvm-reviews.chandlerc.com/D254 llvm-svn: 172627
-
- Jan 09, 2013
-
-
David Greene authored
If the compiler is gcc, disable variants of -Wuninitialized depending on the gcc version. This gets a lot of false positive warnings out of the build. Generate a new configure for the gcc -Wno-uninitialized fix. Pick up -Wno-uninitialized from configure Add the option -Wno[-maybe]-uninitialized as determined by configure. llvm-svn: 172006
-
- Dec 13, 2012
-
-
Roman Divacky authored
in clang. The default remains to build those. llvm-svn: 170134
-
- Oct 01, 2012
-
-
Jordan Rose authored
The Apple buildbots have been modified not to pass --target, so they shouldn't choke on a default program prefix anymore. Patch by Rick Foos! llvm-svn: 164956
-
- Sep 26, 2012
-
-
Jordan Rose authored
The Apple buildbots are set up to pass --target to configure for both cross- and non-cross-compile builds, and the standard autoconf response to this is to set the program prefix to '<target>-'. Until we can figure out the proper way to handle this (don't pass --target? pass an explicit --program-prefix=""? don't auto-populate program_prefix with target_alias?) it's more important to keep the buildbots running. This reverts r164633 / ba48ceb1a3802e20e781ef04ea2573ffae2ac414. llvm-svn: 164651
-
- Sep 25, 2012
-
-
Sebastian Pop authored
llvm-svn: 164633
-
- Aug 28, 2012
-
-
Eric Christopher authored
llvm-svn: 162722
-
Sebastian Pop authored
llvm-svn: 162707
-
- Aug 14, 2012
-
-
Daniel Dunbar authored
llvm-svn: 161880
-
- Aug 03, 2012
-
-
Eric Christopher authored
while building as requested by Lang. llvm-svn: 161253
-
Eric Christopher authored
commit code in clang that uses this shortly. llvm-svn: 161252
-
Eric Christopher authored
rdar://11366674 llvm-svn: 161251
-
Eric Christopher authored
packages for particular uses. llvm-svn: 161246
-
Eric Christopher authored
to store additional flag options since too many things can and do override CPPFLAGS. Also, this is exported, unlike CPPFLAGS so it can be actually used elsewhere. This should enable us to remove the AC_SUBSTs in the intel checks, but I have no way of testing it. llvm-svn: 161233
-
- Jun 28, 2012
-
-
Chandler Carruth authored
bits of DejaGNU. Eric, you may want to remove the TCLSH bits from aclocal.m4 and regenerate... I didn't want to touch the m4 file lest something exploded. llvm-svn: 159308
-
- May 17, 2012
-
-
Danil Malyshev authored
- Added HOST_ARCH to Makefile.config.in The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now. llvm-svn: 157015
-
- May 07, 2012
-
-
Preston Gurd authored
optional library support to the llvm-build tool: - Add new command line parameter to llvm-build: “--enable-optional-libraries” - Add handing of new llvm-build library type “OptionalLibrary” - Update Cmake and automake build systems to pass correct flags to llvm-build based on configuration Patch by Dan Malea! llvm-svn: 156319
-
- Mar 13, 2012
-
-
Eli Bendersky authored
Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code. In addition, unit tests for the profiling interfaces were added. This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach llvm-svn: 152620
-
- Mar 07, 2012
-
-
Benjamin Kramer authored
configure: Don't require a perl interpreter to be present, LLVM's buildsystem doesn't depend on perl anymore. llvm-svn: 152234
-
- Feb 29, 2012
-
-
Rafael Espindola authored
sure we don't use it with compilers that don't support it. llvm-svn: 151665
-
- Feb 28, 2012
-
-
Chandler Carruth authored
Clang builds. The detection logic for compilers that support the warning isn't working. Rafael is going to investigate it, but didn't want people to have to wade through build spam until then. llvm-svn: 151649
-
Rafael Espindola authored
llvm-svn: 151609
-
- Dec 18, 2011
-
-
Dylan Noblesmith authored
And fix the double-[]. It was including the [] as part of the project name somehow, resulting in PACKAGE_TARNAME "-llvm-" and a strange docdir default: ./configure --help | grep docdir --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-] llvm-svn: 146849
-
- Nov 28, 2011
-
-
rdar://10217046Bob Wilson authored
Some files installed by clang are not relevant for general users and we'd like to be able to install them to a different location. This adds a new --with-internal-prefix configure option and a corresponding PROJ_internal_prefix makefile variable, which defaults to the standard prefix. A tool makefile can specify that it should be installed to this internal prefix by defining INTERNAL_TOOL. llvm-svn: 145234
-
- Nov 12, 2011
-
-
Daniel Dunbar authored
ARCH, which gets tested in many more contexts. llvm-svn: 144434
-
- Nov 11, 2011
-
-
Eric Christopher authored
options to use libc++ as the default c++ library. llvm-svn: 144413
-
- Oct 26, 2011
-
-
Charles Davis authored
version of the install program, which does not have the --strip-program switch. llvm-svn: 143009
-
Eric Christopher authored
to use for stripping final executables. Patch by Simon Atanasyan! llvm-svn: 142997
-
- Oct 18, 2011
-
-
Daniel Dunbar authored
llvm-svn: 142398
-
- Oct 16, 2011
-
-
NAKAMURA Takumi authored
autoconf: Introduce --with-clang-srcdir, to build out-of-tree clang as tools/clang on tools/Makefile. llvm-svn: 142102
-
- Oct 13, 2011
-
-
Daniel Dunbar authored
llvm-svn: 141869
-
- Sep 21, 2011
-
-
Eric Christopher authored
script. Only the testsuite project needs to know this information. llvm-svn: 140220
-
- Jun 17, 2011
-
-
Daniel Dunbar authored
options just to pass to ld). llvm-svn: 133206
-
- Dec 29, 2010
-
-
NAKAMURA Takumi authored
autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into llvm.dll with --enable-shared on Cygming. Cygwin has stdc++.dll in it's distribution, and we can assume distro's stdc++.dll might be available. llvm-svn: 122622
-
- Dec 10, 2010
-
-
Eric Christopher authored
variable for args you want to default pass to gzip. Patch based on one by asau@inbox.ru. Fixes PR8758. llvm-svn: 121449
-
- Nov 25, 2010
-
-
Duncan Sands authored
LLVMGCC_DISABLEOPT_FLAGS, one with CC in it, the other with GCC. Rename LLVMGCC_DISABLEOPT_FLAGS to LLVMCC_DISABLEOPT_FLAGS. llvm-svn: 120151
-
- Nov 12, 2010
-
-
Rafael Espindola authored
llvm-svn: 118918
-
- Nov 10, 2010
-
-
Tobias Grosser authored
Store the flags needed to disable optimizations and to emit LLVM-IR depending on the version of llvm-gcc used. llvm-svn: 118684
-
- Oct 30, 2010
-
-
Tobias Grosser authored
Update the cmake and autoconf build system to compile polly as a shared library if it is checked out into tools/polly. In case polly is not checked out, nothing changes. This models the way clang can be added to llvm if checked out to tools/clang. Also rebuild configure. Patch contributed by ether. llvm-svn: 117755
-
- Aug 04, 2010
-
-
Chris Lattner authored
builtin instead of shell. On my 8 core mac pro, this speeds up a 'make -j8' null build of the lib directory from 1.11s to 0.77s wall time. Patch by NAKAMURA Takumi! llvm-svn: 110166
-