diff options
author | Dale Johannesen <dalej@apple.com> | 2009-06-22 21:22:15 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-06-22 21:22:15 +0000 |
commit | 0a3be6c8a7bd09475fe33d00b4438ae38523af92 (patch) | |
tree | 8c6cd45a3ac173b99eac21a11d9db9b0e2a95915 /External/HMMER | |
parent | 863b6536ce74e93d348c56f6d23473add88833bc (diff) |
Cause -faltivec -maltivec to be passed on PPC target.
Don't ask me why -DSSE2 causes Altivec code to be
generated on this target, but it does.
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@73904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'External/HMMER')
-rw-r--r-- | External/HMMER/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/External/HMMER/Makefile b/External/HMMER/Makefile index 8ea88334..0cf38c4e 100644 --- a/External/HMMER/Makefile +++ b/External/HMMER/Makefile @@ -9,6 +9,11 @@ CPPFLAGS = -DSSE2 LIBS += -lpthread LDFLAGS += -lpthread +ifeq ($(ARCH),PowerPC) +TARGET_FLAGS += -maltivec -faltivec +LCCFLAGS += -maltivec -faltivec +endif + ifdef LARGE_PROBLEM_SIZE RUN_OPTIONS = --fixed 400 --cpu 1 --num 200000 --seed 1158818515 $(HMMER_ROOT)/globin.hmm else |