mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-27 21:39:34 +00:00
First, we don't need to clone all the git repository, we only need a sub-directory. Secondly, as we the base_deps archives only archive the sub-directory, subsequent run of kiwix-build in the ci will try to do a git update on a non git repository. By making ourselves a tar archive, we simplify the process. The archive on download.kiwix.org has been made with : `tar czf raspberrypy-tools.tar.gz raspberrypi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64` `raspberrypi-tools` being a clone of `https://github.com/raspberrypi/tools` commit sha is 5caa7046982f0539cf5380f94da04b31129ed521
13 lines
390 B
Python
13 lines
390 B
Python
from .base import Dependency, ReleaseDownload, NoopBuilder
|
|
from kiwixbuild.utils import Remotefile
|
|
|
|
class armhf_toolchain(Dependency):
|
|
neutral = True
|
|
name = 'armhf'
|
|
|
|
class Source(ReleaseDownload):
|
|
archive = Remotefile('raspberrypi-tools.tar.gz',
|
|
'e72b35436f2f23f2f7df322d6c318b9be57b21596b5ff0b8936af4ad94e04f2e')
|
|
|
|
Builder = NoopBuilder
|