diff options
author | Erik Schnetter <schnetter@gmail.com> | 2016-04-17 00:50:15 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-04-17 06:50:15 +0200 |
commit | a25e33d96ecbd3db690cd8f0bc5119f506310dab (patch) | |
tree | e5396a5529c1ba96b6844c4958cd784df28b488e | |
parent | 69f8d8fa7ae5cbf283d8a06d7f42b3ca74d4dd9d (diff) | |
download | spack-a25e33d96ecbd3db690cd8f0bc5119f506310dab.tar.gz spack-a25e33d96ecbd3db690cd8f0bc5119f506310dab.tar.bz2 spack-a25e33d96ecbd3db690cd8f0bc5119f506310dab.tar.xz spack-a25e33d96ecbd3db690cd8f0bc5119f506310dab.zip |
Create lib directory
-rw-r--r-- | var/spack/repos/builtin/packages/cereal/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cereal/package.py b/var/spack/repos/builtin/packages/cereal/package.py index a83927456f..6acbf666c8 100644 --- a/var/spack/repos/builtin/packages/cereal/package.py +++ b/var/spack/repos/builtin/packages/cereal/package.py @@ -1,4 +1,5 @@ from spack import * +import os import shutil class Cereal(Package): @@ -30,5 +31,8 @@ class Cereal(Package): # Install shutil.rmtree(join_path(prefix, 'doc'), ignore_errors=True) shutil.rmtree(join_path(prefix, 'include'), ignore_errors=True) + shutil.rmtree(join_path(prefix, 'lib'), ignore_errors=True) shutil.copytree('doc', join_path(prefix, 'doc'), symlinks=True) shutil.copytree('include', join_path(prefix, 'include'), symlinks=True) + # Create empty directory to avoid linker warnings later + os.mkdir(join_path(prefix, 'lib')) |