- May 24, 2014
-
-
Tim Northover authored
This commit starts with a "git mv ARM64 AArch64" and continues out from there, renaming the C++ classes, intrinsics, and other target-local objects for consistency. "ARM64" test directories are also moved, and tests that began their life in ARM64 use an arm64 triple, those from AArch64 use an aarch64 triple. Both should be equivalent though. This finishes the AArch64 merge, and everyone should feel free to continue committing as normal now. llvm-svn: 209577
-
Tim Northover authored
I'm doing this in two phases for a better "git blame" record. This commit removes the previous AArch64 backend and redirects all functionality to ARM64. It also deduplicates test-lines and removes orphaned AArch64 tests. The next step will be "git mv ARM64 AArch64" and rewire most of the tests. Hopefully LLVM is still functional, though it would be even better if no-one ever had to care because the rename happens straight afterwards. llvm-svn: 209576
-
- May 07, 2014
-
-
Alexey Samsonov authored
llvm-svn: 208225
-
- Apr 18, 2014
-
-
Reid Kleckner authored
The option LLVM_ENABLE_SPHINX option enables the "docs-llvm-html", "docs-llvm-man" targets but does not build them by default. The following CMake options have been added that control what targets are made available SPHINX_OUTPUT_HTML SPHINX_OUTPUT_MAN If LLVM_BUILD_DOCS is enabled then the enabled docs-llvm-* targets will be built by default and if ``make install`` is run then docs-llvm-html and docs-llvm-man will be installed (tested on Linux only). The add_sphinx_target function is in its own file so it can be included by other projects that use Sphinx for their documentation. Patch by Daniel Liew <daniel.liew@imperial.ac.uk>! llvm-svn: 206655
-
- Apr 14, 2014
-
-
NAKAMURA Takumi authored
llvm-svn: 206215
-
- Apr 03, 2014
-
-
Pete Cooper authored
Patch by Chris Bieneman llvm-svn: 205478
-
- Mar 29, 2014
-
-
Tim Northover authored
This adds a second implementation of the AArch64 architecture to LLVM, accessible in parallel via the "arm64" triple. The plan over the coming weeks & months is to merge the two into a single backend, during which time thorough code review should naturally occur. Everything will be easier with the target in-tree though, hence this commit. llvm-svn: 205090
-
- Mar 27, 2014
-
-
Hans Wennborg authored
llvm-svn: 204960
-
- Mar 14, 2014
-
-
Sebastian Pop authored
llvm-svn: 203886
-
- Mar 11, 2014
-
-
Sebastian Pop authored
the first run of the polly buildbot failed, and then it started passing. This is due to the fact that the buildbot re-builds in an existing directory, and the first run does not have WITH_POLLY set when it enters tools/. Thus, cmake ignores the tools/polly dir in the first run, and then because it reuses the CMakeCache.txt of the previous run, it has the WITH_POLLY set by the previous run, and so it passes the second time. llvm-svn: 203615
-
- Mar 10, 2014
-
-
Sebastian Pop authored
llvm-svn: 203486
-
- Mar 09, 2014
-
-
Ed Maste authored
FreeBSD's rtld requires the DF_ORIGIN flag set in order to process $ORIGIN in rpath. FreeBSD bug http://bugs.freebsd.org/187114 llvm-svn: 203419
-
- Mar 04, 2014
-
-
Yaron Keren authored
llvm-svn: 202806
-
- Mar 03, 2014
-
-
Tom Stellard authored
The shared library generated by autoconf will now be called libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)$(VERSION_SUFFIX).so and a symlink named libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_SUFFIX).so will also be created in the install directory. llvm-svn: 202720
-
- Mar 01, 2014
-
-
Chandler Carruth authored
LLVM_ENABLE_CXX1Y (default *off*). =D C++98 is dead. Long live C++11. I don't exactly recommend using C++1y just yet though... llvm-svn: 202567
-
- Feb 28, 2014
-
-
Reid Kleckner authored
Patch by Jevin Sweval! llvm-svn: 202556
-
Chandler Carruth authored
Now, please don't get too excited. I've just toggled the default to suss out the last remaining bot problems. This does *not* mean we can all go write lots of C++11 code yet. I at least want to let the dust settle from the bots first. llvm-svn: 202542
-
Rafael Espindola authored
This centralizes the Makefile handling of -install_name and -rpath. It also moves the cmake build to using @rpath. The reason being that libclang needs it, and it works for everything else. A followup patch will move clang to using this and then there will be a single point to edit to support other systems. llvm-svn: 202499
-
- Feb 27, 2014
-
-
Alexey Samsonov authored
llvm-svn: 202363
-
- Feb 26, 2014
-
-
Rafael Espindola authored
Using @executable_path/../lib matches what we have on Makefiles and works with older versions of OS X too. llvm-svn: 202302
-
NAKAMURA Takumi authored
For now, use both keywords, INTERFACE and PRIVATE via the variable, - ${cmake_2_8_12_INTERFACE} - ${cmake_2_8_12_PRIVATE} They could be cleaned up when we introduce 2.8.12. llvm-svn: 202239
-
- Feb 24, 2014
-
-
Bernard Ogden authored
Commit 201921 overrides setting of CMAKE_INSTALL_RPATH via the command line. Last time this happened we applied another patch to only set CMAKE_INSTALL_RPATH if already defined (r197825). This patch does the same thing again, but only for the UNIX case - we leave APPLE alone as presumably the original committer is happy with the non-overriding behaviour. llvm-svn: 202085
-
- Feb 22, 2014
-
-
Rafael Espindola authored
This reverts commit r201934. Polly has been fixed to work with this. llvm-svn: 201936
-
Rafael Espindola authored
This reverts commit r201921. This should bring the polly bots back. I will try to build it locally to understand how cmake was setting the rpath of LLVMPolly.so. llvm-svn: 201934
-
Rafael Espindola authored
This works by asking cmake to use the "install rpath", but setting that rpath to be relative. Thanks a lot to Brad King for the help with CMake! llvm-svn: 201921
-
- Feb 10, 2014
-
-
NAKAMURA Takumi authored
The CMake install(DIRECTORY) command documents that it sets permissions on directories it is asked to install. Since the <prefix>/include directory may not be exclusive to the LLVM installation, we should not ask CMake to manage permissions of that directory for us. Instead, give only our own include/llvm and include/llvm-c subdirectories to the install(DIRECTORY) command. Fixes PR4500. Patch by Brad King. llvm-svn: 201075
-
- Feb 05, 2014
-
-
Jordan Rose authored
r200744 moved this into cmake/config-ix.cmake, so that it would happen very early in the build process. However, standalone builds of Clang and other external projects never include this file (which is correct). Now, -stdlib=libc++ and the LLVM_COMPILER_IS_GCC_COMPATIBLE option are both set in a new include file, HandleLLVMStdlib, which is included by both config-ix.cmake and HandleLLVMOptions.cmake. This preserves existing behavior for projects relying on HandleLLVMOptions and still does the right thing for builds of LLVM itself. llvm-svn: 200811
-
- Feb 04, 2014
-
-
Alexey Samsonov authored
If LLVM_ENABLE_LIBCXX is specified, we should append -stdlib=libc++ to build flags as early as possible, in particular, before we check for header presence (as -stdlib=libc++ modifies header lookup rules). Otherwise we can find a header at configure time (w/o -stdlib=libc++) but fail to find it at build time (with -stdlib=libc++). See PR18569 for more details. llvm-svn: 200744
-
- Feb 02, 2014
-
-
NAKAMURA Takumi authored
Suggested by Stephen Kelly. llvm-svn: 200645
-
- Jan 31, 2014
-
-
NAKAMURA Takumi authored
llvm-svn: 200558
-
- Jan 19, 2014
-
-
NAKAMURA Takumi authored
In LLVM build tree, they points corresponding INTDIR. In Clang standalone tree, they points external dir (llvm-config's --bindir and --libdir). llvm-svn: 199595
-
NAKAMURA Takumi authored
llvm-svn: 199594
-
NAKAMURA Takumi authored
llvm-svn: 199593
-
- Jan 13, 2014
-
-
Chandler Carruth authored
option with the others in the top level CMakeLists, and put the check in HandleLLVMOptions. This will also let it be used from the standalone Clang builds. llvm-svn: 199149
-
Chandler Carruth authored
compiler version checking doesn't work on 2.8.7. This feature was documented in 2.8.10, but existed for an unknown amount of time before that. I'm actually happy to revert this and remove the use of the feature if there is anyone with a specific problem updating CMake. Please just let me know. I don't want to re-implement this CMake functionality unless there is a reason, and this is the only real way to find that out. llvm-svn: 199148
-
NAKAMURA Takumi authored
It was too late to set BUG_REPORT_URL after configure_file(config.h). BUG_REPORT_URL in config.h.cmake would be updated at 2nd run of cmake. It caused many recompilations. FYI, configure handles BUG_REPORT_URL in llvm side. llvm-svn: 199076
-
- Jan 06, 2014
-
-
Jean-Daniel Dupas authored
Introduce a cmake LLVM_ENABLE_LIBCXX build parameter to compile using libc++ instead of the system default Summary: This parameter is required to build C++11 projects (like lld or lldb) on OS X as the default STL does not provide c++ classes. CC: llvm-commits, triton Differential Revision: http://llvm-reviews.chandlerc.com/D2381 llvm-svn: 198625
-
- Dec 30, 2013
-
-
NAKAMURA Takumi authored
[CMake][VS][XCode] Restruct the output directory layout more comfortable, ${BINARY_DIR}/${BUILD_MODE}/(bin|lib) We have been seeing nasty directory layout with CMake multiconfig, such as, bin/Release/clang.exe lib/clang/3.x/... lib/Release/clang/3.x/.. (duplicated) Move the layout similar to autoconf's; Release/bin/clang.exe Release/lib/clang/3.x/... Checked on Visual Studio 10. Could you guys please confirm my change on XCode(and other multiconfig builders)? Note: Don't set variables CMAKE_*_OUTPUT_DIRECTORY any more, or a certain builder, for eaxample, msbuild.exe, would be confused. llvm-svn: 198205
-
- Dec 20, 2013
-
-
Artyom Skrobov authored
llvm-svn: 197825
-
Rafael Espindola authored
This matches what the configure build does. Patch by Jan Vesely. Fixes pr14189. llvm-svn: 197743
-