diff options
-rw-r--r-- | var/spack/repos/builtin/packages/intel-xed/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/intel-xed/package.py b/var/spack/repos/builtin/packages/intel-xed/package.py index 9b95329a21..b60ad7e702 100644 --- a/var/spack/repos/builtin/packages/intel-xed/package.py +++ b/var/spack/repos/builtin/packages/intel-xed/package.py @@ -84,19 +84,23 @@ class IntelXed(Package): mkdirp(prefix.include) mkdirp(prefix.lib) + mkdirp(prefix.bin) libs = glob.glob(join_path('obj', 'lib*.a')) for lib in libs: install(lib, prefix.lib) - # Build and install shared libxed.so. + # Build and install shared libxed.so and examples (to get the CLI). mfile('--clean') - mfile('--shared', *args) + mfile('examples', '--shared', *args) libs = glob.glob(join_path('obj', 'lib*.so')) for lib in libs: install(lib, prefix.lib) + # Install the xed program + install(join_path('obj', 'examples', 'xed'), prefix.bin) + # Install header files. hdrs = glob.glob(join_path('include', 'public', 'xed', '*.h')) \ + glob.glob(join_path('obj', '*.h')) |