Skip to content

Commit 4028887

Browse files
committed
update compiler to the 64 bit ARM compiler (instead of the 32-bit one)
1 parent d73faad commit 4028887

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ if [ "$os_type" = "Linux" ]; then
606606
if [ $release_arm -eq 1 ]; then
607607
########################## Linux release|arm
608608

609-
cpp_compiler=arm-linux-gnueabihf-g++
609+
cpp_compiler=aarch64-linux-gnu-g++
610610

611611
printf "%s\n" "Compiling libebm with $cpp_compiler for Linux release|arm"
612612
obj_path_unsanitized="$tmp_path_unsanitized/gcc/obj/release/linux/arm/libebm"
@@ -619,7 +619,7 @@ if [ "$os_type" = "Linux" ]; then
619619
g_compile_out_full=""
620620

621621
make_paths "$obj_path_unsanitized" "$bin_path_unsanitized"
622-
check_install "$tmp_path_unsanitized" "g++-arm-linux-gnueabihf"
622+
check_install "$tmp_path_unsanitized" "g++-aarch64-linux-gnu"
623623
compile_directory "$cpp_compiler" "$specific_args $unzoned_args" "$src_path_unsanitized/unzoned" "$obj_path_unsanitized" "$is_asm"
624624
compile_directory "$cpp_compiler" "$specific_args $compute_args" "$src_path_unsanitized/compute/cpu_ebm" "$obj_path_unsanitized" "$is_asm"
625625
compile_directory "$cpp_compiler" "$specific_args $main_args" "$src_path_unsanitized" "$obj_path_unsanitized" "$is_asm"
@@ -634,7 +634,7 @@ if [ "$os_type" = "Linux" ]; then
634634
########################## Linux debug|arm
635635
printf "%s\n" "Compiling libebm with $cpp_compiler for Linux debug|arm"
636636

637-
cpp_compiler=arm-linux-gnueabihf-g++
637+
cpp_compiler=aarch64-linux-gnu-g++
638638

639639
obj_path_unsanitized="$tmp_path_unsanitized/gcc/obj/debug/linux/arm/libebm"
640640
bin_path_unsanitized="$tmp_path_unsanitized/gcc/bin/debug/linux/arm/libebm"
@@ -646,7 +646,7 @@ if [ "$os_type" = "Linux" ]; then
646646
g_compile_out_full=""
647647

648648
make_paths "$obj_path_unsanitized" "$bin_path_unsanitized"
649-
check_install "$tmp_path_unsanitized" "g++-arm-linux-gnueabihf"
649+
check_install "$tmp_path_unsanitized" "g++-aarch64-linux-gnu"
650650
compile_directory "$cpp_compiler" "$specific_args $unzoned_args" "$src_path_unsanitized/unzoned" "$obj_path_unsanitized" 0
651651
compile_directory "$cpp_compiler" "$specific_args $compute_args" "$src_path_unsanitized/compute/cpu_ebm" "$obj_path_unsanitized" 0
652652
compile_directory "$cpp_compiler" "$specific_args $main_args" "$src_path_unsanitized" "$obj_path_unsanitized" 0

0 commit comments

Comments
 (0)