mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
macOS fixes
This commit is contained in:
parent
2eef7f58b1
commit
38551d7a1d
1 changed files with 4 additions and 4 deletions
|
@ -2,8 +2,8 @@
|
||||||
echo Starting build.sh
|
echo Starting build.sh
|
||||||
|
|
||||||
PATH=/usr/local/bin:$PATH:$HOME/bin
|
PATH=/usr/local/bin:$PATH:$HOME/bin
|
||||||
SCRIPT="$(realpath "$0")"
|
SCRIPTPATH=$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)
|
||||||
SCRIPTPATH="$(dirname "$SCRIPT")"
|
echo Building from from $SCRIPTPATH
|
||||||
cd $SCRIPTPATH
|
cd $SCRIPTPATH
|
||||||
|
|
||||||
# exit when any command fails
|
# exit when any command fails
|
||||||
|
@ -15,11 +15,11 @@ if [ ! -f ../BeefySysLib/third_party/libffi/Makefile ]; then
|
||||||
echo Building libffi...
|
echo Building libffi...
|
||||||
cd ../BeefySysLib/third_party/libffi
|
cd ../BeefySysLib/third_party/libffi
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
cd $SCRIPTPATH
|
cd $SCRIPTPATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d ../extern/llvm_linux_8_0_0 ]; then
|
if [ ! -d ../extern/llvm_linux_8_0_0/bin ]; then
|
||||||
echo Building LLVM...
|
echo Building LLVM...
|
||||||
cd ../extern
|
cd ../extern
|
||||||
./llvm_build.sh
|
./llvm_build.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue