Mentions légales du service

Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • solverstack/morse_cmake
  • gmarait/morse_cmake
  • rboucher/morse_cmake
  • mkuhn/morse_cmake
  • lvilleve/morse_cmake
  • tmijieux/morse_cmake
  • tcojean/morse_cmake
  • thibault/morse_cmake
  • vperrier/morse_cmake
  • tdelarue/morse_cmake
  • ekorkmaz/morse_cmake
11 results
Show changes
Commits on Source (3)
Showing
with 86 additions and 17 deletions
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
# @copyright 2017-2018 King Abdullah University of Science and Technology (KAUST). All rights reserved.
......@@ -88,6 +88,9 @@ if(PKG_CONFIG_EXECUTABLE)
endif()
if (AL4SAN_FOUND AND AL4SAN_LIBRARIES)
if (NOT AL4SAN_INCLUDE_DIRS)
pkg_get_variable(AL4SAN_INCLUDE_DIRS al4san includedir)
endif()
set(AL4SAN_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(AL4SAN)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -178,6 +178,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT CHAMELEON_GIVEN_BY_USER)
endif()
if (CHAMELEON_FOUND AND CHAMELEON_LIBRARIES)
if (NOT CHAMELEON_INCLUDE_DIRS)
pkg_get_variable(CHAMELEON_INCLUDE_DIRS chameleon includedir)
endif()
set(CHAMELEON_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(CHAMELEON)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -98,6 +98,9 @@ if( PKG_CONFIG_EXECUTABLE AND NOT EZTRACE_GIVEN_BY_USER )
"\n the PKG_CONFIG_PATH environment variable.${ColourReset}")
endif()
if (EZTRACE_FOUND AND EZTRACE_LIBRARIES)
if (NOT EZTRACE_INCLUDE_DIRS)
pkg_get_variable(EZTRACE_INCLUDE_DIRS eztrace includedir)
endif()
set(EZTRACE_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(EZTRACE)
else()
......
###
#
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2019-2020 Inria. All rights reserved.
#
###
#
......@@ -123,6 +123,9 @@ if( PKG_CONFIG_EXECUTABLE AND NOT FABULOUS_GIVEN_BY_USER )
endif()
if (FABULOUS_FOUND AND FABULOUS_LIBRARIES)
if (NOT FABULOUS_INCLUDE_DIRS)
pkg_get_variable(FABULOUS_INCLUDE_DIRS fabulous_c_api includedir)
endif()
set(FABULOUS_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(FABULOUS)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -253,6 +253,9 @@ if (NOT FFTW_LOOK_FOR_MKL AND NOT FFTW_LOOK_FOR_ESSL)
pkg_search_module(FFTW3F fftw3f)
pkg_search_module(FFTW3 fftw3)
if (FFTW3F_FOUND)
if (NOT FFTW3F_INCLUDE_DIRS)
pkg_get_variable(FFTW3F_INCLUDE_DIRS fftw3f includedir)
endif()
if (NOT FFTW_FIND_QUIETLY)
message(STATUS "Looking for FFTW3F - found using PkgConfig")
endif()
......@@ -283,6 +286,9 @@ if (NOT FFTW_LOOK_FOR_MKL AND NOT FFTW_LOOK_FOR_ESSL)
pkg_search_module(FFTW3L fftw3l)
pkg_search_module(FFTW3 fftw3)
if (FFTW3L_FOUND)
if (NOT FFTW3L_INCLUDE_DIRS)
pkg_get_variable(FFTW3L_INCLUDE_DIRS fftw3l includedir)
endif()
if (NOT FFTW_FIND_QUIETLY)
message(STATUS "Looking for FFTW3L - found using PkgConfig")
endif()
......@@ -313,6 +319,9 @@ if (NOT FFTW_LOOK_FOR_MKL AND NOT FFTW_LOOK_FOR_ESSL)
pkg_search_module(FFTW3Q fftw3q)
pkg_search_module(FFTW3 fftw3)
if (FFTW3Q_FOUND)
if (NOT FFTW3Q_INCLUDE_DIRS)
pkg_get_variable(FFTW3Q_INCLUDE_DIRS fftw3q includedir)
endif()
if (NOT FFTW_FIND_QUIETLY)
message(STATUS "Looking for FFTW3Q - found using PkgConfig")
endif()
......@@ -349,6 +358,9 @@ if (NOT FFTW_LOOK_FOR_MKL AND NOT FFTW_LOOK_FOR_ESSL)
if (NOT FFTW_FIND_QUIETLY)
message(STATUS "Looking for FFTW3 - found using PkgConfig")
endif()
if (NOT FFTW3_INCLUDE_DIRS)
pkg_get_variable(FFTW3_INCLUDE_DIRS fftw3 includedir)
endif()
if (FFTW3_LIBRARIES)
find_pkgconfig_libraries_absolute_path(FFTW3)
list(APPEND FFTW_LIBRARIES "${FFTW3_LIBRARIES}")
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -96,6 +96,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT FXT_GIVEN_BY_USER)
endif()
if (FXT_FOUND AND FXT_LIBRARIES)
if (NOT FXT_INCLUDE_DIRS)
pkg_get_variable(FXT_INCLUDE_DIRS fxt includedir)
endif()
set(FXT_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(FXT)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -96,6 +96,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT GTG_GIVEN_BY_USER)
endif()
if (GTG_FOUND AND GTG_LIBRARIES)
if (NOT GTG_INCLUDE_DIRS)
pkg_get_variable(GTG_INCLUDE_DIRS gtg includedir)
endif()
set(GTG_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(GTG)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -95,6 +95,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT HQR_GIVEN_BY_USER)
endif()
endif()
if (HQR_FOUND AND HQR_LIBRARIES)
if (NOT HQR_INCLUDE_DIRS)
pkg_get_variable(HQR_INCLUDE_DIRS hqr includedir)
endif()
set(HQR_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(HQR)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -99,6 +99,9 @@ if( PKG_CONFIG_EXECUTABLE AND NOT HWLOC_GIVEN_BY_USER )
endif()
if (HWLOC_FOUND AND HWLOC_LIBRARIES)
if (NOT HWLOC_INCLUDE_DIRS)
pkg_get_variable(HWLOC_INCLUDE_DIRS hwloc includedir)
endif()
set(HWLOC_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(HWLOC)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -96,6 +96,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT PAPI_GIVEN_BY_USER)
endif()
if (PAPI_FOUND AND PAPI_LIBRARIES)
if (NOT PAPI_INCLUDE_DIRS)
pkg_get_variable(PAPI_INCLUDE_DIRS papi includedir)
endif()
set(PAPI_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(PAPI)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2015 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2015 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -271,6 +271,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT PARSEC_GIVEN_BY_USER)
endif()
if (PARSEC_FOUND AND PARSEC_LIBRARIES)
if (NOT PARSEC_INCLUDE_DIRS)
pkg_get_variable(PARSEC_INCLUDE_DIRS parsec includedir)
endif()
set(PARSEC_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(PARSEC)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -410,6 +410,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT PASTIX_GIVEN_BY_USER)
endif()
if (PASTIX_FOUND AND PASTIX_LIBRARIES)
if (NOT PASTIX_INCLUDE_DIRS)
pkg_get_variable(PASTIX_INCLUDE_DIRS pastix includedir)
endif()
set(PASTIX_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(PASTIX)
else()
......
#
# @copyright (c) 2019 Inria. All rights reserved.
# @copyright (c) 2019-2020 Inria. All rights reserved.
#
# Marc Fuentes
# Florent Pruvost
......@@ -80,6 +80,9 @@ if( PKG_CONFIG_EXECUTABLE AND NOT PETSC_DIR )
endif()
set(PETSC_DIR "${PETSC_PREFIX}")
if (PETSC_FOUND AND PETSC_LIBRARIES)
if (NOT PETSC_INCLUDE_DIRS)
pkg_get_variable(PETSC_INCLUDE_DIRS PETSc includedir)
endif()
set(PETSC_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(PETSC)
else()
......
......@@ -286,6 +286,11 @@ if(SCOTCH_LIBRARIES)
check_function_exists(SCOTCH_graphInit SCOTCH_WORKS)
mark_as_advanced(SCOTCH_WORKS)
# test scotch version
unset(HAVE_SCOTCH_CONTEXT_INIT)
check_function_exists(SCOTCH_contextInit HAVE_SCOTCH_CONTEXT_INIT)
mark_as_advanced(HAVE_SCOTCH_CONTEXT_INIT)
if(SCOTCH_WORKS)
# save link with dependencies
set(SCOTCH_LIBRARIES "${REQUIRED_LIBS}")
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -96,6 +96,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT SIMGRID_GIVEN_BY_USER)
endif()
if (SIMGRID_FOUND AND SIMGRID_LIBRARIES)
if (NOT SIMGRID_INCLUDE_DIRS)
pkg_get_variable(SIMGRID_INCLUDE_DIRS simgrid includedir)
endif()
set(SIMGRID_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(SIMGRID)
else()
......
#
# @copyright (c) 2018 Inria. All rights reserved.
# @copyright (c) 2018-2020 Inria. All rights reserved.
#
# Marc Fuentes
# Florent Pruvost
......@@ -79,6 +79,9 @@ if( PKG_CONFIG_EXECUTABLE AND NOT SLEPC_DIR )
endif()
set(SLEPC_DIR "${SLEPC_PREFIX}")
if (SLEPC_FOUND AND SLEPC_LIBRARIES)
if (NOT SLEPC_INCLUDE_DIRS)
pkg_get_variable(SLEPC_INCLUDE_DIRS SLEPc includedir)
endif()
set(SLEPC_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(SLEPC)
else()
......
###
#
# @copyright (c) 2019 Inria. All rights reserved.
# @copyright (c) 2019-2020 Inria. All rights reserved.
#
###
#
......@@ -144,6 +144,9 @@ if(PKG_CONFIG_EXECUTABLE AND NOT SPM_GIVEN_BY_USER)
endif()
if (SPM_FOUND AND SPM_LIBRARIES)
if (NOT SPM_INCLUDE_DIRS)
pkg_get_variable(SPM_INCLUDE_DIRS spm includedir)
endif()
set(SPM_FOUND_WITH_PKGCONFIG "TRUE")
find_pkgconfig_libraries_absolute_path(SPM)
else()
......
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2019 Inria. All rights reserved.
# @copyright (c) 2012-2020 Inria. All rights reserved.
# @copyright (c) 2012-2016 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -250,6 +250,13 @@ if(PKG_CONFIG_EXECUTABLE AND NOT STARPU_GIVEN_BY_USER)
endforeach()
if (NOT STARPU_FIND_QUIETLY)
if (STARPU_FOUND AND STARPU_LIBRARIES)
if (NOT STARPU_INCLUDE_DIRS)
if(STARPU_LOOK_FOR_MPI)
pkg_get_variable(STARPU_INCLUDE_DIRS starpumpi-${_version} includedir)
else()
pkg_get_variable(STARPU_INCLUDE_DIRS starpu-${_version} includedir)
endif()
endif()
message(STATUS "Looking for STARPU - found using PkgConfig")
set(STARPU_VERSION_STRING "${STARPU_VERSION}")
string(REPLACE "." ";" STARPU_VERSION_STRING_LIST ${STARPU_VERSION_STRING})
......