aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index 60532fe..d757369 100755
--- a/configure
+++ b/configure
@@ -2754,6 +2754,7 @@ target_libraries="target-libgcc \
target-libgomp \
target-libcilkrts \
target-liboffloadmic \
+ target-libhsail-rt \
target-libatomic \
target-libitm \
target-libstdc++-v3 \
@@ -3482,6 +3483,19 @@ if test x$enable_libgo = x; then
esac
fi
+# Disable the BRIG frontend and libhsail-rt on untested or known
+# broken systems. Currently it has been tested only on x86_64 Linux
+# of the upstream gcc targets. More targets shall be added after testing.
+case "${target}" in
+ x86_64-*-linux*)
+ ;;
+ *)
+ unsupported_languages="$unsupported_languages brig"
+ # This implicitly disables also target-libhsail-rt as it won't
+ # get added to the build without BRIG FE.
+ ;;
+esac
+
# Default libgloss CPU subdirectory.
libgloss_dir="$target_cpu"