Skip to content
Snippets Groups Projects
Commit b0df95ea authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Disable MeshReaderTest on CUDA

parent 4f8e7a3b
No related branches found
No related tags found
No related merge requests found
...@@ -70,18 +70,19 @@ if( VTK_FOUND ) ...@@ -70,18 +70,19 @@ if( VTK_FOUND )
SET( VTK_COMMON_LIBRARIES vtkCommonCore ; vtkIOLegacy ) SET( VTK_COMMON_LIBRARIES vtkCommonCore ; vtkIOLegacy )
endif( VTK_FOUND ) endif( VTK_FOUND )
if( BUILD_CUDA AND ${CMAKE_CXX_COMPILER} MATCHES ".*clang\\+\\+" ) # FIXME: compilation fails with nvcc (CUDA 9.0)
CUDA_ADD_EXECUTABLE( MeshReaderTest${mpiExt}${debugExt} MeshReaderTest.cu #if( BUILD_CUDA AND ${CMAKE_CXX_COMPILER} MATCHES ".*clang\\+\\+" )
OPTIONS ${CXX_TESTS_FLAGS} ) # CUDA_ADD_EXECUTABLE( MeshReaderTest${mpiExt}${debugExt} MeshReaderTest.cu
TARGET_LINK_LIBRARIES( MeshReaderTest${mpiExt}${debugExt} # OPTIONS ${CXX_TESTS_FLAGS} )
${GTEST_BOTH_LIBRARIES} # TARGET_LINK_LIBRARIES( MeshReaderTest${mpiExt}${debugExt}
${VTK_COMMON_LIBRARIES} # ${GTEST_BOTH_LIBRARIES}
tnl${mpiExt}${debugExt}-${tnlVersion} ) # ${VTK_COMMON_LIBRARIES}
else() # tnl${mpiExt}${debugExt}-${tnlVersion} )
#else()
ADD_EXECUTABLE( MeshReaderTest${mpiExt}${debugExt} MeshReaderTest.cpp ) ADD_EXECUTABLE( MeshReaderTest${mpiExt}${debugExt} MeshReaderTest.cpp )
TARGET_COMPILE_OPTIONS( MeshReaderTest${mpiExt}${debugExt} PRIVATE ${CXX_TESTS_FLAGS} ) TARGET_COMPILE_OPTIONS( MeshReaderTest${mpiExt}${debugExt} PRIVATE ${CXX_TESTS_FLAGS} )
TARGET_LINK_LIBRARIES( MeshReaderTest${mpiExt}${debugExt} TARGET_LINK_LIBRARIES( MeshReaderTest${mpiExt}${debugExt}
${GTEST_BOTH_LIBRARIES} ${GTEST_BOTH_LIBRARIES}
${VTK_COMMON_LIBRARIES} ${VTK_COMMON_LIBRARIES}
tnl${debugExt}-${tnlVersion} ) tnl${debugExt}-${tnlVersion} )
endif() #endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment