PR target/83926
[official-gcc.git] / libhsail-rt / configure.tgt
blobe5207eb7bd3023c223eb0e8c78043da49a76f4b5
1 # -*- shell-script -*-
2 #  Copyright (C) 2012-2018 Free Software Foundation, Inc.
3 #  Contributed by Pekka Jaaskelainen <pekka.jaaskelainen@parmance.com>
4 #  for General Processor Tech.
6 #  This file is part of the libhsail-rt.
8 #  Permission is hereby granted, free of charge, to any person obtaining a
9 #  copy of this software and associated documentation files
10 #  (the "Software"), to deal in the Software without restriction, including
11 #  without limitation the rights to use, copy, modify, merge, publish,
12 #  distribute, sublicense, and/or sell copies of the Software, and to
13 #  permit persons to whom the Software is furnished to do so, subject to
14 #  the following conditions:
16 #  The above copyright notice and this permission notice shall be included
17 #  in all copies or substantial portions of the Software.
19 #  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 #  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 #  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22 #  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
23 #  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24 #  OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
25 #  USE OR OTHER DEALINGS IN THE SOFTWARE.
27 # Disable the BRIG frontend and libhsail-rt on untested or known
28 # broken systems. Currently it has been tested only on x86_64 Linux
29 # of the upstream gcc targets. More targets shall be added after testing.
30 case "${target}" in
31   x86_64-*-linux* | i?86-*-linux*)
32     ;;
33     *)
34     UNSUPPORTED=1
35     ;;
36 esac