In ModuleInfo.txt, make sure that the script being executed can be

found by prepending a .
In build-for-llvm-top.sh, dereference variables for exansion.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-07-16 22:25:13 +00:00
parent e68da83d49
commit 8c88b6de62
2 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,2 @@
DepModule:
BuildCmd: build-for-llvm-top.sh
BuildCmd: ./build-for-llvm-top.sh

View File

@ -24,8 +24,9 @@ config_status="$build_dir/config.status"
if test ! -d "$config_status" ; then
# We must configure so build a list of configure options
config_options="--prefix=$PREFIX --with-llvmgccdir=$PREFIX"
echo ./configure $config_options $config_opts
./configure $config_options $config_opts
config_options="$config_options $config_opts"
echo ./configure $config_options
./configure $config_options || (echo "Can't configure llvm" ; exit 1)
fi
echo make $build_opts '&&' make install $build_opts