#20754: Full boost package
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-7.3
Component: packages: | Resolution:
optional | Merged in:
Keywords: | Reviewers:
Authors: Volker Braun | Work issues:
Report Upstream: N/A | Commit:
Branch: | fa6a5e84a9ec73042033949060e046651457d76d
u/vbraun/full_boost_package | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jhpalmieri):
* status: positive_review => needs_work
* reviewer: Travis Scrimshaw =>
Comment:
This seems safer to me: don't delete the old headers until you're sure the
new one has built successfully.
{{{
#!diff
diff --git a/build/pkgs/boost/spkg-install b/build/pkgs/boost/spkg-install
index b79c700..4cdd24f 100755
--- a/build/pkgs/boost/spkg-install
+++ b/build/pkgs/boost/spkg-install
@@ -6,10 +6,6 @@ if [ "$SAGE_LOCAL" = "" ]; then
exit 1
fi
-echo "Clean out old boost headers and libraries"
-rm -rf "$SAGE_LOCAL"/include/boost
-rm -rf "$SAGE_LOCAL"/lib/libboost*
-
cd src
echo "Running boost bootstrap"
@@ -19,6 +15,18 @@ if [[ $? -ne 0 ]]; then
exit 1
fi
+echo "Building boost"
+./b2
+if [[ $? -ne 0 ]]; then
+ echo >&2 "Failed to build boost."
+ exit 1
+fi
+
+echo "Clean out old boost headers and libraries"
+rm -rf "$SAGE_LOCAL"/include/boost
+rm -rf "$SAGE_LOCAL"/lib/libboost*
+
+echo "Installing boost"
./b2 install --prefix="$SAGE_LOCAL"
if [[ $? -ne 0 ]]; then
echo >&2 "Failed to install boost."
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20754#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.