Home | History | Annotate | Download | only in tools

Lines Matching refs:TOOLCHAIN

24 PROGRAM_PARAMETERS="<src-dir> <ndk-dir> <toolchain>"
29 Where <src-dir> is the location of toolchain sources, <ndk-dir> is
30 the top-level NDK installation path and <toolchain> is the name of
31 the toolchain to use (e.g. llvm-3.3)."
34 BUILD_OUT=/tmp/ndk-$USER/build/toolchain
74 TOOLCHAIN="$3"
83 if [ ! -d "$SRC_DIR/$TOOLCHAIN/llvm" ] ; then
84 echo "ERROR: Source directory does not contain llvm sources: $SRC_DIR/$TOOLCHAIN/llvm"
88 if [ -e "$SRC_DIR/$TOOLCHAIN/llvm/tools/polly" -a ! -h "$SRC_DIR/$TOOLCHAIN/llvm/tools/polly" ] ; then
89 echo "ERROR: polly, if exist, needs to be a symbolic link: $SRC_DIR/$TOOLCHAIN/llvm/tools/polly"
118 # Check toolchain name
120 if [ -z "$TOOLCHAIN" ] ; then
121 echo "ERROR: Missing toolchain name parameter. See --help for details."
135 set_toolchain_ndk $NDK_DIR $TOOLCHAIN
175 if [ "$POLLY" = "yes" -a ! -d "$SRC_DIR/$TOOLCHAIN/polly" ] ; then
176 dump "Disable polly because $SRC_DIR/$TOOLCHAIN/polly doesn't exist"
181 rm -rf $SRC_DIR/$TOOLCHAIN/llvm/tools/polly
184 ln -s ../../polly $SRC_DIR/$TOOLCHAIN/llvm/tools
214 run $SRC_DIR/$TOOLCHAIN/llvm/tools/polly/utils/cloog_src/configure \
236 # configure the toolchain
237 dump "Configure: $TOOLCHAIN toolchain build"
242 run $SRC_DIR/$TOOLCHAIN/llvm/configure \
251 fail_panic "Couldn't configure llvm toolchain"
254 dump "Building : llvm toolchain [this can take a long time]."
257 fail_panic "Couldn't compile llvm toolchain"
261 dump "Running : llvm toolchain regression test"
266 dump "Running : polly toolchain regression test"
273 # install the toolchain to its final location
274 dump "Install : llvm toolchain binaries"
276 fail_panic "Couldn't install llvm toolchain to $TOOLCHAIN_BUILD_PREFIX"
292 if [ "$TOOLCHAIN" = "llvm-$DEFAULT_LLVM_VERSION" -a "$DARWIN" != "yes" ] ; then
307 dump "Configure: mclinker against $TOOLCHAIN"
370 cp -p "$SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/ndk-bc2native.py" "$TOOLCHAIN_BUILD_PREFIX/bin/"
372 # copy to toolchain path
445 ARCHIVE="$TOOLCHAIN-$HOST_TAG.tar.bz2"
446 SUBDIR=$(get_toolchain_install_subdir $TOOLCHAIN $HOST_TAG)