Lines Matching refs:toolchain
29 Where <src-dir> is the location of toolchain sources, <ndk-dir> is
36 BUILD_OUT=/tmp/ndk-$USER/build/toolchain
42 register_var_option "--out-dir=<path>" OPTION_OUT_DIR "On-device toolchain will be put at <path>"
48 register_var_option "--gcc-version=<version>" OPTION_GCC_VERSION "Specify GCC toolchain version [Default: $DEFAULT_GCC_VERSION]"
55 register_option "--shared" do_shared_option "Build libLLVM*.so shared by on-device llvm toolchain, and link lib*stl_shared.so"
67 fix_option OUT_DIR "$OPTION_OUT_DIR" "On-device toolchain will be put at <path>"
74 TOOLCHAIN="llvm-$DEFAULT_LLVM_VERSION"
83 if [ ! -d "$SRC_DIR/$TOOLCHAIN/llvm" ] ; then
84 echo "ERROR: Source directory does not contain llvm sources: $SRC_DIR/$TOOLCHAIN/llvm"
108 # Check toolchain name
110 if [ -z "$TOOLCHAIN" ] ; then
111 echo "ERROR: Missing toolchain name parameter. See --help for details."
120 set_toolchain_ndk $NDK_DIR $TOOLCHAIN
151 # configure the toolchain
152 dump "Configure: $TOOLCHAIN toolchain build"
183 run $BUILDTOOLS/make-standalone-toolchain.sh \
184 --toolchain=$toolchain_name \
209 run $SRC_DIR/$TOOLCHAIN/llvm/configure \
221 fail_panic "Couldn't configure llvm toolchain for ABI $abi"
223 dump "Building : llvm toolchain [this can take a long time]."
227 fail_panic "Couldn't compile llvm toolchain"
240 dump "Configure: mclinker against $TOOLCHAIN"