Skip to content

Commit

Permalink
Fix LowFat version.
Browse files Browse the repository at this point in the history
  • Loading branch information
GJDuck committed Jan 9, 2019
1 parent ad8d4da commit 37737db
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
LEGACY=no
BUILD_PLUGIN=no
VERSION=`cat VERSION`
LOWFAT_VERSION=be90b9106a09dde4e9bf9524f002d7db493643eb
RELEASE_NAME=effectivesan-$VERSION
BUILD_RELEASE=no
if [ $# = 1 -a "$1" = "release" ]
Expand Down Expand Up @@ -120,16 +121,16 @@ then
missing!"
echo -e "${GREEN}$0${OFF}: downloading LowFat.zip from GitHub..."
wget -O "$LOWFAT_SRC_ZIP" \
https://github.com/GJDuck/LowFat/archive/master.zip
https://github.com/GJDuck/LowFat/archive/$LOWFAT_VERSION.zip
fi

echo -e "${GREEN}$0${OFF}: extracting LowFat files..."
yes | unzip "$LOWFAT_SRC_ZIP" 'LowFat-master/config/*' -d .
yes | unzip "$LOWFAT_SRC_ZIP" LowFat-$LOWFAT_VERSION'/config/*' -d .
yes | unzip "$LOWFAT_SRC_ZIP" \
'LowFat-master/llvm-4.0.0.src/projects/compiler-rt/lib/lowfat/lowfat*' \
LowFat-VERSION'/llvm-4.0.0.src/projects/compiler-rt/lib/lowfat/lowfat*' \
-d .
mv -f LowFat-master/config/ config
mv -f LowFat-master/llvm-4.0.0.src/projects/compiler-rt/lib/lowfat/* \
mv -f LowFat-$LOWFAT_VERSION/config/ config
mv -f LowFat-$LOWFAT_VERSION/llvm-4.0.0.src/projects/compiler-rt/lib/lowfat/* \
llvm-4.0.1.src/projects/compiler-rt/lib/effective/.

CMAKE=`which cmake`
Expand Down

0 comments on commit 37737db

Please sign in to comment.