CMakeLists.txt 1.36 KB
Newer Older
1 2 3 4 5 6
###
#
# @copyright (c) 2009-2014 The University of Tennessee and The University
#                          of Tennessee Research Foundation.
#                          All rights reserved.
# @copyright (c) 2012-2014 Inria. All rights reserved.
7
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#
###
#
#  @file CMakeLists.txt
#
#  @project MORSE
#  MORSE is a software package provided by:
#     Inria Bordeaux - Sud-Ouest,
#     Univ. of Tennessee,
#     King Abdullah Univesity of Science and Technology
#     Univ. of California Berkeley,
#     Univ. of Colorado Denver.
#
#  @version 1.0.0
#  @date 17-10-2014
#
###
25 26 27
if (CHAMELEON_SIMULATION)
  message(ERROR "example directory should not be included when simulation is enabled")
endif()
28 29 30

add_subdirectory(basic_zposv)

31
if (CHAMELEON_PREC_D)
32
    add_subdirectory(lapack_to_morse)
33
    if (CHAMELEON_SCHED_STARPU)
34 35 36
        if (${STARPU_VERSION_MAJOR} GREATER 0 AND ${STARPU_VERSION_MINOR} GREATER 1)
            add_subdirectory(out_of_core)
        endif()
37
    endif()
38
else()
39 40 41 42
    message(WARNING "CHAMELEON_PREC_D is set to OFF so that lapack_to_morse "
    "and out_core tutorials cannot be built (use only double arithmetic "
    "precision).\n Please set CHAMELEON_PREC_D to ON if you want to build "
    "executables of this tutorial.")
43 44 45 46 47
endif()

###
### END CMakeLists.txt
###