[test-suite] r280514 - [PowerPC] Actually add -faltivec for UnitTests/Vector/Altivec
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 2 11:17:00 PDT 2016
Author: hfinkel
Date: Fri Sep 2 13:17:00 2016
New Revision: 280514
URL: http://llvm.org/viewvc/llvm-project?rev=280514&view=rev
Log:
[PowerPC] Actually add -faltivec for UnitTests/Vector/Altivec
We need to add -faltivec, to enable Altivec language extensions, to compile the
test suite unit tests in SingleSource/UnitTests/Vector/Altivec. That should be
all that is necessary to the CMake configuration, as -faltivec also implies
-maltivec.
Modified:
test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/CMakeLists.txt
Modified: test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/CMakeLists.txt?rev=280514&r1=280513&r2=280514&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/CMakeLists.txt (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/CMakeLists.txt Fri Sep 2 13:17:00 2016
@@ -1,6 +1,4 @@
set(FP_TOLERANCE 0.002)
list(APPEND LDFLAGS -lm)
-list(APPEND TARGET_FLAGS -maltivec)
-list(APPEND TEST_TARGET_FLAGS -maltivec)
-list(APPEND LCCFLAGS -maltivec)
+list(APPEND CFLAGS -faltivec)
llvm_singlesource()
More information about the llvm-commits
mailing list