"Fossies" - the Fresh Open Source Software Archive

Member "mesa-20.1.8/src/gallium/drivers/swr/rasterizer/jitter/meson.build" (16 Sep 2020, 2500 Bytes) of package /linux/misc/mesa-20.1.8.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "meson.build": 20.1.5_vs_20.2.0-rc1.

    1 # Copyright © 2017-2018 Intel Corporation
    2 
    3 # Permission is hereby granted, free of charge, to any person obtaining a copy
    4 # of this software and associated documentation files (the "Software"), to deal
    5 # in the Software without restriction, including without limitation the rights
    6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    7 # copies of the Software, and to permit persons to whom the Software is
    8 # furnished to do so, subject to the following conditions:
    9 
   10 # The above copyright notice and this permission notice shall be included in
   11 # all copies or substantial portions of the Software.
   12 
   13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   19 # SOFTWARE.
   20 
   21 if dep_llvm.type_name() == 'internal'
   22   _irbuilder_h = subproject('llvm').get_variable('irbuilder_h')
   23 else
   24   if meson.version().version_compare('>=0.51')
   25     _llvm_includedir = dep_llvm.get_variable(configtool : 'includedir', cmake : 'LLVM_INCLUDE_DIR')
   26   else
   27     _llvm_includedir = dep_llvm.get_configtool_variable('includedir')
   28   endif
   29   _irbuilder_h = join_paths(_llvm_includedir, 'llvm', 'IR', 'IRBuilder.h')
   30 endif
   31 
   32 gen_builder_hpp = custom_target(
   33   'gen_builder.hpp',
   34   input : [
   35     swr_gen_llvm_ir_macros_py, _irbuilder_h,
   36   ],
   37   output : 'gen_builder.hpp',
   38   command : [
   39     prog_python, '@INPUT0@', '--input', '@INPUT1@', '--output', '@OUTPUT@',
   40     '--gen_h', '--output-dir', '@OUTDIR@'
   41   ],
   42   depend_files : swr_gen_builder_depends,
   43   build_by_default : true,
   44 )
   45 
   46 gen_builder_meta_hpp = custom_target(
   47   'gen_builder_meta.hpp',
   48   input : '../codegen/gen_llvm_ir_macros.py',
   49   output : 'gen_builder_meta.hpp',
   50   command : [
   51     prog_python, '@INPUT0@', '--gen_meta_h', '--output', '@OUTPUT@',
   52     '--output-dir', '@OUTDIR@'
   53   ],
   54   depend_files : swr_gen_builder_depends,
   55 )
   56 
   57 gen_builder_intrin_hpp = custom_target(
   58   'gen_builder_intrin.hpp',
   59   input : '../codegen/gen_llvm_ir_macros.py',
   60   output : 'gen_builder_intrin.hpp',
   61   command : [
   62     prog_python, '@INPUT0@', '--gen_intrin_h', '--output', '@OUTPUT@',
   63     '--output-dir', '@OUTDIR@'
   64   ],
   65   depend_files : swr_gen_builder_depends,
   66 )
   67