apex: add patch to install missing header (#28844)

Co-authored-by: Mikael Simberg <mikael.simberg@iki.if>
This commit is contained in:
Mikael Simberg 2022-02-15 09:59:39 +01:00 committed by GitHub
parent c313a72e76
commit fdec3b47cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff --git a/src/apex/CMakeLists.standalone b/src/apex/CMakeLists.standalone
index 5acfa34..bb43bd5 100644
--- a/src/apex/CMakeLists.standalone
+++ b/src/apex/CMakeLists.standalone
@@ -143,6 +143,7 @@ INSTALL(FILES apex.h
profiler.hpp
task_wrapper.hpp
task_identifier.hpp
+ dependency_tree.hpp
DESTINATION include)
INSTALL(TARGETS apex RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)

View file

@ -71,6 +71,12 @@ class Apex(CMakePackage):
conflicts('+jemalloc', when='+gperftools') conflicts('+jemalloc', when='+gperftools')
conflicts('+plugins', when='~activeharmony') conflicts('+plugins', when='~activeharmony')
# Patches
# This patch ensures that the missing dependency_tree.hpp header is
# installed
patch('install-includes.patch', when='@2.3.2:2.4.1')
def cmake_args(self): def cmake_args(self):
args = [] args = []
spec = self.spec spec = self.spec