• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:common

2 # -*- coding: utf-8 -*-
4 # Copyright (c) 2016-2023 Arm Limited.
6 # SPDX-License-Identifier: MIT
45 arm_compute_env.Append(ASFLAGS = "-I bootcode/")
59 # @param sources A list of files to build
72 # Build and return objects
81 # @brief Build multi-ISA files with the respective architecture.
96 # Build all the common files for the base architecture
97 lib_static_objs += build_obj_list(filedefs["armv8.2-a"], lib_files, static=True)
98 lib_shared_objs += build_obj_list(filedefs["armv8.2-a"], lib_files, static=False)
100 # Build the SVE specific files
101 lib_static_objs += build_obj_list(filedefs["armv8.2-a-sve"], lib_files_sve, static=True)
102 lib_shared_objs += build_obj_list(filedefs["armv8.2-a-sve"], lib_files_sve, static=False)
104 # Build the SVE2 specific files
106 lib_static_objs += build_obj_list(filedefs["armv8.6-a-sve2"], lib_files_sve2, static=True)
107 lib_shared_objs += build_obj_list(filedefs["armv8.6-a-sve2"], lib_files_sve2, static=False)
116 cloned_build_env["LINKFLAGS"].remove('-pie')
117 cloned_build_env["LINKFLAGS"].remove('-static-libstdc++')
129 cloned_build_env['LINKFLAGS'].append('"-Wl,-Map='+ name + '.map"')
131 cloned_build_env['LINKFLAGS'].append('-Wl,-map,' + name + '.map')
162 contents = src.get_contents().decode('utf-8')
182 …# E.g. "common/experimental/gemm_fused_post_ops/fp_mixed_precision_helpers.h" -> "fp_mixed_precisi…
183 include_file = found.group(1).split('/')[-1]
206 file_to_write = zlib.compress(file_to_write.encode('utf-8'), 9)
207 … file_to_write = codecs.encode(file_to_write, "base64").decode('utf-8').replace("\n", "")
213 # Generate string with build options library version to embed in the library:
215 git_hash = subprocess.check_output(["git", "rev-parse", "HEAD"])
219 …build_info = "\"arm_compute_version=%s Build options: %s Git hash=%s\"" % (VERSION, vars.args, git…
227 # Manage data-types
237 # Manage data-layouts
251 files = { "common" : [] }
260 files['common'] += filelist[backend]['operators'][operator]["files"]["common"]
269 files[tech] += tech_files.get('common', [])
312 print("Warning: Build configuration file is of invalid JSON format!")
317 print("Warning: Build configuration string is of invalid JSON format!")
346 …'src/core/CL/cl_kernels/common/experimental/gemm_fused_post_ops/act_eltwise_op_act/fp_post_ops_act…
347 … 'src/core/CL/cl_kernels/common/experimental/gemm_fused_post_ops/fp_mixed_precision_helpers.h',
348 … 'src/core/CL/cl_kernels/common/experimental/gemm_fused_post_ops/fp_elementwise_op_helpers.h',
351 # Common kernels
352 cl_files_common = ['src/core/CL/cl_kernels/common/activation_layer.cl',
353 'src/core/CL/cl_kernels/common/activation_layer_quant.cl',
354 'src/core/CL/cl_kernels/common/arg_min_max.cl',
355 'src/core/CL/cl_kernels/common/batchnormalization_layer.cl',
356 'src/core/CL/cl_kernels/common/bounding_box_transform.cl',
357 'src/core/CL/cl_kernels/common/bounding_box_transform_quantized.cl',
358 'src/core/CL/cl_kernels/common/bitwise_op.cl',
359 'src/core/CL/cl_kernels/common/cast.cl',
360 'src/core/CL/cl_kernels/common/comparisons.cl',
361 'src/core/CL/cl_kernels/common/concatenate.cl',
362 'src/core/CL/cl_kernels/common/col2im.cl',
363 'src/core/CL/cl_kernels/common/convert_fc_weights.cl',
364 'src/core/CL/cl_kernels/common/copy_tensor.cl',
365 'src/core/CL/cl_kernels/common/crop_tensor.cl',
366 'src/core/CL/cl_kernels/common/deconvolution_layer.cl',
367 'src/core/CL/cl_kernels/common/dequantization_layer.cl',
368 'src/core/CL/cl_kernels/common/elementwise_operation.cl',
369 'src/core/CL/cl_kernels/common/elementwise_operation_quantized.cl',
370 'src/core/CL/cl_kernels/common/elementwise_unary.cl',
371 'src/core/CL/cl_kernels/common/fft_digit_reverse.cl',
372 'src/core/CL/cl_kernels/common/fft.cl',
373 'src/core/CL/cl_kernels/common/fft_scale.cl',
374 'src/core/CL/cl_kernels/common/fill_border.cl',
375 'src/core/CL/cl_kernels/common/floor.cl',
376 'src/core/CL/cl_kernels/common/gather.cl',
377 'src/core/CL/cl_kernels/common/gemm.cl',
378 'src/core/CL/cl_kernels/common/gemm_reshaped_only_rhs_mmul.cl',
379 'src/core/CL/cl_kernels/common/gemm_utils.cl',
380 …'src/core/CL/cl_kernels/common/experimental/gemm_fused_post_ops/act_eltwise_op_act/gemm_mm_native.…
381 …'src/core/CL/cl_kernels/common/experimental/gemm_fused_post_ops/act_eltwise_op_act/gemm_mm_reshape…
382 …'src/core/CL/cl_kernels/common/experimental/gemm_fused_post_ops/act_eltwise_op_act/gemm_mm_reshape…
383 'src/core/CL/cl_kernels/common/gemv.cl',
384 'src/core/CL/cl_kernels/common/gemmlowp.cl',
385 'src/core/CL/cl_kernels/common/gemmlowp_reshaped_only_rhs_mmul.cl',
386 'src/core/CL/cl_kernels/common/generate_proposals.cl',
387 'src/core/CL/cl_kernels/common/generate_proposals_quantized.cl',
388 'src/core/CL/cl_kernels/common/instance_normalization.cl',
389 'src/core/CL/cl_kernels/common/l2_normalize.cl',
390 'src/core/CL/cl_kernels/common/mean_stddev_normalization.cl',
391 'src/core/CL/cl_kernels/common/unpooling_layer.cl',
392 'src/core/CL/cl_kernels/common/memset.cl',
393 'src/core/CL/cl_kernels/common/nonmax.cl',
394 'src/core/CL/cl_kernels/common/minmax_layer.cl',
395 'src/core/CL/cl_kernels/common/pad_layer.cl',
396 'src/core/CL/cl_kernels/common/permute.cl',
397 'src/core/CL/cl_kernels/common/pixelwise_mul_float.cl',
398 'src/core/CL/cl_kernels/common/pixelwise_mul_int.cl',
399 'src/core/CL/cl_kernels/common/qlstm_layer_normalization.cl',
400 'src/core/CL/cl_kernels/common/quantization_layer.cl',
401 'src/core/CL/cl_kernels/common/range.cl',
402 'src/core/CL/cl_kernels/common/reduction_operation.cl',
403 'src/core/CL/cl_kernels/common/reshape_layer.cl',
404 'src/core/CL/cl_kernels/common/convolution_layer.cl',
405 'src/core/CL/cl_kernels/common/reverse.cl',
406 'src/core/CL/cl_kernels/common/roi_align_layer.cl',
407 'src/core/CL/cl_kernels/common/roi_align_layer_quantized.cl',
408 'src/core/CL/cl_kernels/common/roi_pooling_layer.cl',
409 'src/core/CL/cl_kernels/common/select.cl',
410 'src/core/CL/cl_kernels/common/softmax_layer.cl',
411 'src/core/CL/cl_kernels/common/softmax_layer_quantized.cl',
412 'src/core/CL/cl_kernels/common/stack_layer.cl',
413 'src/core/CL/cl_kernels/common/slice_ops.cl',
414 'src/core/CL/cl_kernels/common/tile.cl',
415 'src/core/CL/cl_kernels/common/transpose.cl'
479 if env["build"] == "embed_only":
488 undefined_flag = '-Wl,-undefined,error' if 'macos' in arm_compute_env["os"] else '-Wl,--no-undefine…
499 # Load build definitions file
508 # Common backend files
509 lib_files = filelist['common']
526 lib_files += filelist['c_api']['common']
540 # Specify user-defined priority operators
557 lib_files += filelist['gpu']['common']
561 lib_files += get_operator_backend_files(filelist, cl_ops_to_build, 'gpu')['common']
570 # build winograd/depthwise sources for either v7a / v8a
571 arm_compute_env.Append(CPPPATH = ["src/core/NEON/kernels/convolution/common/",
580 lib_files += filelist['cpu']['common']
599 # Setup data-type and data-layout files to include
606 lib_files += cpu_files.get('common', [])
624 # Build bootcode in case of bare-metal
636 # STATIC library build.
638 … arm_compute_a = build_library('arm_compute-static', arm_compute_env, lib_static_objs, static=True)
646 arm_compute_a = build_library('arm_compute-static', arm_compute_env, lib_files, static=True)
650 # SHARED library build.
663 …arm_compute_core_a = build_library('arm_compute_core-static', arm_compute_env, lib_files, static=T…
665 arm_compute_core_a = build_library('arm_compute_core-static', arm_compute_env, [], static=True)
675 # Build graph libraries
676 arm_compute_graph_env.Append(CXXFLAGS = ['-Wno-redundant-move', '-Wno-pessimizing-move'])
678 arm_compute_graph_a = build_library('arm_compute_graph-static', arm_compute_graph_env, graph_files,…