Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaudi
Gaudi
Commits
5dff4946
Commit
5dff4946
authored
7 years ago
by
Marco Clemencic
Browse files
Options
Downloads
Patches
Plain Diff
Fixed use of zlib
parent
721fe22b
No related branches found
No related tags found
1 merge request
!561
Fixed use of zlib
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GaudiProfiling/CMakeLists.txt
+9
-7
9 additions, 7 deletions
GaudiProfiling/CMakeLists.txt
with
9 additions
and
7 deletions
GaudiProfiling/CMakeLists.txt
+
9
−
7
View file @
5dff4946
...
...
@@ -9,6 +9,7 @@ find_package(PythonLibs)
find_package
(
unwind
)
find_package
(
gperftools
)
find_package
(
IntelAmplifier
)
find_package
(
ZLIB
)
# Hide some Boost/libunwind compile time warnings
include_directories
(
SYSTEM
${
Boost_INCLUDE_DIRS
}
)
...
...
@@ -24,15 +25,16 @@ include_directories(src/component)
#-----------------------------------
if
(
UNWIND_FOUND AND CMAKE_SYSTEM_PROCESSOR STREQUAL
"x86_64"
)
gaudi_add_module
(
GaudiProfiling src/component/*.cpp
LINK_LIBRARIES GaudiKernel
z
INCLUDE_DIRS unwind
)
LINK_LIBRARIES GaudiKernel
ZLIB
INCLUDE_DIRS unwind
ZLIB
)
gaudi_add_python_module
(
PyCPUFamily src/python/CPUFamily.cpp
LINK_LIBRARIES
${
Boost_PYTHON_LIBRARY
}
INCLUDE_DIRS PythonLibs
)
gaudi_add_executable
(
GaudiGenProfilingHtml src/app/pfm_gen_analysis.cpp
LINK_LIBRARIES z GaudiKernel
)
LINK_LIBRARIES GaudiKernel ZLIB
INCLUDE_DIRS unwind ZLIB
)
else
()
message
(
WARNING
"The module GaudiProfiling is disabled (architecture
${
CMAKE_SYSTEM_PROCESSOR
}
)."
)
endif
()
...
...
@@ -43,8 +45,8 @@ endif()
#-----------------------------------
if
(
GPERFTOOLS_FOUND
)
gaudi_add_module
(
GaudiGoogleProfiling src/component/google/*.cpp
LINK_LIBRARIES GaudiKernel GaudiAlgLib
z
INCLUDE_DIRS
${
GPERFTOOLS_INCLUDE_DIRS
}
)
LINK_LIBRARIES GaudiKernel GaudiAlgLib
ZLIB
INCLUDE_DIRS
${
GPERFTOOLS_INCLUDE_DIRS
}
ZLIB
)
# Special handling of unresorlved symbols in GaudiGoogleProfiling.
# The profilers need to have libtcmalloc.so or libprofiler.so pre-loaded to
...
...
@@ -87,8 +89,8 @@ endif()
# Valgrind profiler
#-----------------------------------
gaudi_add_module
(
GaudiValgrindProfiling src/component/valgrind/*.cpp
LINK_LIBRARIES GaudiKernel GaudiAlgLib
z
INCLUDE_DIRS tcmalloc
)
LINK_LIBRARIES GaudiKernel GaudiAlgLib
ZLIB
INCLUDE_DIRS tcmalloc
ZLIB
)
#-----------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment