Skip to content

Commit

Permalink
GUACAMOLE-1374: Merge Guacamole Server options for Docker on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman authored Apr 7, 2024
2 parents f9d9dff + 5a65011 commit 633d5b9
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/guacd-docker/bin/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,27 @@ install_from_git() {

}

#
# Determine any option overrides to guarantee successful build
#

export BUILD_ARCHITECTURE="$(arch)" # Determine architecture building on
echo "Build architecture: $BUILD_ARCHITECTURE"

case $BUILD_ARCHITECTURE in
armv6l|armv7l|aarch64)
export FREERDP_OPTS_OVERRIDES="-DWITH_SSE2=OFF" # Disable SSE2 on ARM
;;
*)
export FREERDP_OPTS_OVERRIDES=""
;;
esac

#
# Build and install core protocol library dependencies
#

install_from_git "https://github.com/FreeRDP/FreeRDP" "$WITH_FREERDP" $FREERDP_OPTS
install_from_git "https://github.com/FreeRDP/FreeRDP" "$WITH_FREERDP" $FREERDP_OPTS $FREERDP_OPTS_OVERRIDES
install_from_git "https://github.com/libssh2/libssh2" "$WITH_LIBSSH2" $LIBSSH2_OPTS
install_from_git "https://github.com/seanmiddleditch/libtelnet" "$WITH_LIBTELNET" $LIBTELNET_OPTS
install_from_git "https://github.com/LibVNC/libvncserver" "$WITH_LIBVNCCLIENT" $LIBVNCCLIENT_OPTS
Expand Down

0 comments on commit 633d5b9

Please sign in to comment.