Lines Matching refs:build

15 # TODO: open posix testsuite is currently broken in out-tree-build. Enable it once it's fixed.
19 BUILD_DIR="$SRC_DIR/../ltp-build"
62 echo "===== 32-bit ${tree}-tree build into $prefix ====="
78 echo "WARNING: PKG_CONFIG_LIBDIR not found, build might fail"
92 echo "===== native ${tree}-tree build into $prefix ====="
107 echo "===== cross-compile ${host} ${1}-tree build into $prefix ====="
155 -o TREE Specify build tree, default: $DEFAULT_TREE
156 -p DIR Change installation directory. For in-tree build is this value passed
157 to --prefix option of configure script. For out-of-tree build is this
161 Default for in-tree build: '$DEFAULT_PREFIX'
162 Default for out-of-tree build: '$DEFAULT_PREFIX/opt/ltp'
164 -t TYPE Specify build type, default: $DEFAULT_BUILD, only for configure step
167 in in-tree build
168 out out-of-tree build
171 32 32-bit build (PKG_CONFIG_LIBDIR auto-detection for x86_64)
172 cross cross-compile build (requires set compiler via -c switch)
173 native native build
178 build run only 'make'
179 test run only 'make test' (not supported for cross-compile build)
180 test-c run only 'make test-c' (not supported for cross-compile build)
181 test-shell run only 'make test-shell' (not supported for cross-compile build)
193 build="$DEFAULT_BUILD"
205 *) echo "Wrong build tree '$OPTARG'" >&2; usage; exit 1;;
209 autotools|configure|build|test|test-c|test-shell|install) run="$OPTARG";;
213 32|cross|native) build="$OPTARG";;
214 *) echo "Wrong build type '$OPTARG'" >&2; usage; exit 1;;
227 eval configure_$build $tree $prefix
230 if [ -z "$run" -o "$run" = "build" ]; then
231 echo "=== build ==="
236 if [ "$build" = "cross" ]; then
237 echo "cross-compile build, skipping running tests" >&2