android: install exact same package versions for host and cross compiler
This commit is contained in:
parent
78ef8912f8
commit
4ada52698a
2 changed files with 1036 additions and 177 deletions
File diff suppressed because it is too large
Load diff
|
@ -8,10 +8,6 @@
|
||||||
# versions that have been gotten working. To update, delete the
|
# versions that have been gotten working. To update, delete the
|
||||||
# cabal.config, run this script with an empty cabal and fix up the broken
|
# cabal.config, run this script with an empty cabal and fix up the broken
|
||||||
# patches, and then use cabal freeze to generate a new cabal.config.
|
# patches, and then use cabal freeze to generate a new cabal.config.
|
||||||
#
|
|
||||||
# This only installs haskell packages for ghc-android. The host ghc
|
|
||||||
# also needs to have all the git-annex build deps installed, in similar
|
|
||||||
# versions. Those are installed from Debian packages using apt.
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -130,11 +126,13 @@ EOF
|
||||||
installgitannexdeps -fAndroid -f-Pairing
|
installgitannexdeps -fAndroid -f-Pairing
|
||||||
}
|
}
|
||||||
|
|
||||||
# native cabal needs its own update
|
|
||||||
cabal update
|
|
||||||
|
|
||||||
PATH=$HOME/.ghc/$(cat abiversion)/bin:$HOME/.ghc/$(cat abiversion)/arm-linux-androideabi/bin:$PATH
|
|
||||||
setupcabal
|
setupcabal
|
||||||
cabal update
|
|
||||||
|
|
||||||
|
# Install packages for host ghc.
|
||||||
|
cabal update
|
||||||
|
installgitannexdeps
|
||||||
|
|
||||||
|
# Install packages for cross ghc, with patches as necessary.
|
||||||
|
PATH=$HOME/.ghc/$(cat abiversion)/bin:$HOME/.ghc/$(cat abiversion)/arm-linux-androideabi/bin:$PATH
|
||||||
|
cabal update
|
||||||
install_pkgs
|
install_pkgs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue