diff options
author | Mikael Simberg <mikael.simberg@iki.fi> | 2022-02-15 09:59:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-15 01:59:39 -0700 |
commit | fdec3b47cc99dc45d7d34dd0e39a5f2f5bb8b279 (patch) | |
tree | 6602e4acddbe4577de09b0948969de7575ac473a /var | |
parent | c313a72e7601e079275b8839e431356773c63937 (diff) | |
download | spack-fdec3b47cc99dc45d7d34dd0e39a5f2f5bb8b279.tar.gz spack-fdec3b47cc99dc45d7d34dd0e39a5f2f5bb8b279.tar.bz2 spack-fdec3b47cc99dc45d7d34dd0e39a5f2f5bb8b279.tar.xz spack-fdec3b47cc99dc45d7d34dd0e39a5f2f5bb8b279.zip |
apex: add patch to install missing header (#28844)
Co-authored-by: Mikael Simberg <mikael.simberg@iki.if>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/apex/install-includes.patch | 12 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/apex/package.py | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/apex/install-includes.patch b/var/spack/repos/builtin/packages/apex/install-includes.patch new file mode 100644 index 0000000000..5d584555ef --- /dev/null +++ b/var/spack/repos/builtin/packages/apex/install-includes.patch @@ -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) diff --git a/var/spack/repos/builtin/packages/apex/package.py b/var/spack/repos/builtin/packages/apex/package.py index 363a7a2f8f..f364750e4c 100644 --- a/var/spack/repos/builtin/packages/apex/package.py +++ b/var/spack/repos/builtin/packages/apex/package.py @@ -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 |