)]}' { "commit": "4439e42e1a3dcc6bf15fdb00114e4fc598b9d614", "tree": "7f40080a5eb3ac8fdd72f8dbf62d2ca724fba91b", "parents": [ "3520b766ee279dfcde5f21a208f2f61fac18f6e6" ], "author": { "name": "Tom Stellard", "email": "tstellar@redhat.com", "time": "Tue May 30 20:16:37 2017 +0000" }, "committer": { "name": "Tom Stellard", "email": "tstellar@redhat.com", "time": "Tue May 30 20:16:37 2017 +0000" }, "message": "Merging r293630:\n\n------------------------------------------------------------------------\nr293630 | mgorny | 2017-01-31 09:10:20 -0500 (Tue, 31 Jan 2017) | 22 lines\n\n[cmake] Support running tests in stand-alone builds\n\nAdd the CMake bits necessary to run lld tests (and unittests) when\nbuilding stand-alone. The code is based on the equivalent code in clang,\nand includes:\n\n1. checking for Python, searching for lit and necessary LLVM test tools\n(FileCount and not),\n\n2. building LLVM test tools (FileCount and not) from LLVM sources if\nthey are not installed,\n\n3. building gtest libraries from LLVM sources,\n\n4. adjusting dependencies so that test targets depend only on those LLVM\ntargets that are available for a particular variant of stand-alone\nbuild.\n\nWith this patch, I am able to successfully run 1002 (+10 unsupported)\nlit tests on Gentoo using installed LLVM.\n\nDifferential Revision: https://reviews.llvm.org/D28750\n------------------------------------------------------------------------\n\ngit-svn-id: https://llvm.org/svn/llvm-project/lld/branches/release_40@304238 91177308-0d34-0410-b5e6-96231b3b80d8\n", "tree_diff": [ { "type": "modify", "old_id": "be424efbbd878b6af915ba025c8c50c1647d33a8", "old_mode": 33188, "old_path": "CMakeLists.txt", "new_id": "7fcb1a748ffc102b453f1011e67969d878202fa9", "new_mode": 33188, "new_path": "CMakeLists.txt" }, { "type": "modify", "old_id": "678880b7ff3832a66d3b00bdeccbcebd4cf1b851", "old_mode": 33188, "old_path": "test/CMakeLists.txt", "new_id": "ede92c13d97ac63d4f00a36be097e8e20a592452", "new_mode": 33188, "new_path": "test/CMakeLists.txt" } ] }