Lines Matching refs: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" ] ; …
89 … echo "ERROR: polly, if exist, needs to be a symbolic link: $SRC_DIR/$TOOLCHAIN/llvm/tools/polly"
120 if [ -z "$TOOLCHAIN" ] ; then
139 set_toolchain_ndk $NDK_DIR $TOOLCHAIN
180 if [ "$POLLY" = "yes" -a ! -d "$SRC_DIR/$TOOLCHAIN/polly" ] ; then
181 dump "Disable polly because $SRC_DIR/$TOOLCHAIN/polly doesn't exist"
186 rm -rf $SRC_DIR/$TOOLCHAIN/llvm/tools/polly
189 ln -s ../../polly $SRC_DIR/$TOOLCHAIN/llvm/tools
219 run $SRC_DIR/$TOOLCHAIN/llvm/tools/polly/utils/cloog_src/configure \
242 dump "Configure: $TOOLCHAIN toolchain build"
248 LLVM_VERSION="`echo $TOOLCHAIN | tr '-' '\n' | tail -n 1`"
259 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.cpp
260 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.c
261 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.h
262 run cp -a $NDK_DIR/tests/abcc/jni/*.cpp $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
263 run cp -a $NDK_DIR/tests/abcc/jni/*.h $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
264 run cp -a $NDK_DIR/tests/abcc/jni/host/*.cpp $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
265 run cp -a $NDK_DIR/tests/abcc/jni/host/*.h $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
266 …run cp -a $NDK_DIR/tests/abcc/jni/mman-win32/mman.[ch] $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
270 BINUTILS_VERSION=$(get_default_binutils_version_for_llvm $TOOLCHAIN)
272 run $SRC_DIR/$TOOLCHAIN/llvm/configure \
326 if [ "$TOOLCHAIN" = "llvm-$DEFAULT_LLVM_VERSION" ] ; then
341 dump "Configure: mclinker against $TOOLCHAIN"
429 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.cpp
430 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.c
431 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.h
433 …cp -p "$SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/ndk-bc2native.py" "$TOOLCHAIN_BUILD_PREFIX/bin…
530 ARCHIVE="$TOOLCHAIN-$HOST_TAG.tar.bz2"
531 SUBDIR=$(get_toolchain_install_subdir $TOOLCHAIN $HOST_TAG)