summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2016-04-17 00:50:15 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-17 06:50:15 +0200
commita25e33d96ecbd3db690cd8f0bc5119f506310dab (patch)
treee5396a5529c1ba96b6844c4958cd784df28b488e
parent69f8d8fa7ae5cbf283d8a06d7f42b3ca74d4dd9d (diff)
downloadspack-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.py4
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'))