annotate liboffloadmic/configure.tgt @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 # Copyright (c) 2014 Intel Corporation. All Rights Reserved.
kono
parents:
diff changeset
2 #
kono
parents:
diff changeset
3 # Redistribution and use in source and binary forms, with or without
kono
parents:
diff changeset
4 # modification, are permitted provided that the following conditions
kono
parents:
diff changeset
5 # are met:
kono
parents:
diff changeset
6 #
kono
parents:
diff changeset
7 # * Redistributions of source code must retain the above copyright
kono
parents:
diff changeset
8 # notice, this list of conditions and the following disclaimer.
kono
parents:
diff changeset
9 # * Redistributions in binary form must reproduce the above copyright
kono
parents:
diff changeset
10 # notice, this list of conditions and the following disclaimer in the
kono
parents:
diff changeset
11 # documentation and/or other materials provided with the distribution.
kono
parents:
diff changeset
12 # * Neither the name of Intel Corporation nor the names of its
kono
parents:
diff changeset
13 # contributors may be used to endorse or promote products derived
kono
parents:
diff changeset
14 # from this software without specific prior written permission.
kono
parents:
diff changeset
15 #
kono
parents:
diff changeset
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
kono
parents:
diff changeset
17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
kono
parents:
diff changeset
18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
kono
parents:
diff changeset
19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
kono
parents:
diff changeset
20 # HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
kono
parents:
diff changeset
21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
kono
parents:
diff changeset
22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
kono
parents:
diff changeset
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
kono
parents:
diff changeset
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
kono
parents:
diff changeset
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
kono
parents:
diff changeset
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 # Disable Offload Runtime library for non x86 architecture.
kono
parents:
diff changeset
29 case "${target}" in
kono
parents:
diff changeset
30 x86_64-*-linux*)
kono
parents:
diff changeset
31 ;;
kono
parents:
diff changeset
32 i?86-*-linux*)
kono
parents:
diff changeset
33 ;;
kono
parents:
diff changeset
34 *-*-*)
kono
parents:
diff changeset
35 UNSUPPORTED=1 ;;
kono
parents:
diff changeset
36 esac
kono
parents:
diff changeset
37
kono
parents:
diff changeset
38 # Disable liboffloadmic on non POSIX hosted systems.
kono
parents:
diff changeset
39 . ${srcdir}/../config/target-posix