Then modify /etc/apt/sources.list to contain the URL of arm64 package
repository. This is the sources.list that I use:
- deb [arch=amd64] http://cz.archive.ubuntu.com/ubuntu xenial main universe
+ deb [arch=amd64] http://cz.archive.ubuntu.com/ubuntu xenial main universe multiverse restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ xenial main universe
- deb [arch=arm64] http://ports.ubuntu.com/ xenial main universe
+ deb [arch=arm64] http://ports.ubuntu.com/ xenial main universe multiverse restricted
Furthermore, Xenial has too old packages to cross build LLVM. For that
reason, we backport the following packages: `cmake_3.7.2-1` from
Section: devel
Priority: optional
Maintainer: Michal Sojka <michal.sojka@cvut.cz>
-Build-Depends: debhelper (>= 9), cmake (>= 3.7.2), ninja-build, python3:any, libffi-dev, libelf-dev, gcc-5:native, g++-5:native
+Build-Depends: debhelper (>= 9), cmake (>= 3.7.2), ninja-build, python3:any, libffi-dev, libelf-dev, gcc-5:native, g++-5:native, nvidia-cuda-toolkit:native
Standards-Version: 3.9.8
Homepage: https://iis-git.ee.ethz.ch/H2020-Compiler/HerculesCompiler
#Vcs-Git: https://anonscm.debian.org/collab-maint/hercules-compiler.git