You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
974 B

  1. macro(ei_add_blas_test testname)
  2. set(targetname ${testname})
  3. set(filename ${testname}.f)
  4. add_executable(${targetname} ${filename})
  5. target_link_libraries(${targetname} eigen_blas)
  6. if(STORMEIGEN_STANDARD_LIBRARIES_TO_LINK_TO)
  7. target_link_libraries(${targetname} ${STORMEIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
  8. endif()
  9. target_link_libraries(${targetname} ${EXTERNAL_LIBS})
  10. add_test(${testname} "${Eigen_SOURCE_DIR}/blas/testing/runblastest.sh" "${testname}" "${Eigen_SOURCE_DIR}/blas/testing/${testname}.dat")
  11. add_dependencies(buildtests ${targetname})
  12. endmacro(ei_add_blas_test)
  13. ei_add_blas_test(sblat1)
  14. ei_add_blas_test(sblat2)
  15. ei_add_blas_test(sblat3)
  16. ei_add_blas_test(dblat1)
  17. ei_add_blas_test(dblat2)
  18. ei_add_blas_test(dblat3)
  19. ei_add_blas_test(cblat1)
  20. ei_add_blas_test(cblat2)
  21. ei_add_blas_test(cblat3)
  22. ei_add_blas_test(zblat1)
  23. ei_add_blas_test(zblat2)
  24. ei_add_blas_test(zblat3)
  25. # add_custom_target(level1)
  26. # add_dependencies(level1 sblat1)