SConsopts revision 11308:7d8836fd043d
112841Sgabeblack@google.com# -*- mode:python -*- 212841Sgabeblack@google.com 312841Sgabeblack@google.com# 412841Sgabeblack@google.com# Copyright (c) 2015 Advanced Micro Devices, Inc. 512841Sgabeblack@google.com# All rights reserved. 612841Sgabeblack@google.com# 712841Sgabeblack@google.com# For use for simulation and test purposes only 812841Sgabeblack@google.com# 912841Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without 1012841Sgabeblack@google.com# modification, are permitted provided that the following conditions are met: 1112841Sgabeblack@google.com# 1212841Sgabeblack@google.com# 1. Redistributions of source code must retain the above copyright notice, 1312841Sgabeblack@google.com# this list of conditions and the following disclaimer. 1412841Sgabeblack@google.com# 1512841Sgabeblack@google.com# 2. Redistributions in binary form must reproduce the above copyright notice, 1612841Sgabeblack@google.com# this list of conditions and the following disclaimer in the documentation 1712841Sgabeblack@google.com# and/or other materials provided with the distribution. 1812841Sgabeblack@google.com# 1912841Sgabeblack@google.com# 3. Neither the name of the copyright holder nor the names of its contributors 2012841Sgabeblack@google.com# may be used to endorse or promote products derived from this software 2112841Sgabeblack@google.com# without specific prior written permission. 2212841Sgabeblack@google.com# 2312841Sgabeblack@google.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 2412841Sgabeblack@google.com# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2512841Sgabeblack@google.com# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2612841Sgabeblack@google.com# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 2712841Sgabeblack@google.com# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2812841Sgabeblack@google.com# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2912841Sgabeblack@google.com# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 3012841Sgabeblack@google.com# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 3112841Sgabeblack@google.com# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 3212841Sgabeblack@google.com# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 3312841Sgabeblack@google.com# POSSIBILITY OF SUCH DAMAGE. 3412841Sgabeblack@google.com# 3512841Sgabeblack@google.com# Author: Anthony Gutierrez 3612841Sgabeblack@google.com# 3712878Sgabeblack@google.com 3812841Sgabeblack@google.comImport('*') 3912878Sgabeblack@google.com 4012878Sgabeblack@google.comall_gpu_isa_list.append('hsail') 4112841Sgabeblack@google.com