STYLE: fix indent for file

This commit is contained in:
Bill Hoffman 2008-06-17 11:29:25 -04:00
parent fefe078e58
commit 64498a1287

View File

@ -29,10 +29,10 @@ macro(Check_Fortran_Libraries LIBRARIES _prefix _name _flags _list)
# N.B. _prefix is the prefix applied to the names of all cached variables that # N.B. _prefix is the prefix applied to the names of all cached variables that
# are generated internally and marked advanced by this macro. # are generated internally and marked advanced by this macro.
set(_libraries_work TRUE) set(_libraries_work TRUE)
set(${LIBRARIES}) set(${LIBRARIES})
set(_combined_name) set(_combined_name)
foreach(_library ${_list}) foreach(_library ${_list})
set(_combined_name ${_combined_name}_${_library}) set(_combined_name ${_combined_name}_${_library})
if(_libraries_work) if(_libraries_work)
@ -60,8 +60,8 @@ foreach(_library ${_list})
set(${LIBRARIES} ${${LIBRARIES}} ${${_prefix}_${_library}_LIBRARY}) set(${LIBRARIES} ${${LIBRARIES}} ${${_prefix}_${_library}_LIBRARY})
set(_libraries_work ${${_prefix}_${_library}_LIBRARY}) set(_libraries_work ${${_prefix}_${_library}_LIBRARY})
endif(_libraries_work) endif(_libraries_work)
endforeach(_library ${_list}) endforeach(_library ${_list})
if(_libraries_work) if(_libraries_work)
# Test this combination of libraries. # Test this combination of libraries.
set(CMAKE_REQUIRED_LIBRARIES ${_flags} ${${LIBRARIES}}) set(CMAKE_REQUIRED_LIBRARIES ${_flags} ${${LIBRARIES}})
#message("DEBUG: CMAKE_REQUIRED_LIBRARIES = ${CMAKE_REQUIRED_LIBRARIES}") #message("DEBUG: CMAKE_REQUIRED_LIBRARIES = ${CMAKE_REQUIRED_LIBRARIES}")
@ -69,11 +69,11 @@ if(_libraries_work)
set(CMAKE_REQUIRED_LIBRARIES) set(CMAKE_REQUIRED_LIBRARIES)
mark_as_advanced(${_prefix}${_combined_name}_WORKS) mark_as_advanced(${_prefix}${_combined_name}_WORKS)
set(_libraries_work ${${_prefix}${_combined_name}_WORKS}) set(_libraries_work ${${_prefix}${_combined_name}_WORKS})
endif(_libraries_work) endif(_libraries_work)
if(NOT _libraries_work) if(NOT _libraries_work)
set(${LIBRARIES} FALSE) set(${LIBRARIES} FALSE)
endif(NOT _libraries_work) endif(NOT _libraries_work)
#message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}") #message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}")
endmacro(Check_Fortran_Libraries) endmacro(Check_Fortran_Libraries)
set(BLAS_LINKER_FLAGS) set(BLAS_LINKER_FLAGS)
@ -179,56 +179,56 @@ endif(NOT BLAS_LIBRARIES)
#BLAS in intel mkl 10 library? (em64t 64bit) #BLAS in intel mkl 10 library? (em64t 64bit)
if(NOT BLAS_LIBRARIES) if(NOT BLAS_LIBRARIES)
check_fortran_libraries( check_fortran_libraries(
BLAS_LIBRARIES BLAS_LIBRARIES
BLAS BLAS
sgemm sgemm
"" ""
"mkl_intel_lp64;mkl_intel_thread;mkl_core;guide;pthread" "mkl_intel_lp64;mkl_intel_thread;mkl_core;guide;pthread"
) )
endif(NOT BLAS_LIBRARIES) endif(NOT BLAS_LIBRARIES)
if(NOT BLAS95_LIBRARIES) if(NOT BLAS95_LIBRARIES)
check_fortran_libraries( check_fortran_libraries(
BLAS95_LIBRARIES BLAS95_LIBRARIES
BLAS BLAS
sgemm sgemm
"" ""
"mkl_blas95;mkl_intel_lp64;mkl_intel_thread;mkl_core;guide;pthread" "mkl_blas95;mkl_intel_lp64;mkl_intel_thread;mkl_core;guide;pthread"
) )
endif(NOT BLAS95_LIBRARIES) endif(NOT BLAS95_LIBRARIES)
### windows version of intel mkl 10 ### windows version of intel mkl 10
if(NOT BLAS_LIBRARIES) if(NOT BLAS_LIBRARIES)
check_fortran_libraries( check_fortran_libraries(
BLAS_LIBRARIES BLAS_LIBRARIES
BLAS BLAS
SGEMM SGEMM
"" ""
"mkl_c_dll;mkl_intel_thread_dll;mkl_core_dll;libguide40" "mkl_c_dll;mkl_intel_thread_dll;mkl_core_dll;libguide40"
) )
endif(NOT BLAS_LIBRARIES) endif(NOT BLAS_LIBRARIES)
if(NOT BLAS95_LIBRARIES) if(NOT BLAS95_LIBRARIES)
check_fortran_libraries( check_fortran_libraries(
BLAS95_LIBRARIES BLAS95_LIBRARIES
BLAS BLAS
sgemm sgemm
"" ""
"mkl_blas95;mkl_intel_c;mkl_intel_thread;mkl_core;libguide40" "mkl_blas95;mkl_intel_c;mkl_intel_thread;mkl_core;libguide40"
) )
endif(NOT BLAS95_LIBRARIES) endif(NOT BLAS95_LIBRARIES)
# linux 32 bit # linux 32 bit
if(NOT BLAS95_LIBRARIES) if(NOT BLAS95_LIBRARIES)
check_fortran_libraries( check_fortran_libraries(
BLAS95_LIBRARIES BLAS95_LIBRARIES
BLAS BLAS
sgemm sgemm
"" ""
"mkl_blas95;mkl_intel;mkl_intel_thread;mkl_core;guide;pthread" "mkl_blas95;mkl_intel;mkl_intel_thread;mkl_core;guide;pthread"
) )
endif(NOT BLAS95_LIBRARIES) endif(NOT BLAS95_LIBRARIES)
@ -248,36 +248,36 @@ endif(NOT BLAS_LIBRARIES)
#BLAS in intel mkl library? (static, 32bit) #BLAS in intel mkl library? (static, 32bit)
if(NOT BLAS_LIBRARIES) if(NOT BLAS_LIBRARIES)
check_fortran_libraries( check_fortran_libraries(
BLAS_LIBRARIES BLAS_LIBRARIES
BLAS BLAS
sgemm sgemm
"" ""
"mkl_ia32;guide;pthread" "mkl_ia32;guide;pthread"
) )
endif(NOT BLAS_LIBRARIES) endif(NOT BLAS_LIBRARIES)
#BLAS in intel mkl library? (static, em64t 64bit) #BLAS in intel mkl library? (static, em64t 64bit)
if(NOT BLAS_LIBRARIES) if(NOT BLAS_LIBRARIES)
check_fortran_libraries( check_fortran_libraries(
BLAS_LIBRARIES BLAS_LIBRARIES
BLAS BLAS
sgemm sgemm
"" ""
"mkl_em64t;guide;pthread" "mkl_em64t;guide;pthread"
) )
endif(NOT BLAS_LIBRARIES) endif(NOT BLAS_LIBRARIES)
#BLAS in acml library? #BLAS in acml library?
if(NOT BLAS_LIBRARIES) if(NOT BLAS_LIBRARIES)
check_fortran_libraries( check_fortran_libraries(
BLAS_LIBRARIES BLAS_LIBRARIES
BLAS BLAS
sgemm sgemm
"" ""
"acml" "acml"
) )
endif(NOT BLAS_LIBRARIES) endif(NOT BLAS_LIBRARIES)
# Apple BLAS library? # Apple BLAS library?
@ -290,9 +290,9 @@ if(NOT BLAS_LIBRARIES)
"Accelerate" "Accelerate"
) )
endif(NOT BLAS_LIBRARIES) endif(NOT BLAS_LIBRARIES)
if ( NOT BLAS_LIBRARIES ) if ( NOT BLAS_LIBRARIES )
check_fortran_libraries( check_fortran_libraries(
BLAS_LIBRARIES BLAS_LIBRARIES
BLAS BLAS
@ -300,7 +300,7 @@ if(NOT BLAS_LIBRARIES)
"" ""
"vecLib" "vecLib"
) )
endif ( NOT BLAS_LIBRARIES ) endif ( NOT BLAS_LIBRARIES )
# Generic BLAS library? # Generic BLAS library?