Skip to content

Commit

Permalink
mingw-on-arch-automator: Add a switch for cloog package to use. Disab…
Browse files Browse the repository at this point in the history
…le -git version by default.
  • Loading branch information
Tk-Glitch committed Oct 9, 2018
1 parent fa13d84 commit 6a816e6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions mingw/mingw-on-arch-automator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
_where=$PWD
_dwarf2=true
_fortran=true
_cloog_git=false

echo '#################################################################'
echo ''
Expand All @@ -20,11 +21,16 @@ rm -rf cloog-git

sudo pacman -Rscnd mingw-w64 --noconfirm

# cloog git - Needed for a successful build for now
git clone https://aur.archlinux.org/cloog-git.git
cd cloog-git
makepkg -si --noconfirm
cd $_where
# cloog git - If the usual cloog package fails with mingw, you'll need -git
if [ $_cloog_git == "true" ]; then
sudo pacman -Rscnd cloog --noconfirm
git clone https://aur.archlinux.org/cloog-git.git
cd cloog-git
makepkg -si --noconfirm
cd $_where
else
sudo pacman -S cloog --noconfirm
fi

# mingw-w64-binutils
git clone https://aur.archlinux.org/mingw-w64-binutils.git
Expand Down

0 comments on commit 6a816e6

Please # to comment.