Skip to content
Commits on Source (3)
AC_INIT([nanox], [0.13], [pm-tools@bsc.es])
AC_INIT([nanox], [0.13.1], [pm-tools@bsc.es])
AC_LANG([C++])
AC_CONFIG_SRCDIR([src/core/system.cpp])
AC_DEFINE_UNQUOTED([NANOX_CONFIGURE_ARGS], ["$0 $@"], [Configure line])
......@@ -144,42 +144,7 @@ AX_CHECK_XDMA
AX_ENABLE_TASK_CALLBACK
# Extrae check
MPITRACE_HOME=""
MPITRACE_INC=""
MPITRACE_LIB=""
MPITRACE_BIN=""
AC_ARG_WITH([extrae],
AS_HELP_STRING([--with-extrae=dir], [Directory of Extrae installation]),
[
extrae_version_h=$withval/include/extrae_version.h
AS_IF([test -e $extrae_version_h],[
extrae_version_string=$(sed -ne '/^\s*#\s*define\s\+EXTRAE_VERSION .*$/p' $extrae_version_h)
extrae_version=$(echo $extrae_version_string | sed -e 's/#define EXTRAE_VERSION EXTRAE_VERSION_NUMBER(\([0-9]*\),\([0-9]*\),\([0-9]*\).*$/\1\2\3/')
AS_IF([test "$extrae_version" -ge 240],[
MPITRACE_HOME="$withval"
MPITRACE_INC="$withval/include"
MPITRACE_LIB="$withval/lib"
AS_IF([test -d "$MPITRACE_HOME/lib64"],[
MPITRACE_LIB="$MPITRACE_HOME/lib64"
])
MPITRACE_BIN="$withval/bin"
AC_MSG_RESULT([checking if Extrae library is compatible... yes])
],[
AC_MSG_ERROR([checking if Extrae library is compatible... no (Extrae > 2.4 needed)])
])
],[
AC_MSG_ERROR([checking if Extrae library is compatible... no (Extrae > 2.4 needed)])
])
]
)
AC_SUBST([MPITRACE_HOME])
AC_SUBST([MPITRACE_INC])
AC_SUBST([MPITRACE_LIB])
AC_SUBST([MPITRACE_BIN])
AM_CONDITIONAL([instrumentation_EXTRAE], test x"$MPITRACE_HOME" != x)
AX_CHECK_EXTRAE
# Check NextSim support
AC_ARG_WITH([nextsim],
......
#
# SYNOPSIS
#
# AX_CHECK_GASNET
# AX_CHECK_DLB
#
# DESCRIPTION
#
# Check whether Dynamic Load Balancing (DLB) path to the headers and libraries are correctly specified.
# Check Dynamic Load Balancing (DLB) support
#
# LICENSE
#
# Copyright (c) 2015 Jorge Bellon <jbellon@bsc.es>
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
# scripts that are the output of Autoconf when processing the Macro. You
# need not follow the terms of the GNU General Public License when using
# or distributing such scripts, even though portions of the text of the
# Macro appear in them. The GNU General Public License (GPL) does govern
# all other use of the material that constitutes the Autoconf Macro.
#
# This special exception to the GPL applies to versions of the Autoconf
# Macro released by the Autoconf Archive. When you make and distribute a
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
AC_DEFUN([AX_CHECK_DLB],
[
AC_REQUIRE([AX_PTHREAD])
# It is also possible to specify an MPI installation directory where header and library files should be placed
AC_ARG_WITH(dlb,
[AS_HELP_STRING([--with-dlb,--with-dlb=PATH],
[search in system directories or specify prefix directory for installed GASNet package.])],
[
# Check if the user provided a valid PATH
AS_IF([test -d "$withval"],[
dlb_check=yes
dlb_path_provided=yes
],[
dlb_check=$withval
dlb_path_provided=no
])dnl
],[
dlb_check=no
dlb_path_provided=no
])
AC_ARG_WITH(dlb-include,
[AS_HELP_STRING([--with-dlb-include=PATH],
[specify directory for installed GASNet include files])])
AC_ARG_WITH(dlb-lib,
[AS_HELP_STRING([--with-dlb-lib=PATH],
[specify directory for the installed GASNet library])])
# If the user specifies --with-dlb, $with_dlb value will be 'yes'
# --without-dlb, $with_dlb value will be 'no'
# --with-dlb=somevalue, $with_dlb value will be 'somevalue'
AS_IF([test x$dlb_path_provided = xyes],[
dlbinc="-I$with_dlb/include"
dlblib="-L$with_dlb/lib -Wl,-rpath,$with_dlb/lib"
])dnl
AS_IF([test "$with_dlb_include"],[
dlbinc="-I$with_dlb_include"
])dnl
AS_IF([test "$with_dlb_lib"],[
dlblib="-L$with_dlb_lib -Wl,-rpath,$with_dlb_lib"
])dnl
AS_IF([test "$dlb_check" = yes],[
AC_LANG_PUSH([C++])
AX_VAR_PUSHVALUE([CPPFLAGS])
AX_VAR_PUSHVALUE([CXXFLAGS])
AX_VAR_PUSHVALUE([LDLAGS])
AX_VAR_PUSHVALUE([LIBS],[])
AX_APPEND_FLAG([$dlbinc],[CPPFLAGS])
AX_APPEND_FLAG([$PTHREAD_CFLAGS],[CXXFLAGS])
AX_APPEND_FLAG([$dlblib],[LDFLAGS])
# Look for a valid header file
AC_CHECK_HEADERS([DLB_interface.h],
[dlb_check=yes],
[dlb_check=no])
# Check all DLB library versions: dlb dlb_dbg dlb_instr dlb_instr_dbg
m4_foreach([version],[[dlb],[dlb_dbg],[dlb_instr],[dlb_instr_dbg]],[
_AX_CHECK_DLB_LIB_VERSION(version)
])
AS_IF([test "$dlb_check" = no],
[
AC_MSG_ERROR([
------------------------------
DLB path was not correctly specified.
Please, check that the provided directories are correct.
------------------------------])
])dnl
AX_VAR_POPVALUE([CPPFLAGS])
AX_VAR_POPVALUE([CXXFLAGS])
AX_VAR_POPVALUE([LDLAGS])
AX_VAR_POPVALUE([LIBS])
AC_LANG_POP([C++])
# Enable support.
AC_DEFINE([DLB],[],[Enables DLB support.])
])dnl if dlb
AM_CONDITIONAL([DLB], [test "$dlb_check" = yes])
AC_SUBST([dlbinc])
AC_SUBST([dlblib])
AC_SUBST([dlb])
AC_SUBST([dlb_dbg])
AC_SUBST([dlb_instr])
AC_SUBST([dlb_instr_dbg])
AS_IF([test "$dlb_check" = yes], [
AC_SUBST([HAVE_DLB], [DLB])
], [
AC_SUBST([HAVE_DLB], [NO_DLB])
AC_MSG_CHECKING([for DLB])
AC_ARG_WITH([dlb],
[AS_HELP_STRING([--with-dlb@<:@=DIR@:>@], [build with DLB library support])],
[], dnl Implicit: with_mpi=$withvalue
[with_dlb=no]
)
AC_MSG_RESULT([$with_dlb])
AS_IF([test "x$with_dlb" != xno], [
AS_IF([test -d "$with_dlb"], [
AS_IF([test -d "$with_dlb/include"], [dlbcppflags="-I$with_dlb/include"])
AS_IF([test -d "$with_dlb/lib"], [dlbldflags="-L$with_dlb/lib"])
])
### DLB INCLUDES
AC_LANG_PUSH([C++])
AX_VAR_PUSHVALUE([CPPFLAGS], [$dlbcppflags])
AC_CHECK_HEADERS([DLB_interface.h], [
# header found, do nothing
], [
AS_IF([test "x$with_dlb" != xcheck], [AC_MSG_ERROR([Cannot find DLB headers])])
with_dlb=no
])
AX_VAR_POPVALUE([CPPFLAGS])
AC_LANG_POP([C++])
])
AS_IF([test "x$with_dlb" != xno], [
### DLB LIBS
AC_LANG_PUSH([C++])
AX_VAR_PUSHVALUE([LIBS], [""])
AX_VAR_PUSHVALUE([LDFLAGS], [$dlbldflags])
AC_SEARCH_LIBS([DLB_Init], [dlb], [
dlblibs="$LIBS"
], [
AS_IF([test "x$with_dlb" != xcheck], [AC_MSG_ERROR([Cannot find DLB libraries])])
with_dlb=no
])
AX_VAR_POPVALUE([LDFLAGS])
AX_VAR_POPVALUE([LIBS])
AC_LANG_POP([C++])
])
AS_IF([test "x$with_dlb" != xno], [
AC_DEFINE([DLB],[],[Enables DLB support.])
AC_SUBST([HAVE_DLB], [DLB])
], [
AC_SUBST([HAVE_DLB], [NO_DLB])
])
AC_SUBST([dlbcppflags])
AC_SUBST([dlbldflags])
AC_SUBST([dlblibs])
])
])dnl AX_CHECK_DLB
# _AX_CHECK_DLB_LIB_VERSION(version)
# Helper function that checks for the availability of a single DLB library version
# Parameters:
# $1 - Version name: dlb dlb_dbg dlb_instr dlb_instr_dbg
AC_DEFUN([_AX_CHECK_DLB_LIB_VERSION],
[
AS_VAR_PUSHDEF([lib_name],[$1])
LIBS=
AS_IF([test "$dlb_check" = yes],[
AC_SEARCH_LIBS([DLB_Init],
[lib_name],
[dlb_check=yes],
[dlb_check=no])
])
unset ac_cv_search_DLB_Init
AS_VAR_SET([lib_name],[$LIBS])
AS_VAR_POPDEF([lib_name])dnl
])dnl _AX_CHECK_CONDUIT
#
# SYNOPSIS
#
# AX_CHECK_EXTRAE
#
# DESCRIPTION
#
# Check Extrae support
#
AC_DEFUN([AX_CHECK_EXTRAE],
[
MPITRACE_HOME=""
MPITRACE_INC=""
MPITRACE_LIB=""
MPITRACE_BIN=""
AC_MSG_CHECKING([for Extrae])
AC_ARG_WITH([extrae],
AS_HELP_STRING([--with-extrae=PATH], [build with Extrae support]),
[], dnl Implicit: with_extrae=$withvalue
[with_extrae=no]
)
AC_MSG_RESULT([$with_extrae])
AS_IF([test "x$with_extrae" != xno], [
# Extrae 2.4 or higher is needed
# Header extrae_version.h exists until Extrae 3.4
# API Extrae_get_version exists since Extrae 3.4
AC_MSG_CHECKING([for Extrae version])
extrae_version_h=$with_extrae/include/extrae_version.h
AS_IF([test -e $extrae_version_h], [
extrae_version_string=$(sed -ne '/^\s*#\s*define\s\+EXTRAE_VERSION .*$/p' $extrae_version_h)
extrae_version=$(echo $extrae_version_string | sed -e 's/#define EXTRAE_VERSION EXTRAE_VERSION_NUMBER(\([0-9]*\),\([0-9]*\),\([0-9]*\).*$/\1\2\3/')
], [
# Obtain version through Extrae API
AC_LANG_PUSH([C])
AC_LANG_CONFTEST([
AC_LANG_SOURCE([[
#include <stdio.h>
void Extrae_get_version (unsigned *major, unsigned *minor, unsigned *revision);
int main()
{
unsigned major, minor, revision;
Extrae_get_version(&major, &minor, &revision);
printf("%1d%1d%1d\n", major, minor, revision);
return 0;
}
]])
])
AC_LANG_POP([C])
AS_IF([$CC conftest.c -o conftest \
-lnanostrace -L$with_extrae/lib -Wl,-rpath,$with_extrae/lib \
2>&AS_MESSAGE_LOG_FD 1>&2], [
extrae_version=$(./conftest)
])
rm -f conftest
])
AC_MSG_RESULT([$extrae_version])
AS_IF([test "$extrae_version" -ge 240],[
MPITRACE_HOME="$withval"
MPITRACE_INC="$withval/include"
MPITRACE_LIB="$withval/lib"
AS_IF([test -d "$MPITRACE_HOME/lib64"],[
MPITRACE_LIB="$MPITRACE_HOME/lib64"
])
MPITRACE_BIN="$withval/bin"
AC_MSG_RESULT([checking if Extrae library is compatible... yes])
],[
AC_MSG_ERROR([checking if Extrae library is compatible... no (Extrae >= 2.4 needed)])
])
])
AC_SUBST([MPITRACE_HOME])
AC_SUBST([MPITRACE_INC])
AC_SUBST([MPITRACE_LIB])
AC_SUBST([MPITRACE_BIN])
AM_CONDITIONAL([instrumentation_EXTRAE], test x"$MPITRACE_HOME" != x)
])
......@@ -298,8 +298,8 @@ instr_sources = \
instrumentationcontext.cpp \
$(END)
common_core_cppflags = @dlbinc@
common_core_ldflags = $(AM_LDFLAGS) $(version_flags) @dlblib@ -Wl,-enable-new-dtags
common_core_cppflags = @dlbcppflags@
common_core_ldflags = $(AM_LDFLAGS) $(version_flags) @dlbldflags@ -Wl,-enable-new-dtags
debug_LTLIBRARIES=
instrumentation_LTLIBRARIES=
......@@ -312,7 +312,7 @@ debug_LTLIBRARIES+=debug/libnanox.la
debug_libnanox_la_CPPFLAGS=$(common_debug_CPPFLAGS) $(common_core_cppflags)
debug_libnanox_la_CXXFLAGS=$(common_debug_CXXFLAGS)
debug_libnanox_la_LDFLAGS=$(common_core_ldflags) -Wl,-rpath,$(libdir)/debug
debug_libnanox_la_LIBADD=$(common_libadd) @dlb_dbg@ @nanos_config_libs_debug@
debug_libnanox_la_LIBADD=$(common_libadd) @dlblibs@ @nanos_config_libs_debug@
debug_libnanox_la_SOURCES=$(common_sources)
debug_libnanox_la_DEPENDENCIES=$(common_libadd) @nanos_config_libs_debug@
endif
......@@ -323,7 +323,7 @@ instrumentation_debug_LTLIBRARIES+=instrumentation-debug/libnanox.la
instrumentation_debug_libnanox_la_CPPFLAGS=$(common_instrumentation_debug_CPPFLAGS) $(common_core_cppflags)
instrumentation_debug_libnanox_la_CXXFLAGS=$(common_instrumentation_debug_CXXFLAGS)
instrumentation_debug_libnanox_la_LDFLAGS=$(common_core_ldflags) -Wl,-rpath,$(libdir)/instrumentation-debug
instrumentation_debug_libnanox_la_LIBADD=$(common_libadd) @dlb_instr_dbg@ @nanos_config_libs_instrumentation_debug@
instrumentation_debug_libnanox_la_LIBADD=$(common_libadd) @dlblibs@ @nanos_config_libs_instrumentation_debug@
instrumentation_debug_libnanox_la_SOURCES=$(common_sources) $(instr_sources)
instrumentation_debug_libnanox_la_DEPENDENCIES=$(common_libadd) @nanos_config_libs_instrumentation_debug@
endif
......@@ -334,7 +334,7 @@ instrumentation_LTLIBRARIES+=instrumentation/libnanox.la
instrumentation_libnanox_la_CPPFLAGS=$(common_instrumentation_CPPFLAGS) $(common_core_cppflags)
instrumentation_libnanox_la_CXXFLAGS=$(common_instrumentation_CXXFLAGS)
instrumentation_libnanox_la_LDFLAGS=$(common_core_ldflags) -Wl,-rpath,$(libdir)/instrumentation
instrumentation_libnanox_la_LIBADD=$(common_libadd) @dlb_instr@ @nanos_config_libs_instrumentation@
instrumentation_libnanox_la_LIBADD=$(common_libadd) @dlblibs@ @nanos_config_libs_instrumentation@
instrumentation_libnanox_la_SOURCES=$(common_sources) $(instr_sources)
instrumentation_libnanox_la_DEPENDENCIES=$(common_libadd) @nanos_config_libs_instrumentation@
endif
......@@ -345,7 +345,7 @@ performance_LTLIBRARIES+=performance/libnanox.la
performance_libnanox_la_CPPFLAGS=$(common_performance_CPPFLAGS) $(common_core_cppflags)
performance_libnanox_la_CXXFLAGS=$(common_performance_CXXFLAGS)
performance_libnanox_la_LDFLAGS=$(common_core_ldflags) -Wl,-rpath,$(libdir)/performance
performance_libnanox_la_LIBADD=$(common_libadd) @dlb@ @nanos_config_libs_performance@
performance_libnanox_la_LIBADD=$(common_libadd) @dlblibs@ @nanos_config_libs_performance@
performance_libnanox_la_SOURCES=$(common_sources)
performance_libnanox_la_DEPENDENCIES=$(common_libadd) @nanos_config_libs_performance@
endif
......
......@@ -39,32 +39,8 @@
#include "errno.h"
#include <unistd.h>
#ifndef EXTRAE_VERSION
#warning Extrae library version is not supported (use >= 2.4):
#else
# define NANOX_EXTRAE_SUPPORTED_VERSION
# if EXTRAE_VERSION_MAJOR(EXTRAE_VERSION) == 2 /************* version 2.x.x */
# define extrae_size_t unsigned int
# if EXTRAE_VERSION_MINOR(EXTRAE_VERSION) == 2 /*********** version 2.2.x */
# warning Extrae library version is not supported (use >= 2.4):
# undef NANOX_EXTRAE_SUPPORTED_VERSION
# endif /*------------------------------------------------- version 2.2.x */
# if EXTRAE_VERSION_MINOR(EXTRAE_VERSION) == 3 /*********** version 2.3.x */
# warning Extrae library version is not supported (use >= 2.4):
# undef NANOX_EXTRAE_SUPPORTED_VERSION
# endif /*------------------------------------------------- version 2.3.x */
#define extrae_size_t unsigned int
# endif /*--------------------------------------------------- version 2.x.x */
# if EXTRAE_VERSION_MAJOR(EXTRAE_VERSION) == 3 /************* version 3.x.x */
# define extrae_size_t unsigned int
# endif /*--------------------------------------------------- version 3.x.x */
#endif
#ifdef NANOX_EXTRAE_SUPPORTED_VERSION
extern "C" {
unsigned int nanos_ompitrace_get_max_threads ( void );
unsigned int nanos_ompitrace_get_thread_num ( void );
......@@ -645,5 +621,3 @@ class InstrumentationParaverPlugin : public Plugin {
} // namespace nanos
DECLARE_PLUGIN("instrumentation-paraver",nanos::ext::InstrumentationParaverPlugin);
#endif
......@@ -62,17 +62,17 @@ debug_LTLIBRARIES+=\
debug/libnanox-ompss.la\
debug/libnanox-ompss-stubs.la
debug_libnanox_omp_la_CPPFLAGS=$(common_debug_CPPFLAGS) $(api_includes) # @cudainc@
debug_libnanox_omp_la_CPPFLAGS=$(common_debug_CPPFLAGS) $(api_includes) @dlbcppflags@ # @cudainc@
debug_libnanox_omp_la_CXXFLAGS=$(common_debug_CXXFLAGS)
debug_libnanox_omp_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags)
debug_libnanox_omp_la_LIBADD=$(top_builddir)/src/core/debug/libnanox.la
debug_libnanox_omp_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags) @dlbldflags@
debug_libnanox_omp_la_LIBADD=$(top_builddir)/src/core/debug/libnanox.la @dlblibs@
debug_libnanox_omp_la_SOURCES=$(omp_sources)
debug_libnanox_omp_la_DEPENDENCIES=$(top_builddir)/src/core/debug/libnanox.la
debug_libnanox_ompss_la_CPPFLAGS=$(common_debug_CPPFLAGS) $(api_includes) -DNANOX_SS_SUPPORT # @cudainc@
debug_libnanox_ompss_la_CPPFLAGS=$(common_debug_CPPFLAGS) $(api_includes) -DNANOX_SS_SUPPORT @dlbcppflags@ # @cudainc@
debug_libnanox_ompss_la_CXXFLAGS=$(common_debug_CXXFLAGS)
debug_libnanox_ompss_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags)
debug_libnanox_ompss_la_LIBADD=$(top_builddir)/src/core/debug/libnanox.la
debug_libnanox_ompss_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags) @dlbldflags@
debug_libnanox_ompss_la_LIBADD=$(top_builddir)/src/core/debug/libnanox.la @dlblibs@
debug_libnanox_ompss_la_SOURCES=$(omp_sources)
debug_libnanox_ompss_la_DEPENDENCIES=$(top_builddir)/src/core/debug/libnanox.la
......@@ -96,17 +96,17 @@ instrumentation_debug_LTLIBRARIES+=\
instrumentation-debug/libnanox-ompss.la\
instrumentation-debug/libnanox-ompss-stubs.la
instrumentation_debug_libnanox_omp_la_CPPFLAGS=$(common_instrumentation_debug_CPPFLAGS) $(api_includes) # @cudainc@
instrumentation_debug_libnanox_omp_la_CPPFLAGS=$(common_instrumentation_debug_CPPFLAGS) $(api_includes) @dlbcppflags@ # @cudainc@
instrumentation_debug_libnanox_omp_la_CXXFLAGS=$(common_instrumentation_debug_CXXFLAGS)
instrumentation_debug_libnanox_omp_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags)
instrumentation_debug_libnanox_omp_la_LIBADD=$(top_builddir)/src/core/instrumentation-debug/libnanox.la
instrumentation_debug_libnanox_omp_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags) @dlbldflags@
instrumentation_debug_libnanox_omp_la_LIBADD=$(top_builddir)/src/core/instrumentation-debug/libnanox.la @dlblibs@
instrumentation_debug_libnanox_omp_la_SOURCES=$(omp_sources)
instrumentation_debug_libnanox_omp_la_DEPENDENCIES=$(top_builddir)/src/core/instrumentation-debug/libnanox.la
instrumentation_debug_libnanox_ompss_la_CPPFLAGS=$(common_instrumentation_debug_CPPFLAGS) $(api_includes) -DNANOX_SS_SUPPORT # @cudainc@
instrumentation_debug_libnanox_ompss_la_CPPFLAGS=$(common_instrumentation_debug_CPPFLAGS) $(api_includes) -DNANOX_SS_SUPPORT @dlbcppflags@ # @cudainc@
instrumentation_debug_libnanox_ompss_la_CXXFLAGS=$(common_instrumentation_debug_CXXFLAGS)
instrumentation_debug_libnanox_ompss_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags)
instrumentation_debug_libnanox_ompss_la_LIBADD=$(top_builddir)/src/core/instrumentation-debug/libnanox.la
instrumentation_debug_libnanox_ompss_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags) @dlbldflags@
instrumentation_debug_libnanox_ompss_la_LIBADD=$(top_builddir)/src/core/instrumentation-debug/libnanox.la @dlblibs@
instrumentation_debug_libnanox_ompss_la_SOURCES=$(omp_sources)
instrumentation_debug_libnanox_ompss_la_DEPENDENCIES=$(top_builddir)/src/core/instrumentation-debug/libnanox.la
......@@ -130,17 +130,17 @@ instrumentation_LTLIBRARIES+=\
instrumentation/libnanox-ompss.la\
instrumentation/libnanox-ompss-stubs.la
instrumentation_libnanox_omp_la_CPPFLAGS=$(common_instrumentation_CPPFLAGS) $(api_includes) # @cudainc@
instrumentation_libnanox_omp_la_CPPFLAGS=$(common_instrumentation_CPPFLAGS) $(api_includes) @dlbcppflags@ # @cudainc@
instrumentation_libnanox_omp_la_CXXFLAGS=$(common_instrumentation_CXXFLAGS)
instrumentation_libnanox_omp_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags)
instrumentation_libnanox_omp_la_LIBADD=$(top_builddir)/src/core/instrumentation/libnanox.la
instrumentation_libnanox_omp_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags) @dlbldflags@
instrumentation_libnanox_omp_la_LIBADD=$(top_builddir)/src/core/instrumentation/libnanox.la @dlblibs@
instrumentation_libnanox_omp_la_SOURCES=$(omp_sources)
instrumentation_libnanox_omp_la_DEPENDENCIES=$(top_builddir)/src/core/instrumentation/libnanox.la
instrumentation_libnanox_ompss_la_CPPFLAGS=$(common_instrumentation_CPPFLAGS) $(api_includes) -DNANOX_SS_SUPPORT # @cudainc@
instrumentation_libnanox_ompss_la_CPPFLAGS=$(common_instrumentation_CPPFLAGS) $(api_includes) -DNANOX_SS_SUPPORT @dlbcppflags@ # @cudainc@
instrumentation_libnanox_ompss_la_CXXFLAGS=$(common_instrumentation_CXXFLAGS)
instrumentation_libnanox_ompss_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags)
instrumentation_libnanox_ompss_la_LIBADD=$(top_builddir)/src/core/instrumentation/libnanox.la
instrumentation_libnanox_ompss_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags) @dlbldflags@
instrumentation_libnanox_ompss_la_LIBADD=$(top_builddir)/src/core/instrumentation/libnanox.la @dlblibs@
instrumentation_libnanox_ompss_la_SOURCES=$(omp_sources)
instrumentation_libnanox_ompss_la_DEPENDENCIES=$(top_builddir)/src/core/instrumentation/libnanox.la
......@@ -164,17 +164,17 @@ performance_LTLIBRARIES+=\
performance/libnanox-ompss.la\
performance/libnanox-ompss-stubs.la
performance_libnanox_omp_la_CPPFLAGS=$(common_performance_CPPFLAGS) $(api_includes) # @cudainc@
performance_libnanox_omp_la_CPPFLAGS=$(common_performance_CPPFLAGS) $(api_includes) @dlbcppflags@ # @cudainc@
performance_libnanox_omp_la_CXXFLAGS=$(common_performance_CXXFLAGS)
performance_libnanox_omp_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags)
performance_libnanox_omp_la_LIBADD=$(top_builddir)/src/core/performance/libnanox.la
performance_libnanox_omp_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags) @dlbldflags@
performance_libnanox_omp_la_LIBADD=$(top_builddir)/src/core/performance/libnanox.la @dlblibs@
performance_libnanox_omp_la_SOURCES=$(omp_sources)
performance_libnanox_omp_la_DEPENDENCIES=$(top_builddir)/src/core/performance/libnanox.la
performance_libnanox_ompss_la_CPPFLAGS=$(common_performance_CPPFLAGS) $(api_includes) -DNANOX_SS_SUPPORT # @cudainc@
performance_libnanox_ompss_la_CPPFLAGS=$(common_performance_CPPFLAGS) $(api_includes) -DNANOX_SS_SUPPORT @dlbcppflags@ # @cudainc@
performance_libnanox_ompss_la_CXXFLAGS=$(common_performance_CXXFLAGS)
performance_libnanox_ompss_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags)
performance_libnanox_ompss_la_LIBADD=$(top_builddir)/src/core/performance/libnanox.la
performance_libnanox_ompss_la_LDFLAGS=$(AM_LDFLAGS) $(version_flags) @dlbldflags@
performance_libnanox_ompss_la_LIBADD=$(top_builddir)/src/core/performance/libnanox.la @dlblibs@
performance_libnanox_ompss_la_SOURCES=$(omp_sources)
performance_libnanox_ompss_la_DEPENDENCIES=$(top_builddir)/src/core/performance/libnanox.la
......
......@@ -233,40 +233,40 @@ noinst_LTLIBRARIES =
if is_debug_enabled
noinst_LTLIBRARIES += debug/libsupport.la
debug_libsupport_la_CPPFLAGS=$(common_debug_CPPFLAGS) @dlbinc@ @cudainc@ @sqlite3inc@
debug_libsupport_la_CPPFLAGS=$(common_debug_CPPFLAGS) @cudainc@ @sqlite3inc@
debug_libsupport_la_CXXFLAGS=$(common_debug_CXXFLAGS)
debug_libsupport_la_SOURCES=$(support_sources) $(debug_sources) $(gpu_support_sources)
debug_libsupport_la_LDFLAGS=$(AM_LDFLAGS) @dlblib@ @cudalib@ @sqlite3lib@
debug_libsupport_la_LIBADD=@dlb_dbg@ @sqlite3libs@
debug_libsupport_la_LDFLAGS=$(AM_LDFLAGS) @cudalib@ @sqlite3lib@
debug_libsupport_la_LIBADD=@sqlite3libs@
endif
if is_instrumentation_debug_enabled
noinst_LTLIBRARIES += instrumentation-debug/libsupport.la
instrumentation_debug_libsupport_la_CPPFLAGS=$(common_instrumentation_debug_CPPFLAGS) @dlbinc@ @cudainc@ @sqlite3inc@
instrumentation_debug_libsupport_la_CPPFLAGS=$(common_instrumentation_debug_CPPFLAGS) @cudainc@ @sqlite3inc@
instrumentation_debug_libsupport_la_CXXFLAGS=$(common_instrumentation_debug_CXXFLAGS)
instrumentation_debug_libsupport_la_SOURCES=$(support_sources) $(instrumentation_debug_sources) $(gpu_support_sources)
instrumentation_debug_libsupport_la_LDFLAGS=$(AM_LDFLAGS) @dlblib@ @cudalib@ @sqlite3lib@
instrumentation_debug_libsupport_la_LIBADD=@dlb_instr_dbg@ @sqlite3libs@
instrumentation_debug_libsupport_la_LDFLAGS=$(AM_LDFLAGS) @cudalib@ @sqlite3lib@
instrumentation_debug_libsupport_la_LIBADD=@sqlite3libs@
endif
if is_instrumentation_enabled
noinst_LTLIBRARIES += instrumentation/libsupport.la
instrumentation_libsupport_la_CPPFLAGS=$(common_instrumentation_CPPFLAGS) @dlbinc@ @cudainc@ @sqlite3inc@
instrumentation_libsupport_la_CPPFLAGS=$(common_instrumentation_CPPFLAGS) @cudainc@ @sqlite3inc@
instrumentation_libsupport_la_CXXFLAGS=$(common_instrumentation_CXXFLAGS)
instrumentation_libsupport_la_SOURCES=$(support_sources) $(instrumentation_sources) $(gpu_support_sources)
instrumentation_libsupport_la_LDFLAGS=$(AM_LDFLAGS) @dlblib@ @cudalib@ @sqlite3lib@
instrumentation_libsupport_la_LIBADD=@dlb_instr@ @sqlite3libs@
instrumentation_libsupport_la_LDFLAGS=$(AM_LDFLAGS) @cudalib@ @sqlite3lib@
instrumentation_libsupport_la_LIBADD=@sqlite3libs@
endif
if is_performance_enabled
noinst_LTLIBRARIES += performance/libsupport.la
performance_libsupport_la_CPPFLAGS=$(common_performance_CPPFLAGS) @dlbinc@ @cudainc@ @sqlite3inc@
performance_libsupport_la_CPPFLAGS=$(common_performance_CPPFLAGS) @cudainc@ @sqlite3inc@
performance_libsupport_la_CXXFLAGS=$(common_performance_CXXFLAGS)
performance_libsupport_la_SOURCES=$(support_sources) $(performance_sources) $(gpu_support_sources)
performance_libsupport_la_LDFLAGS=$(AM_LDFLAGS) @dlblib@ @cudalib@ @sqlite3lib@
performance_libsupport_la_LIBADD=@dlb@ @sqlite3libs@
performance_libsupport_la_LDFLAGS=$(AM_LDFLAGS) @cudalib@ @sqlite3lib@
performance_libsupport_la_LIBADD=@sqlite3libs@
endif