mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
Make changes so that this runs on FreeBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142482 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
717cdb0df8
commit
783993e795
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
#===-- test-release.sh - Test the LLVM release candidates ------------------===#
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
@ -12,6 +12,12 @@
|
||||
#
|
||||
#===------------------------------------------------------------------------===#
|
||||
|
||||
if [ `uname -s` = "FreeBSD" ]; then
|
||||
MAKE=gmake
|
||||
else
|
||||
MAKE=make
|
||||
fi
|
||||
|
||||
projects="llvm cfe dragonegg test-suite"
|
||||
|
||||
# Base SVN URL for the sources.
|
||||
@ -246,13 +252,13 @@ function build_llvmCore() {
|
||||
|
||||
cd $ObjDir
|
||||
echo "# Compiling llvm $Release-rc$RC $Flavor"
|
||||
echo "# make -j $NumJobs VERBOSE=1 $ExtraOpts"
|
||||
make -j $NumJobs VERBOSE=1 $ExtraOpts \
|
||||
echo "# ${MAKE} -j $NumJobs VERBOSE=1 $ExtraOpts"
|
||||
${MAKE} -j $NumJobs VERBOSE=1 $ExtraOpts \
|
||||
2>&1 | tee $LogDir/llvm.make-Phase$Phase-$Flavor.log
|
||||
|
||||
echo "# Installing llvm $Release-rc$RC $Flavor"
|
||||
echo "# make install"
|
||||
make install \
|
||||
echo "# ${MAKE} install"
|
||||
${MAKE} install \
|
||||
2>&1 | tee $LogDir/llvm.install-Phase$Phase-$Flavor.log
|
||||
cd $BuildDir
|
||||
}
|
||||
@ -263,9 +269,9 @@ function test_llvmCore() {
|
||||
ObjDir="$3"
|
||||
|
||||
cd $ObjDir
|
||||
make -k check-all \
|
||||
${MAKE} -k check-all \
|
||||
2>&1 | tee $LogDir/llvm.check-Phase$Phase-$Flavor.log
|
||||
make -k unittests \
|
||||
${MAKE} -k unittests \
|
||||
2>&1 | tee $LogDir/llvm.unittests-Phase$Phase-$Flavor.log
|
||||
cd $BuildDir
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user