Create lib directory
This commit is contained in:
parent
69f8d8fa7a
commit
a25e33d96e
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
from spack import *
|
||||
import os
|
||||
import shutil
|
||||
|
||||
class Cereal(Package):
|
||||
|
@ -30,5 +31,8 @@ def install(self, spec, prefix):
|
|||
# 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'))
|
||||
|
|
Loading…
Reference in a new issue