Programming Languages Research Group: Git - oota-llvm.git/atom - utils/unittest/CMakeLists.txt history C/C++ LLVM-based compilers that forbids OOTA behaviors http://plrg.eecs.uci.edu/git/?p=oota-llvm.git Peizhao Ou static/git-favicon.png static/git-logo.png 2016-02-12T17:52:29Z gitweb Merging r260641: 2016-02-12T17:52:29Z Hans Wennborg hans@hanshq.net Hans Wennborg hans@hanshq.net 2016-02-12T17:52:29Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=347f4e82e80af64eca192381112ff6e9e3c7c8c3
Merging r260641:
------------------------------------------------------------------------
r260641 | axw | 2016-02-11 17:42:43 -0800 (Thu, 11 Feb 2016) | 10 lines

Avoid linking LLVM component libraries with libLLVM

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


------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@260693 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Reapply r229185(cbieneman) -- Raising minimum required Visual Studio version to 2013. 2015-02-15T17:53:10Z NAKAMURA Takumi geek4civic@gmail.com NAKAMURA Takumi geek4civic@gmail.com 2015-02-15T17:53:10Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=068db0bdb8039add959e5553686e1ac9867f6920
Reapply r229185(cbieneman) -- Raising minimum required Visual Studio version to 2013.

This is based on the discussions on: [LLVMdev] [RFC] Raising LLVM minimum required MSVC version to 2013 for trunk

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229320 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Revert r229185, "Raising minimum required Visual Studio version to 2013." 2015-02-14T00:45:32Z NAKAMURA Takumi geek4civic@gmail.com NAKAMURA Takumi geek4civic@gmail.com 2015-02-14T00:45:32Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=6b098c4a26b82f98e7779ce6fa73df9566297fdf
Revert r229185, "Raising minimum required Visual Studio version to 2013."

All builders are not ready yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229199 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Raising minimum required Visual Studio version to 2013. 2015-02-13T23:24:14Z Chris Bieneman beanz@apple.com Chris Bieneman beanz@apple.com 2015-02-13T23:24:14Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=c4300b9c0147889e77d2a51ded9fa025545d27e2
Raising minimum required Visual Studio version to 2013.

This is based on the discussions on: [LLVMdev] [RFC] Raising LLVM minimum required MSVC version to 2013 for trunk

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229185 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Use -Wl,defs when linking. 2015-01-20T21:23:15Z Rafael Espindola rafael.espindola@gmail.com Rafael Espindola rafael.espindola@gmail.com 2015-01-20T21:23:15Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=e4f11175cb95cd8609c0a81c798a550bd9add685
Use -Wl,defs when linking.

ELF linkers by default allow shared libraries to contain undefined references
and it is up to the dynamic linker to look for them.

On COFF and MachO, that is not the case.

This creates a situation where a .so might build on an ELF system, but the build
of the corresponding .dylib or .dll will fail.

