111
|
1 # Copyright (C) 2013-2016, Intel Corporation
|
|
2 # All rights reserved.
|
|
3 #
|
|
4 # Redistribution and use in source and binary forms, with or without
|
|
5 # modification, are permitted provided that the following conditions
|
|
6 # are met:
|
|
7 #
|
|
8 # * Redistributions of source code must retain the above copyright
|
|
9 # notice, this list of conditions and the following disclaimer.
|
|
10 # * Redistributions in binary form must reproduce the above copyright
|
|
11 # notice, this list of conditions and the following disclaimer in
|
|
12 # the documentation and/or other materials provided with the
|
|
13 # distribution.
|
|
14 # * Neither the name of Intel Corporation nor the names of its
|
|
15 # contributors may be used to endorse or promote products derived
|
|
16 # from this software without specific prior written permission.
|
|
17 #
|
|
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
22 # HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
23 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
24 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
25 # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
26 # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
27 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
|
|
28 # WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
29 # POSSIBILITY OF SUCH DAMAGE.
|
|
30 #
|
|
31 # *********************************************************************
|
|
32 #
|
|
33 # PLEASE NOTE: This file is a downstream copy of a file mainitained in
|
|
34 # a repository at cilkplus.org. Changes made to this file that are not
|
|
35 # submitted through the contribution process detailed at
|
|
36 # http://www.cilkplus.org/submit-cilk-contribution will be lost the next
|
|
37 # time that a new version is released. Changes only submitted to the
|
|
38 # GNU compiler collection or posted to the git repository at
|
|
39 # https://bitbucket.org/intelcilkruntime/intel-cilk-runtime.git are
|
|
40 # not tracked.
|
|
41 #
|
|
42 # We welcome your contributions to this open source project. Thank you
|
|
43 # for your assistance in helping us improve Cilk Plus.
|
|
44
|
|
45 # Disable Cilk Runtime library for unsupported architectures.
|
|
46 case "${target}" in
|
|
47 i?86-*-* | x86_64-*-*)
|
|
48 ;;
|
|
49 arm-*-*)
|
|
50 ;;
|
|
51 sparc*-*-*)
|
|
52 ;;
|
|
53 *-*-*)
|
|
54 UNSUPPORTED=1
|
|
55 ;;
|
|
56 esac
|
|
57
|
|
58 # Disable libcilkrts on non POSIX hosted systems.
|
|
59 . ${srcdir}/../config/target-posix
|