diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-03-19 23:55:38 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-03-19 23:55:38 +0000 |
commit | aa0140066391bf942a686ab79f6526d57ee9479f (patch) | |
tree | 9ddc824781ffe0f8e02f01714382da8086f7faac /cmake | |
parent | 8d5dd67e04ad5def9ce4cd69827ba4d3fce1360d (diff) |
test: Make a start on a test suite for libLTO.
This works in a similar way to the gold plugin tests. We search for a compatible
linker on $PATH and use it to run tests against our just-built libLTO. To start
with, test the just added opt level functionality.
Differential Revision: http://reviews.llvm.org/D8472
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index d4800d6860b..c57f9006a84 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -532,6 +532,10 @@ if(GOLD_EXECUTABLE) "PATH to binutils/include containing plugin-api.h for gold plugin.") endif() +if(APPLE) + find_program(LD64_EXECUTABLE NAMES ld DOC "The ld64 linker") +endif() + include(FindOCaml) include(AddOCaml) if(WIN32) |