• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:and +full:- +full:test

2 # Copyright 2019-2021 René Ferdinand Rivera Morell
9 # boostinspect:notab - Tabs are required for the Makefile.
14 BUILD=""
26 # support -n. Use the installed echo executable if there is one
27 # rather than builtin version to ensure -n is supported.
29 if test "x$ECHO" = x; then
42 -help | --help | -h)
45 -prefix=* | --prefix=*)
46 PREFIX=`expr "x$option" : "x-*prefix=\(.*\)"`
49 -exec-prefix=* | --exec-prefix=*)
50 EPREFIX=`expr "x$option" : "x-*exec-prefix=\(.*\)"`
53 -libdir=* | --libdir=*)
54 LIBDIR=`expr "x$option" : "x-*libdir=\(.*\)"`
57 -includedir=* | --includedir=*)
58 INCLUDEDIR=`expr "x$option" : "x-*includedir=\(.*\)"`
61 -show-libraries | --show-libraries )
65 -with-bjam=* | --with-bjam=* )
66 BJAM=`expr "x$option" : "x-*with-bjam=\(.*\)"`
69 -with-icu | --with-icu )
73 -with-icu=* | --with-icu=* )
75 ICU_ROOT=`expr "x$option" : "x-*with-icu=\(.*\)"`
78 -without-icu | --without-icu )
82 -with-libraries=* | --with-libraries=* )
83 library_list=`expr "x$option" : "x-*with-libraries=\(.*\)"`
84 if test "$library_list" != "all"; then
89 LIBS="$LIBS --with-$library"
91 if test $library = python; then
97 if test "x$requested_python" != xyes; then
103 -without-libraries=* | --without-libraries=* )
104 library_list=`expr "x$option" : "x-*without-libraries=\(.*\)"`
109 LIBS="$LIBS --without-$library"
111 if test $library = python; then
118 -with-python=* | --with-python=* )
119 PYTHON=`expr "x$option" : "x-*with-python=\(.*\)"`
122 -with-python-root=* | --with-python-root=* )
123 PYTHON_ROOT=`expr "x$option" : "x-*with-python-root=\(.*\)"`
126 -with-python-version=* | --with-python-version=* )
127 PYTHON_VERSION=`expr "x$option" : "x-*with-python-version=\(.*\)"`
130 -with-toolset=* | --with-toolset=* )
131 TOOLSET=`expr "x$option" : "x-*with-toolset=\(.*\)"`
134 -*)
136 Try \`$0 --help' for more information." >&2
143 if test "x$want_help" = xyes; then
145 \`./bootstrap.sh\' builds the Boost build system B2 and prepares Boost for
146 building. This includes setting defaults in the project-config.jam which you
154 -h, --help display this help and exit
155 --with-bjam=BJAM use existing Boost.Jam executable (bjam)
157 --with-toolset=TOOLSET use specific TOOLSET to build B2 and as default
160 --show-libraries show the set of libraries that require build
161 and installation steps (i.e., those libraries
162 that can be used with --with-libraries or
163 --without-libraries), then exit
164 --with-libraries=list build only a particular set of libraries,
165 describing using either a comma-separated list of
168 --without-libraries=list build all libraries except the ones listed []
169 --with-icu enable Unicode/ICU support in Regex
171 --without-icu disable Unicode/ICU support in Regex
172 --with-icu=DIR specify the root of the ICU library installation
173 and enable Unicode/ICU support in Regex
175 --with-python=PYTHON specify the Python executable [python]
176 --with-python-root=DIR specify the root of the Python installation
178 --with-python-version=X.Y specify the Python version as X.Y
182 --prefix=PREFIX install Boost into the given PREFIX
184 --exec-prefix=EPREFIX install Boost binaries into the given EPREFIX
188 --libdir=DIR install libraries here [EPREFIX/lib]
189 --includedir=DIR install headers here [PREFIX/include]
193 test -n "$want_help" && exit 0
198 if test "x$TOOLSET" = x; then
199 guessed_toolset=`CXX= CXXFLAGS= $my_dir/tools/build/src/engine/build.sh --guess-toolset`
205 intel-* )
223 rm -f config.log
225 # Build bjam
226 if test "x$BJAM" = x; then
229 CXX= CXXFLAGS= "$my_dir/tools/build/src/engine/build.sh" ${TOOLSET}
230 if [ $? -ne 0 ]; then
232 echo "Failed to build B2 build engine"
236 BJAM="$my_dir/tools/build/src/engine/b2"
237 echo "tools/build/src/engine/b2"
245 if test "x$flag_show_libraries" = xyes; then
248 The following Boost libraries have portions that require a separate build
249 and installation step. Any library not listed here can be used by including
252 The Boost libraries requiring separate building and installation are:
254 $BJAM -d0 --show-libraries | grep '^[[:space:]]*-'
259 if test "x$EPREFIX" = x; then
263 if test "x$LIBDIR" = x; then
267 if test "x$INCLUDEDIR" = x; then
272 if test "x$flag_no_python" = x; then
273 result=`$PYTHON -c "exit" > /dev/null 2>&1`
274 if [ "$?" -ne "0" ]; then
279 if test "x$flag_no_python" = x; then
280 if test "x$PYTHON_VERSION" = x; then
281 $ECHO -n "Detecting Python version... "
282 …PYTHON_VERSION=`$PYTHON -c "import sys; print (\"%d.%d\" % (sys.version_info[0], sys.version_info[…
286 if test "x$PYTHON_ROOT" = x; then
287 $ECHO -n "Detecting Python root... "
288 PYTHON_ROOT=`$PYTHON -c "import sys; print(sys.prefix)"`
294 $ECHO -n "Unicode/ICU support for Boost.Regex?... "
295 if test "x$flag_icu" != xno; then
296 if test "x$ICU_ROOT" = x; then
297 if command -v pkg-config > /dev/null && pkg-config icu-uc ; then
298 ICU_ROOT=`pkg-config --variable=prefix icu-uc`
301 if test "x$ICU_ROOT" = x; then
304 if test -r $p/include/unicode/utypes.h; then
309 if test "x$ICU_ROOT" = x; then
312 BJAM_CONFIG="$BJAM_CONFIG -sICU_PATH=$ICU_ROOT"
316 BJAM_CONFIG="$BJAM_CONFIG -sICU_PATH=$ICU_ROOT"
323 # Backup the user's existing project-config.jam
324 JAM_CONFIG_OUT="project-config.jam"
325 if test -r "project-config.jam"; then
328 while test -r "project-config.jam.$counter"; do
332 echo "Backing up existing B2 configuration in project-config.jam.$counter"
333 mv "project-config.jam" "project-config.jam.$counter"
336 # Generate user-config.jam
337 echo "Generating B2 configuration in project-config.jam for $TOOLSET..."
338 cat > project-config.jam <<EOF
346 # you already have defined some toolsets in your user-config.jam
353 project : default-build <toolset>$TOOLSET ;
356 # - Python configuration
357 if test "x$flag_no_python" = x; then
358 cat >> project-config.jam <<EOF
369 if test "x$ICU_ROOT" != x; then
370 cat >> project-config.jam << EOF
372 path-constant ICU_PATH : $ICU_ROOT ;
377 cat >> project-config.jam << EOF
379 # List of --with-<library> and --without-<library>
385 # These settings are equivalent to corresponding command-line
388 option.set exec-prefix : $EPREFIX ;
393 option.set keep-going : false ;
398 Bootstrapping is done. To build, run:
406 The configuration generated uses ${TOOLSET} to build by default. If that is
407 unintended either use the --with-toolset option or adjust configuration, by
408 editing 'project-config.jam'.
412 - Command line help:
413 ./b2 --help
415 - Getting started guide:
416 http://www.boost.org/more/getting_started/unix-variants.html
418 - B2 documentation:
419 http://www.boost.org/build/