1
1
openmpi/ompi/mpiext/cuda/configure.m4
2015-08-05 17:23:55 -04:00

28 строки
898 B
Bash

# -*- shell-script -*-
#
# Copyright (c) 2004-2010 The Trustees of Indiana University.
# All rights reserved.
# Copyright (c) 2012-2015 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2015 Intel, Inc. All rights reserved.
# Copyright (c) 2015 NVIDIA, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# OMPI_MPIEXT_cuda_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([OMPI_MPIEXT_cuda_CONFIG],[
AC_CONFIG_FILES([ompi/mpiext/cuda/Makefile])
AC_CONFIG_FILES([ompi/mpiext/cuda/c/Makefile])
# We compile this whether CUDA support was requested or not. It allows
# us to to detect if we have CUDA support.
AS_IF([test "$ENABLE_cuda" = "1" || \
test "$ENABLE_EXT_ALL" = "1"],
[$1],
[$2])
])