File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ case "${TARGET_ARCH}" in
1414 armhf)
1515 ABI_NAME=" arm-linux-gnueabihf"
1616 ;;
17+ arm64)
18+ ABI_NAME=" aarch64-linux-gnu"
19+ ;;
1720 * )
1821 echo " Unsupported TARGET_ARCH ${TARGET_ARCH} "
1922 exit 1
@@ -50,10 +53,10 @@ setup_cross_compiler() {
5053 sudo update-alternatives --install " /usr/bin/${ABI_NAME} -g++" g++ " /usr/bin/${ABI_NAME} -g++-${GCC_VERSION} " 10
5154 sudo update-alternatives --install " /usr/bin/${ABI_NAME} -gcc" gcc " /usr/bin/${ABI_NAME} -gcc-${GCC_VERSION} " 10
5255
53- if [[ " ${TARGET_ARCH} " == armhf ]] ; then
54- # Ubuntu's Qt version only ships a profile for gnueabi, but not for gnueabihf. Therefore, build a custom one:
56+ # Ubuntu's Qt version only ships a profile for gnueabi, but not for gnueabihf or aarch64. Therefore, build a custom one:
57+ if [[ $ABI_NAME ]] ; then
5558 sudo cp -R " /usr/lib/${ABI_NAME} /qt5/mkspecs/linux-arm-gnueabi-g++/" " /usr/lib/${ABI_NAME} /qt5/mkspecs/${ABI_NAME} -g++/"
56- sudo sed -re ' s/- gnueabi/-gnueabihf/ ' -i " /usr/lib/${ABI_NAME} /qt5/mkspecs/${ABI_NAME} -g++/qmake.conf"
59+ sudo sed -re " s/arm-linux- gnueabi/${ABI_NAME} / " -i " /usr/lib/${ABI_NAME} /qt5/mkspecs/${ABI_NAME} -g++/qmake.conf"
5760 fi
5861}
5962
Original file line number Diff line number Diff line change @@ -209,6 +209,13 @@ jobs:
209209 base_command : TARGET_ARCH=armhf ./.github/autobuild/linux_deb.sh
210210 run_codeql : false
211211
212+ - config_name : Linux .deb arm64 (artifacts)
213+ target_os : linux
214+ building_on_os : ubuntu-22.04
215+ building_container : ubuntu:18.04
216+ base_command : TARGET_ARCH=arm64 ./.github/autobuild/linux_deb.sh
217+ run_codeql : false
218+
212219 - config_name : MacOS (artifacts)
213220 target_os : macos
214221 building_on_os : macos-12
You can’t perform that action at this time.
0 commit comments