Lines Matching refs:SRC_DIR
76 SRC_DIR="$1"
82 if [ -z "$SRC_DIR" ] ; then
87 if [ ! -d "$SRC_DIR/$TOOLCHAIN/llvm" ] ; then
88 echo "ERROR: Source directory does not contain llvm sources: $SRC_DIR/$TOOLCHAIN/llvm"
92 …if [ -e "$SRC_DIR/$TOOLCHAIN/llvm/tools/polly" -a ! -h "$SRC_DIR/$TOOLCHAIN/llvm/tools/polly" ] ; …
93 … echo "ERROR: polly, if exist, needs to be a symbolic link: $SRC_DIR/$TOOLCHAIN/llvm/tools/polly"
97 GMP_SOURCE=$SRC_DIR/gmp/gmp-$GMP_VERSION.tar.bz2
102 SRC_DIR=`cd $SRC_DIR; pwd`
103 log "Using source directory: $SRC_DIR"
204 if [ "$POLLY" = "yes" -a ! -d "$SRC_DIR/$TOOLCHAIN/polly" ] ; then
205 dump "Disable polly because $SRC_DIR/$TOOLCHAIN/polly doesn't exist"
210 rm -rf $SRC_DIR/$TOOLCHAIN/llvm/tools/polly
213 ln -s ../../polly $SRC_DIR/$TOOLCHAIN/llvm/tools
217 fail_panic "Couldn't unpack $SRC_DIR/gmp/gmp-$GMP_VERSION to $BUILD_OUT"
243 run $SRC_DIR/$TOOLCHAIN/llvm/tools/polly/utils/cloog_src/configure \
282 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.cpp
283 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.c
284 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.h
285 run cp -a $NDK_DIR/tests/abcc/jni/*.cpp $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
286 run cp -a $NDK_DIR/tests/abcc/jni/Abcc.h $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
287 run cp -a $NDK_DIR/tests/abcc/jni/host/*.cpp $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
288 run cp -a $NDK_DIR/tests/abcc/jni/host/*.h $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
289 …run cp -a $NDK_DIR/tests/abcc/jni/llvm_${LLVM_VERSION_MAJOR}${LLVM_VERSION_MINOR}.h $SRC_DIR/$TOOL…
290 …run cp -a $NDK_DIR/tests/abcc/jni/mman-win32/mman.[ch] $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
296 run $SRC_DIR/$TOOLCHAIN/llvm/configure \
303 --with-binutils-include=$SRC_DIR/binutils/binutils-$BINUTILS_VERSION/include \
333 GCC_SRC_DIR=$SRC_DIR/gcc/gcc-$DEFAULT_GCC32_VERSION
356 run copy_directory "$SRC_DIR/mclinker" "$MCLINKER_SRC_DIR"
463 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.cpp
464 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.c
465 rm -f $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/*.h
467 …cp -p "$SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native/ndk-bc2native.py" "$TOOLCHAIN_BUILD_PREFIX/bin…
559 if [ -f "$SRC_DIR/SOURCES" ]; then
560 cp "$SRC_DIR/SOURCES" "$TOOLCHAIN_PATH/SOURCES"