[test-suite] r267439 - [test-suite] Set unique prefix for Vector and Vector/NEON
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 25 11:42:23 PDT 2016
Author: tra
Date: Mon Apr 25 13:42:23 2016
New Revision: 267439
URL: http://llvm.org/viewvc/llvm-project?rev=267439&view=rev
Log:
[test-suite] Set unique prefix for Vector and Vector/NEON
This prevents name clashes for test targets CMake generates on arm.
Modified:
test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt
test-suite/trunk/SingleSource/UnitTests/Vector/NEON/CMakeLists.txt
Modified: test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt?rev=267439&r1=267438&r2=267439&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vector/CMakeLists.txt Mon Apr 25 13:42:23 2016
@@ -1,3 +1,4 @@
+llvm_target_prefix("Vector")
if(ARCH STREQUAL "PowerPC")
llvm_add_subdirectories(Altivec)
endif()
Modified: test-suite/trunk/SingleSource/UnitTests/Vector/NEON/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vector/NEON/CMakeLists.txt?rev=267439&r1=267438&r2=267439&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vector/NEON/CMakeLists.txt (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vector/NEON/CMakeLists.txt Mon Apr 25 13:42:23 2016
@@ -1,2 +1,3 @@
+llvm_target_prefix("Vector-NEON")
list(APPEND CFLAGS -std=c99)
llvm_singlesource()
More information about the llvm-commits
mailing list