apex: add patch to install missing header (#28844)
Co-authored-by: Mikael Simberg <mikael.simberg@iki.if>
This commit is contained in:
parent
c313a72e76
commit
fdec3b47cc
2 changed files with 18 additions and 0 deletions
12
var/spack/repos/builtin/packages/apex/install-includes.patch
Normal file
12
var/spack/repos/builtin/packages/apex/install-includes.patch
Normal 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)
|
|
@ -71,6 +71,12 @@ class Apex(CMakePackage):
|
|||
conflicts('+jemalloc', when='+gperftools')
|
||||
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):
|
||||
args = []
|
||||
spec = self.spec
|
||||
|
|
Loading…
Reference in a new issue