This patch changes the cmake build to use -Wl,-z,defs when linking and updates
the dependencies so that -DBUILD_SHARED_LIBS=ON build still works.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226611 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
[CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26T06:41:29Z NAKAMURA Takumi geek4civic@gmail.com NAKAMURA Takumi geek4civic@gmail.com 2014-02-26T06:41:29Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=5fb5076e284e074c4113fdc309636b930c244c87
[CMake] Use LINK_LIBS instead of target_link_libraries().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202238 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
[CMake] Add dependencies to gtest. 2014-02-10T11:27:41Z NAKAMURA Takumi geek4civic@gmail.com NAKAMURA Takumi geek4civic@gmail.com 2014-02-10T11:27:41Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=ac27d7151c137bc6d814ef084a3ab2d8ba50cb37
[CMake] Add dependencies to gtest.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201079 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Sink add_llvm_library(gtest_main) to UnitTestMain/CMakeLists.txt. 2014-01-10T11:02:26Z NAKAMURA Takumi geek4civic@gmail.com NAKAMURA Takumi geek4civic@gmail.com 2014-01-10T11:02:26Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=f1a1e4a72317cf8b979c10975f94da485f902340
Sink add_llvm_library(gtest_main) to UnitTestMain/CMakeLists.txt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198933 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Move all of the GoogleTest files back to the same locations they occupy 2013-11-15T10:20:45Z Chandler Carruth chandlerc@gmail.com Chandler Carruth chandlerc@gmail.com 2013-11-15T10:20:45Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=efbdf7f2320649512569143611f53177c27ba9f6
Move all of the GoogleTest files back to the same locations they occupy
externally to simplify our integration of GoogleTest into LLVM. Also,
build the single source file gtest-all.cc instead of the individual
source files as we don't expect these to change and thus gain nothing
from increased incrementality in compiles.

This makes our standard build of googletest exactly like upstream's
recommended build and the sanitizer's build. It also simplifies the
steps of importing a new version should we ever want one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194801 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Get the unittests compiling when building with cmake and the setting 2013-05-14T13:29:16Z Duncan Sands baldrick@free.fr Duncan Sands baldrick@free.fr 2013-05-14T13:29:16Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=8305acb20062ffa37d1579d0063794432c01c26b
Get the unittests compiling when building with cmake and the setting
-DLLVM_ENABLE_THREADS=false.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181788 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Fix gtest build issue on Visual Studio 2012 RC 2012-06-06T03:11:20Z Justin Holewinski jholewinski@nvidia.com Justin Holewinski jholewinski@nvidia.com 2012-06-06T03:11:20Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=c82fd37bcf38ff976ce0a62576899588563f8a09
Fix gtest build issue on Visual Studio 2012 RC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158046 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29T19:25:30Z Daniel Dunbar daniel@zuster.org Daniel Dunbar daniel@zuster.org 2011-11-29T19:25:30Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=d782bae970e888572f0458ac05369bbd7752f05a
build/CMake: Finish removal of add_llvm_library_dependencies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145420 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Adding dependencies to allow -DBUILD_SHARED_LIBS=true to complete. 2011-10-19T00:13:13Z Joe Abbey jabbey@arxan.com Joe Abbey jabbey@arxan.com 2011-10-19T00:13:13Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=fffc0fe42c4dc664c95031725850ab78a3932613
Adding dependencies to allow -DBUILD_SHARED_LIBS=true to complete.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142464 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Update CMake build for new gtest file. 2011-07-27T10:19:32Z Frits van Bommel fvbommel@gmail.com Frits van Bommel fvbommel@gmail.com 2011-07-27T10:19:32Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=0da49df0b1e637790ff4c5cece09c79d96a85cdb
Update CMake build for new gtest file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136215 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Fix VC2010 build. 2010-10-19T18:04:06Z Michael J. Spencer bigcheesegs@gmail.com Michael J. Spencer bigcheesegs@gmail.com 2010-10-19T18:04:06Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=01734b1e1bc482e67f4d1518b2b6c97e2c0a589c
Fix VC2010 build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116833 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Build with RTTI and exceptions disabled. Only in GCC for now. 2010-10-17T02:26:16Z Oscar Fuentes ofv@wanadoo.es Oscar Fuentes ofv@wanadoo.es 2010-10-17T02:26:16Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=f0c55a9b9797855a4c488c7a6a97d336a5bafd8e
Build with RTTI and exceptions disabled. Only in GCC for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116682 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
CMake: Fix warning in gtest. 2010-10-07T18:12:54Z Michael J. Spencer bigcheesegs@gmail.com Michael J. Spencer bigcheesegs@gmail.com 2010-10-07T18:12:54Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=1cade330affc01142f43e8c46a8e34278740ad53
CMake: Fix warning in gtest.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115935 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
Reverting "CMake: Don't include tools, unittets, or examples as 2010-09-25T20:25:25Z Oscar Fuentes ofv@wanadoo.es Oscar Fuentes ofv@wanadoo.es 2010-09-25T20:25:25Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=066de857f813991cb8985c7b10e130b32c878bd6
Reverting "CMake: Don't include tools, unittets, or examples as
available targets unless LLVM_INCLUDE_X is ON. LLVM_BUILD_X implies
LLVM_INCLUDE_X"

It breaks the configuration phase when cmake is invoked without
parameters, it is too complex for the purpose and introduces an
incovenience for the user (as both LLVM_BUILD_X and LLVM_INCLUDE_X
must set to OFF for not including X on the build)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114795 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
CMake: Don't include tools, unittets, or examples as available targets 2010-09-24T19:10:51Z Michael J. Spencer bigcheesegs@gmail.com Michael J. Spencer bigcheesegs@gmail.com 2010-09-24T19:10:51Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=4b794c9a9990fdea831966c7ebd3be46efe261a1
CMake: Don't include tools, unittets, or examples as available targets
unless LLVM_INCLUDE_X is ON. LLVM_BUILD_X implies LLVM_INCLUDE_X

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114747 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt
CMake: Build unittests. 2010-09-24T09:01:13Z Michael J. Spencer bigcheesegs@gmail.com Michael J. Spencer bigcheesegs@gmail.com 2010-09-24T09:01:13Z http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=ee6944f4ab4258e6b7b9c91c0c18444193d6f55a
CMake: Build unittests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114725 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] utils/unittest/CMakeLists.txt