aboutsummaryrefslogtreecommitdiff
path: root/External/HMMER
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-11-08 19:46:18 +0000
committerMatthias Braun <matze@braunis.de>2016-11-08 19:46:18 +0000
commit19904bd55c45b136559a201e77319937a05348c5 (patch)
treefbf0e21fc86b83a6beb35adcf1d425eb61e75136 /External/HMMER
parent6d7b5024825661c1ab201a3fc0fe231bd4e80517 (diff)
cmake: Do not use llvm_multisource() in External directory
llvm_test_executable() is enough for the things in the External directory, there is no need to import the additional behaviours of llvm_multisource(). git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@286278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'External/HMMER')
-rw-r--r--External/HMMER/CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/External/HMMER/CMakeLists.txt b/External/HMMER/CMakeLists.txt
index 00440452..79f8061e 100644
--- a/External/HMMER/CMakeLists.txt
+++ b/External/HMMER/CMakeLists.txt
@@ -1,13 +1,11 @@
llvm_externals_find(TEST_SUITE_HMMER_ROOT "hmmer" "HMMER 2.3.2")
if(TEST_SUITE_HMMER_ROOT)
- set(PROG hmmcalibrate)
- FILE(GLOB Source ${TEST_SUITE_HMMER_ROOT}/*.c)
list(APPEND CFLAGS -pthread)
list(APPEND LDFLAGS -pthread)
if(ARCH STREQUAL "PowerPC")
- list(APPEND TARGET_FLAGS -maltivec)
- list(APPEND LCCFLAGS -maltivec)
+ list(APPEND CFLAGS -maltivec)
+ list(APPEND LDFLAGS -maltivec)
endif()
if(ARCH STREQUAL "x86")
add_definitions(-DSSE2)
@@ -18,5 +16,6 @@ if(TEST_SUITE_HMMER_ROOT)
else()
llvm_test_run(--fixed 400 --cpu 1 --num 80000 --seed 1158818515 ${TEST_SUITE_HMMER_ROOT}/globin.hmm)
endif()
- llvm_multisource()
+ FILE(GLOB SOURCES ${TEST_SUITE_HMMER_ROOT}/*.c)
+ llvm_test_executable(hmmcalibrate ${SOURCES})
endif()