Home | History | Annotate | Download | only in tools

Lines Matching refs:SRC_DIR

72     SRC_DIR="$1"
78 if [ -z "$SRC_DIR" ] ; then
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"
93 GMP_SOURCE=$SRC_DIR/gmp/gmp-$GMP_VERSION.tar.bz2
98 SRC_DIR=`cd $SRC_DIR; pwd`
99 log "Using source directory: $SRC_DIR"
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
193 fail_panic "Couldn't unpack $SRC_DIR/gmp/gmp-$GMP_VERSION to $BUILD_OUT"
219 run $SRC_DIR/$TOOLCHAIN/llvm/tools/polly/utils/cloog_src/configure \
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
272 run $SRC_DIR/$TOOLCHAIN/llvm/configure \
279 --with-binutils-include=$SRC_DIR/binutils/binutils-$BINUTILS_VERSION/include \
309 GCC_SRC_DIR=$SRC_DIR/gcc/gcc-$DEFAULT_GCC32_VERSION
332 run copy_directory "$SRC_DIR/mclinker" "$MCLINKER_SRC_DIR"
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/"
525 if [ -f "$SRC_DIR/SOURCES" ]; then
526 cp "$SRC_DIR/SOURCES" "$TOOLCHAIN_PATH/SOURCES"