1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

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.

llvm-svn: 39936
This commit is contained in:
Reid Spencer 2007-07-16 22:25:13 +00:00
parent 9cd476449b
commit d43a77df41
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