summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2019-04-15 09:59:04 +0200
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-04-15 09:59:04 +0200
commit0341e1954074f23b2164d7d3f7acdcbaea992df7 (patch)
treea829fe6cda6613c2c59e6d6571c82c12d30bbf17
parentdadbd723a3e7d898948200d2ebfccb5d7510ae0f (diff)
downloadspack-0341e1954074f23b2164d7d3f7acdcbaea992df7.tar.gz
spack-0341e1954074f23b2164d7d3f7acdcbaea992df7.tar.bz2
spack-0341e1954074f23b2164d7d3f7acdcbaea992df7.tar.xz
spack-0341e1954074f23b2164d7d3f7acdcbaea992df7.zip
boost: add 1.70.0 (#11183)
-rw-r--r--var/spack/repos/builtin/packages/boost/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py
index 0696639d0e..f62d66db1b 100644
--- a/var/spack/repos/builtin/packages/boost/package.py
+++ b/var/spack/repos/builtin/packages/boost/package.py
@@ -24,6 +24,7 @@ class Boost(Package):
list_depth = 1
version('develop', branch='develop', submodules=True)
+ version('1.70.0', '5b2e5ccc454503cfbba6c1221f5d495f0de279ea')
version('1.69.0', 'ea6eee4b5999f9c02105386850f63a53f0250eaa')
version('1.68.0', '18863a7cae4d58ae85eb63d400f774f60a383411')
version('1.67.0', '694ae3f4f899d1a80eb7a3b31b33be73c423c1ae')
@@ -339,8 +340,9 @@ class Boost(Package):
def add_buildopt_symlinks(self, prefix):
with working_dir(prefix.lib):
for lib in os.listdir(os.curdir):
- prefix, remainder = lib.split('.', 1)
- symlink(lib, '%s-mt.%s' % (prefix, remainder))
+ if os.path.isfile(lib):
+ prefix, remainder = lib.split('.', 1)
+ symlink(lib, '%s-mt.%s' % (prefix, remainder))
def install(self, spec, prefix):
# On Darwin, Boost expects the Darwin libtool. However, one of the