| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tree only cmake exports file.
Previously, gtest/gtest_main were not exported via cmake. The intention here was
to ensure that users whom are linking against the LLVM install tree would not
get the gtest/gtest_main targets. This prevents downstream projects that link
against the LLVM build tree (i.e. Swift) from getting this dependency
information in their cmake builds. Without such dependency information, linker
issues can result on linux due to LLVMSupport being put before gtest on the
linker command line.
This commit preserves behavior that we want for the install tree, while adding
support for the build tree by:
1. The special casing for gtest/gtest_main in the add_llvm_library code is
removed in favor of a flag called "BUILDTREE_ONLY". If this is set, then the
library is communicating that it is only meant to be exported into the build
tree and is not meant to be installed or exported via the install tree. This
part is just a tweak to remove the special case, the underlying code is the
same.
2. The cmake code that exports cmake targets for the build tree has special code
to import an additional targets file called
LLVMBuildTreeOnlyExports.cmake. Additionally the extra targets are added to the
LLVMConfig.cmake's LLVM_EXPORTED_TARGETS variable. In contrast, the
"installation" cmake file uses the normal LLVM_EXPORTS_TARGETS as before and
does not include the extra exports file. This is implemented by
defining/undefining variables when performing a configure of the build/install
tree LLVMConfig.cmake files.
llvm-svn: 281085
|
| |
|
|
|
|
|
| |
looking for it along $PATH. This allows installs of LLVM tools outside of
$PATH to find the symbolizer and produce pretty backtraces if they crash.
llvm-svn: 272232
|
| |
|
|
|
|
|
|
|
|
|
| |
Patch by Jack Howarth.
When linking to libLLVM, don't also link to the component
libraries that constitute libLLVM.
Differential Revision: http://reviews.llvm.org/D16945
llvm-svn: 260641
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html
"I felt a great disturbance in the [build system], as if millions of [makefiles] suddenly cried out in terror and were suddenly silenced. I fear something [amazing] has happened."
- Obi Wan Kenobi
Reviewers: chandlerc, grosbach, bob.wilson, tstellarAMD, echristo, whitequark
Subscribers: chfast, simoncook, emaste, jholewinski, tberghammer, jfb, danalbert, srhines, arsenm, dschuff, jyknight, dsanders, joker.eph, llvm-commits
Differential Revision: http://reviews.llvm.org/D16471
llvm-svn: 258861
|
| |
|
|
|
|
| |
llvm/Config/config.h is unavailable outside of build tree.
llvm-svn: 241523
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current crash reporting on Mac OS is only disabled via an environment variable.
This adds a boolean (default false) which can also disable crash reporting.
The only client right now is the unittests which don't ever want crash reporting, but do want to detect killed programs.
Reduces the time to run the APFloat unittests on my machine from
[----------] 47 tests from APFloatTest (51250 ms total)
to
[----------] 47 tests from APFloatTest (765 ms total)
Reviewed by Reid Kleckner and Justin Bogner
llvm-svn: 234353
|
| |
|
|
| |
llvm-svn: 202238
|
| |
|
|
| |
llvm-svn: 201079
|
| |
|
|
| |
llvm-svn: 198933
|
| |
|
|
|
|
|
| |
This seemed like the cleanest way to find the test executable. Also fix
the file mode.
llvm-svn: 180770
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This allows unit tests for components that use Support/Debug.h to print
debug information from test runs by specifying -debug when running the
test.
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D301
llvm-svn: 172801
|
| |
|
|
|
|
|
| |
library names in line with those used by CMake.
- Patch by Johannes Obermayr, with tweaks by me.
llvm-svn: 146706
|
| |
|
|
| |
llvm-svn: 126632
|
| |
|
|
|
|
| |
filesystem.
llvm-svn: 124864
|
| |
|
|
| |
llvm-svn: 120298
|
| |
|
|
| |
llvm-svn: 115407
|
| |
|
|
| |
llvm-svn: 114728
|
| |
|
|
| |
llvm-svn: 114727
|
| |
|
|
| |
llvm-svn: 105390
|
| |
|
|
|
|
| |
implementation. Force the internal one to unbreak clang selfhost on linux.
llvm-svn: 105386
|
| |
|
|
| |
llvm-svn: 105355
|
| |
|
|
|
|
|
| |
eliminate this problem. This will hopefully let us make progress on Linux
bootstrapping.
llvm-svn: 98095
|
| |
|
|
| |
llvm-svn: 94378
|
| |
|
|
| |
llvm-svn: 85149
|
| |
|
|
| |
llvm-svn: 82373
|
|
|
- This eliminates a race between building the unittests and linking the
UnitTestMain library.
llvm-svn: 81719
|