]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/bootstrap.sh
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / build / bootstrap.sh
1 #!/bin/sh
2 # Copyright (C) 2005, 2006 Douglas Gregor.
3 # Copyright (C) 2006 The Trustees of Indiana University
4 # Copyright (C) 2010 Bryce Lelbach
5 # Copyright 2018-2020 Rene Rivera
6 #
7 # Distributed under the Boost Software License, Version 1.0.
8 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
9
10 # Build b2
11 echo "Building the B2 engine.."
12 pwd=`pwd`
13 ( cd "./src/engine" && ./build.sh "$*" )
14 if [ $? -ne 0 ]; then
15 echo
16 echo "Failed to build the B2 engine." 1>&2
17 exit 1
18 fi
19 cd "$pwd"
20 cp "./src/engine/b2" .
21
22 cat << EOF
23
24 Building is done. To install, run:
25
26 ./b2 install --prefix=<DIR>
27
28 EOF