• Home
  • Raw
  • Download

Lines Matching +full:is +full:- +full:glob

2 # -*- coding: utf-8 -*-
4 # Copyright (c) 2017-2022 Arm Limited.
6 # SPDX-License-Identifier: MIT
8 # Permission is hereby granted, free of charge, to any person obtaining a copy
12 # sell copies of the Software, and to permit persons to whom the Software is
18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31 # vars is imported from arm_compute:
58 if type(option_value) is bool and option_value:
70 # Disable floating-point expression contraction (e.g. fused multiply-add operations)
72 test_env.Append(CXXFLAGS = ['-ffp-contract=off'])
74 # Remove -Wnoexcept from tests
75 if 'g++' in test_env['CXX'] and '-Wnoexcept' in test_env['CXXFLAGS']:
76 test_env['CXXFLAGS'].remove("-Wnoexcept")
78 load_whole_archive = '-Wl,--whole-archive'
79 noload_whole_archive = '-Wl,--no-whole-archive'
81 load_whole_archive = '-Wl,-force_load'
82 noload_whole_archive = '-Wl,-noall_load'
106 common_files = Glob('*.cpp')
109 files_benchmark = Glob('benchmark/*.cpp')
111 files_benchmark += Glob(env['external_tests_dir'] + '/tests/benchmark/*.cpp')
114 files_validation = Glob('validation/UNIT/*/*.cpp')
115 files_validation += Glob('validation/UNIT/*.cpp')
119 files_validation += Glob('validation/CPP/' + filter_pattern)
123 files_validation += Glob('validation/dynamic_fusion/gpu/' + filter_pattern)
124 files_validation += Glob('validation/dynamic_fusion/gpu/cl/' + filter_pattern)
130 files_benchmark += Glob('benchmark/CL/*/' + filter_pattern)
131 files_benchmark += Glob('benchmark/CL/' + filter_pattern)
133 files_benchmark += Glob(env['external_tests_dir'] + '/tests/benchmark/CL/' + filter_pattern)
135 files_validation += Glob('validation/CL/*/' + filter_pattern)
136 files_validation += Glob('validation/CL/' + filter_pattern)
139 … files_validation += Glob(env['external_tests_dir'] + '/tests/validation/CL/' + filter_pattern)
140 files_validation += Glob('validation/gpu/unit/*.cpp')
144 files_benchmark += Glob('benchmark/NEON/*/' + filter_pattern)
145 files_benchmark += Glob('benchmark/NEON/' + filter_pattern)
148 … files_benchmark += Glob(env['external_tests_dir'] + '/tests/benchmark/NEON/' + filter_pattern)
150 files_validation += Glob('validation/NEON/' + filter_pattern)
152 files_validation += Glob('validation/NEON/UNIT/MemoryManager.cpp' + filter_pattern)
153 files_validation += Glob('validation/NEON/UNIT/DynamicTensor.cpp' + filter_pattern)
154 files_validation += Glob('validation/NEON/UNIT/TensorAllocator.cpp' + filter_pattern)
156 files_validation += Glob('validation/NEON/*/' + filter_pattern)
158 … files_validation += Glob(env['external_tests_dir'] + '/tests/validation/NEON/' + filter_pattern)
159 files_validation += Glob('validation/cpu/unit/*.cpp')
166 extra_link_flags += ['-fstack-protector-strong']
178 bm_link_flags += ['-Wl,--build-id=none', '-T', env['linker_script']]
181 test_env['CXXFLAGS'].append('-fopenmp')
182 test_env['LINKFLAGS'].append('-fopenmp')
185 test_env['LINKFLAGS'].append('-static-openmp')
192 …= env.StaticLibrary('arm_compute_validation_framework', Glob('validation/reference/*.cpp') + Glob(…
218 for file in Glob("validate_examples/neon_*.cpp"):
223 files = Glob("validate_examples/cl_*.cpp")
225 files += Glob("validate_examples/neoncl_*.cpp")
232 for file in Glob("validate_examples/graph_*.cpp"):
238 #-Wl,--allow-shlib-undefined: Ignore dependencies of dependencies
239 …rm_compute_validation_framework], LINKFLAGS=test_env["LINKFLAGS"]+['-Wl,--allow-shlib-undefined'] )
260 for file in Glob("%s/neon_*.cpp" % examples_folder):
265 files = Glob("%s/cl_*.cpp" % examples_folder)
267 files += Glob("%s/neoncl_*.cpp" % examples_folder)
276 files = Glob("%s/gemm_tuner/cl_*.cpp" % examples_folder)
284 for file in Glob("%s/graph_*.cpp" % examples_folder ):
290 #-Wl,--allow-shlib-undefined: Ignore dependencies of dependencies
291 …v["LIBS"] + ["arm_compute_graph"], LINKFLAGS=test_env["LINKFLAGS"]+['-Wl,--allow-shlib-undefined'])