#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2013, by the GROMACS development team, led by
+# Copyright (c) 2013,2014, by the GROMACS development team, led by
# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
# and including many others, as listed in the AUTHORS file in the
# top-level source directory and at http://www.gromacs.org.
# - Define function to detect whether the compiler's target
# - architecture is one for which GROMACS has special treatment
-# - (e.g. kernel acceleration)
+# (e.g. SIMD instructions)
#
# Sets GMX_TARGET_X86 or GMX_TARGET_BGQ if targetting that
# architecture. May set other such variables if/when there is future
try_compile(GMX_TARGET_BGQ ${CMAKE_BINARY_DIR}
"${CMAKE_SOURCE_DIR}/cmake/TestBlueGeneQ.c")
endif()
+ if (NOT DEFINED GMX_TARGET_MIC)
+ try_compile(GMX_TARGET_MIC ${CMAKE_BINARY_DIR}
+ "${CMAKE_SOURCE_DIR}/cmake/TestMIC.c")
+ endif()
+ if (NOT DEFINED GMX_TARGET_FUJITSU_SPARC64)
+ try_compile(GMX_TARGET_FUJITSU_SPARC64 ${CMAKE_BINARY_DIR}
+ "${CMAKE_SOURCE_DIR}/cmake/TestFujitsuSparc64.c")
+ endif()
endfunction()