- Oct 17, 2013
-
-
Hans Wennborg authored
After r192904, Reid pointed out he thought we already set the stack size for MSVC. Turns out we did, but it didn't seem to work. This commit sets the stack size in a single place, using CMAKE_EXE_LINKER_FLAGS because that seems to be the way that works best. llvm-svn: 192912
-
- Oct 04, 2013
-
-
Alexey Samsonov authored
Restore LLVM_BUILD_RUNTIME option that was deleted in r191835, but is still used to control building of compiler-rt and libcxx llvm-svn: 191948
-
- Oct 02, 2013
-
-
Chandler Carruth authored
infrastructure. This was essentially work toward PGO based on a design that had several flaws, partially dating from a time when LLVM had a different architecture, and with an effort to modernize it abandoned without being completed. Since then, it has bitrotted for several years further. The result is nearly unusable, and isn't helping any of the modern PGO efforts. Instead, it is getting in the way, adding confusion about PGO in LLVM and distracting everyone with maintenance on essentially dead code. Removing it paves the way for modern efforts around PGO. Among other effects, this removes the last of the runtime libraries from LLVM. Those are being developed in the separate 'compiler-rt' project now, with somewhat different licensing specifically more approriate for runtimes. llvm-svn: 191835
-
- Sep 25, 2013
-
-
Rafael Espindola authored
This makes sure we get the same behavior with all supported cmake versions. Once we support only versions >= 2.8.11 we can experiment with other values or just setting it for some binaries. Patch by Greg Bedwell. llvm-svn: 191372
-
- Aug 30, 2013
-
-
Daniel Dunbar authored
- We do some nasty things w.r.t. installing or overriding signal handlers in order to improve our crash recovery support or interaction with crash reporting software, and those things are not necessarily appropriate when LLVM is being linked into a client application that has its own ideas about how to do things. This gives those clients a way to disable that handling at build time. - Currently, the code this guards is all Apple specific, but other platforms might have the same concerns so I went for a more generic configure name. Someone who is more familiar with library embedding on Windows can handle choosing which of the Windows/Signals.inc behaviors might make sense to go under this flag. - This also fixes the proper autoconf'ing of ENABLE_BACKTRACES. The code expects it to be undefined when disabled, but the autoconf check was just defining it to 0. llvm-svn: 189694
-
Reid Kleckner authored
Requires shuffling the CPack code up before add_subdirectory(tools), but that's where the version settings are anyway. llvm-svn: 189615
-
- Aug 28, 2013
-
-
Hans Wennborg authored
This adds the msbuild integration files to the install, provides batch scripts for (un)installing it in a convenient way, and hooks up the nsis installer to run those scripts. Differential Revision: http://llvm-reviews.chandlerc.com/D1537 llvm-svn: 189434
-
- Aug 26, 2013
-
-
Hans Wennborg authored
It looked misplaced in the main CMakeLists.txt file. llvm-svn: 189230
-
- Aug 24, 2013
-
-
Michael Gottesman authored
I am going to add in a subsequent patch support for generating the llvm manpage. llvm-svn: 189164
-
Hans Wennborg authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1428 llvm-svn: 189155
-
- Aug 16, 2013
-
-
Hans Wennborg authored
This tweaks the CMake rules for building an installation package on Windows: - Sets license file (otherwise nsis shows an ugly default) - Adds LLVM logo - Shows "do you want to add this to the system path" dialog. Differential Revision: http://llvm-reviews.chandlerc.com/D1414 llvm-svn: 188509
-
- Aug 15, 2013
-
-
Michael Gottesman authored
We were marking both LLVMBUILDOUTPUT and LLVMBUILDERRORS as ERROR_VARIABLES when clearly LLVMBUILDOUTPUT should be marked as OUTPUT_VARIABLE. llvm-svn: 188444
-
- Aug 12, 2013
-
-
Chandler Carruth authored
library for color support detection. This still will use a curses library if that is all we have available on the system. This change tries to use a smaller subset of the curses library, specifically the subset that is on some systems split off into a separate library. For example, if you install ncurses configured --with-tinfo, a 'libtinfo' is install that provides just the terminfo querying functionality. That library is now used instead of curses when it is available. This happens to fix a build error on systems with that library because when we tried to link ncurses into the binary, we didn't pull tinfo in as well. =] It should also provide an easy path for supporting the NetBSD libterminfo library, but as I don't have access to a NetBSD system I'm leaving adding that support to those folks. llvm-svn: 188160
-
- Aug 07, 2013
-
-
Chandler Carruth authored
using it to detect whether or not a terminal supports colors. This replaces a particularly egregious hack that merely compared the TERM environment variable to "dumb". That doesn't really translate to a reasonable experience for users that have actually ensured their terminal's capabilities are accurately reflected. This makes testing a terminal for color support somewhat more expensive, but it is called very rarely anyways. The important fast path when the output is being piped somewhere is already in place. The global lock may seem excessive, but the spec for calling into curses is *terrible*. The whole library is terrible, and I spent quite a bit of time looking for a better way of doing this before convincing myself that this was the fundamentally correct way to behave. The damage of the curses library is very narrowly confined, and we continue to use raw escape codes for actually manipulating the colors which is a much sane system than directly using curses here (IMO). If this causes trouble for folks, please let me know. I've tested it on Linux and will watch the bots carefully. I've also worked to account for the variances of curses interfaces that I could finde documentation for, but that may not have been sufficient. llvm-svn: 187874
-
- Jul 30, 2013
-
-
Eric Christopher authored
In limited testing this seems to work. Caveat emptor. llvm-svn: 187452
-
- Jul 25, 2013
-
-
Rafael Espindola authored
Approval in here http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-July/064169.html llvm-svn: 187145
-
- Jul 17, 2013
-
-
Duncan Sands authored
The issue is that CMAKE_BUILD_TYPE=RelWithDebInfo LLVM_ENABLE_ASSERTIONS=ON was not building with assertions enabled. (I was unable to find what in the LLVM source tree was adding -DNDEBUG to the build line in this case, so decided that it must be cmake itself that was adding it - this may depend on the cmake version). The fix treats any mode that is not Debug as being the same as Release for this purpose (previously it was being assumed that cmake would only add -DNDEBUG for Release and not for RelWithDebInfo or MinSizeRel). If other versions of cmake don't add -DNDEBUG for RelWithDebInfo then that's OK: with this change you just get a useless but harmless -UNDEBUG or -DNDEBUG. llvm-svn: 186499
-
- Jun 26, 2013
-
-
Andy Gibbs authored
llvm-svn: 184923
-
- Jun 24, 2013
-
-
Reid Kleckner authored
All of LLVM's Python scripts only support Python 2 for widely understood reasons. Patch by Yonggang Luo. llvm-svn: 184732
-
- May 22, 2013
-
-
Rafael Espindola authored
Should fix the cmake bots that were already building R600. llvm-svn: 182447
-
Rafael Espindola authored
The r600 backend has been in tree for some time now. Marking it as non-experimental to avoid accidental breakage. llvm-svn: 182442
-
- May 19, 2013
-
-
Tim Northover authored
llvm-svn: 182217
-
- May 07, 2013
-
-
Rafael Espindola authored
llvm-svn: 181353
-
- May 06, 2013
-
-
Ulrich Weigand authored
[SystemZ] Add to --enable-targets=all This patch finally enables the SystemZ target in the default build (with --enable-targets=all). Patch by Richard Sandiford. llvm-svn: 181209
-
Ulrich Weigand authored
[SystemZ] Add configure bits This patch wires up the SystemZ target in configure, so that it can now be built using --enable-targets=systemz. It is not yet included in the default build (--enable-targets=all); this will be done by a follow-up patch. Patch by Richard Sandiford. llvm-svn: 181208
-
- Apr 23, 2013
-
-
Alexey Samsonov authored
Add basic zlib support to LLVM. This would allow to use compression/uncompression in selected LLVM tools. llvm-svn: 180083
-
- Apr 15, 2013
-
-
Tim Northover authored
llvm-svn: 179518
-
- Apr 10, 2013
-
-
Tim Northover authored
This reverts commit e652085eacbec62e4157d08d3f2f875e6e6d5bb4. llvm-svn: 179172
-
Tim Northover authored
llvm-svn: 179170
-
- Apr 05, 2013
-
-
Rafael Espindola authored
llvm-svn: 178904
-
Rafael Espindola authored
llvm-svn: 178835
-
- Apr 04, 2013
-
-
Rafael Espindola authored
On freebsd this makes sure that symbols are exported on the binaries that need them. The net result is that we should get symbols in the binaries that need them on every platform. On linux x86-64 this reduces the size of the bin directory from 262MB to 250MB. Patch by Stephen Checkoway. llvm-svn: 178725
-
- Mar 26, 2013
-
-
Alexey Samsonov authored
Add CMake option LLVM_USE_SANITIZER={Address,Memory,MemoryWithOrigins} to simplify bootstrap of LLVM/Clang under ASan/MSan llvm-svn: 177992
-
- Feb 18, 2013
-
-
Tim Northover authored
The problem call was removed in the interim. Apologies. llvm-svn: 175435
-
Tim Northover authored
We already use features from 2.8.6, this just gives a slightly more friendly message when the dependency isn't met. Patch from Keith Walker. llvm-svn: 175434
-
- Feb 14, 2013
-
-
David Chisnall authored
Patch by Jonathan Anderson! llvm-svn: 175167
-
- Feb 04, 2013
-
-
Tim Northover authored
llvm-svn: 174322
-
- Dec 13, 2012
-
-
Joel Jones authored
llvm-svn: 170130
-
- Dec 10, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 169726
-
- Nov 17, 2012
-
-
Benjamin Kramer authored
llvm-svn: 168272
-