Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
e0fdb341
Commit
e0fdb341
authored
9 years ago
by
Todd Gamblin
Browse files
Options
Downloads
Plain Diff
Merge branch 'eschnett-eschnett/boost-mpi-osx' into develop
parents
b3a384e1
62ae830e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/boost/package.py
+13
-0
13 additions, 0 deletions
var/spack/repos/builtin/packages/boost/package.py
with
13 additions
and
0 deletions
var/spack/repos/builtin/packages/boost/package.py
+
13
−
0
View file @
e0fdb341
...
...
@@ -2,6 +2,9 @@
import
spack
import
sys
import
os
import
sys
class
Boost
(
Package
):
"""
Boost provides free peer-reviewed portable C++ source
libraries, emphasizing libraries that work well with the C++
...
...
@@ -173,6 +176,16 @@ def determine_b2_options(self, spec, options):
return
threadingOpts
def
install
(
self
,
spec
,
prefix
):
# On Darwin, Boost expects the Darwin libtool. However, one of the
# dependencies may have pulled in Spack's GNU libtool, and these two are
# not compatible. We thus create a symlink to Darwin's libtool and add
# it at the beginning of PATH.
if
sys
.
platform
==
'
darwin
'
:
newdir
=
os
.
path
.
abspath
(
'
darwin-libtool
'
)
mkdirp
(
newdir
)
force_symlink
(
'
/usr/bin/libtool
'
,
join_path
(
newdir
,
'
libtool
'
))
env
[
'
PATH
'
]
=
newdir
+
'
:
'
+
env
[
'
PATH
'
]
withLibs
=
list
()
for
lib
in
Boost
.
all_libs
:
if
"
+{0}
"
.
format
(
lib
)
in
spec
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment