From e83f048cf76cfb2456950eb9712bb367a81f79c4 Mon Sep 17 00:00:00 2001 From: Camille Coti Date: Mon, 16 Jan 2023 19:55:11 +0200 Subject: [PATCH] Renamed config file, removed a compilation message --- cmake/Modules/{FindPhiProf.cmake => FindPHIPROF.cmake} | 5 ++--- src/apex/apex_phiprof.cpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) rename cmake/Modules/{FindPhiProf.cmake => FindPHIPROF.cmake} (89%) diff --git a/cmake/Modules/FindPhiProf.cmake b/cmake/Modules/FindPHIPROF.cmake similarity index 89% rename from cmake/Modules/FindPhiProf.cmake rename to cmake/Modules/FindPHIPROF.cmake index 1d47c220..e9a49d9f 100644 --- a/cmake/Modules/FindPhiProf.cmake +++ b/cmake/Modules/FindPHIPROF.cmake @@ -1,7 +1,7 @@ # - Try to find PhiProf # Once done this will define # PHIPROF_FOUND - System has PhiProf -# STARPU_INCLUDE_DIRS - The include directories +# PHIPROF_INCLUDE_DIRS - The include directories find_package(PkgConfig) @@ -22,8 +22,7 @@ endif() message(INFO " will check ${PHIPROF_ROOT} for PHIPROF") set(CMAKE_PREFIX_PATH} "${CMAKE_PREFIX_PATH} ${PHIPROF_ROOT}") -set(ENV{PKG_CONFIG_PATH} "${PHIPROF_ROOT}/libs/pkgconfig") -pkg_check_modules(PHIPROF QUIET libstarpu) +#set(ENV{PKG_CONFIG_PATH} "${PHIPROF_ROOT}/libs/pkgconfig") if(NOT PHIPROF_FOUND) find_path(PHIPROF_INCLUDE_DIR NAMES phiprof.hpp diff --git a/src/apex/apex_phiprof.cpp b/src/apex/apex_phiprof.cpp index 764de21c..a715ec8a 100644 --- a/src/apex/apex_phiprof.cpp +++ b/src/apex/apex_phiprof.cpp @@ -5,7 +5,7 @@ #include "apex.hpp" #include -#warning compiling phiprof +//#warning compiling phiprof /* Correspondance between labels and ids */