google-coral / libcoral

C++ API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
79 stars 43 forks source link

libcoral on macOS ventura #31

Open Smiril opened 1 year ago

Smiril commented 1 year ago

Description

forgive me but I ask it ... how to compile this?

Click to expand! ### Issue Type Build/Install ### Operating System Mac OS ### Coral Device USB Accelerator ### Other Devices _No response_ ### Programming Language C++ ### Relevant Log Output ```shell Loading: 0 packages loaded Loading: 0 packages loaded bazel build --compilation_mode=opt --cpu=darwin //coral:bbox_test //coral:error_reporter_test //coral:inference_repeatability_test //coral:inference_stress_test //coral:model_loading_stress_test //coral:multiple_tpus_inference_stress_test //coral:segmentation_models_test //coral:test_utils_test //coral:tflite_utils_test //coral/classification:adapter_test //coral/classification:classification_models_test //coral/classification:cocompiled_classification_models_test //coral/classification:lstm_mnist_models_test //coral/detection:adapter_test //coral/detection:models_test //coral/learn:imprinting_engine_test //coral/learn:utils_test //coral/learn/backprop:layers_test //coral/learn/backprop:multi_variate_normal_distribution_test //coral/learn/backprop:softmax_regression_model_test //coral/learn/backprop:test_utils_test //coral/pipeline:detection_models_test //coral/pipeline:models_test //coral/pipeline:pipelined_model_runner_test //coral/pipeline/internal:memory_pool_allocator_test //coral/pipeline/internal:segment_runner_test //coral/pose_estimation:bodypix_test //coral/pose_estimation:movenet_test //coral/pose_estimation:posenet_decoder_test //coral/pose_estimation:posenet_test //coral/tools:automl_model_append_rnn_link_test //coral/tools:tflite_graph_util_test //coral/tools/partitioner:parameter_count_based_partitioner_test //coral/tools/partitioner:profiling_based_partitioner_ondevice_test //coral/tools/partitioner:profiling_based_partitioner_test //coral/tools/partitioner:utils_test ERROR: /Users/smiril/coral/libcoral/coral/BUILD:264:8: no such package '@com_google_googletest//': The repository '@com_google_googletest' could not be resolved: Repository '@com_google_googletest' is not defined and referenced by '//coral:inference_repeatability_test' ERROR: Analysis of target '//coral:inference_repeatability_test' failed; build aborted: Analysis failed INFO: Elapsed time: 0,083s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets conf\ igured) make: *** [tests] Error 1 ```
Smiril commented 1 year ago

make CPU=aarch64 examples gives me following error

bazel build --compilation_mode=opt --cpu=aarch64 --copt=-ffp-contract=off //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
ERROR: /Users/smiril/coral/libcoral/coral/examples/BUILD:96:10: no such package '@org_tensorflow//tensorflow/lite': The repository '@org_tensorflow' could not be resolved: Repository '@org_tensorflow' is not defined and referenced by '//coral/examples:model_pipelining'
ERROR: Analysis of target '//coral/examples:model_pipelining' failed; build aborted: Analysis failed
INFO: Elapsed time: 0,070s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets conf\
igured)
make: *** [examples] Error 1
Smiril commented 1 year ago

make CPU=darwin examples give me this error

bazel build --compilation_mode=opt --cpu=darwin //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
ERROR: /Users/smiril/coral/libcoral/coral/examples/BUILD:31:10: no such package '@org_tensorflow//tensorflow/lite': The repository '@org_tensorflow' could not be resolved: Repository '@org_tensorflow' is not defined and referenced by '//coral/examples:two_models_one_tpu'
ERROR: Analysis of target '//coral/examples:two_models_one_tpu' failed; build aborted: Analysis failed
INFO: Elapsed time: 0,079s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets conf\
igured)
make: *** [examples] Error 1
hjonnala commented 1 year ago

Have you cloned the repo with below command?

git clone --recurse-submodules https://github.com/google-coral/libcoral

Smiril commented 1 year ago

yes

Smiril commented 1 year ago

and run "git submodule init && git submodule update"

Smiril commented 1 year ago

next up I run make CPU=darwin examples

bazel build --compilation_mode=opt --cpu=darwin //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
ERROR: /Users/smiril/coral/libcoral/coral/examples/BUILD:46:10: no such package '@org_tensorflow//tensorflow/lite': The repository '@org_tensorflow' could not be resolved: Repository '@org_tensorflow' is not defined and referenced by '//coral/examples:two_models_two_tpus_threaded'
ERROR: Analysis of target '//coral/examples:two_models_two_tpus_threaded' failed; build aborted: Analysis failed
INFO: Elapsed time: 0,101s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 111 targets co\
nfigured)
make: *** [examples] Error 1
Smiril commented 1 year ago

today I run ..... git submodule init && git submodule update and ..... make CPU=darwin examples

bazel build --compilation_mode=opt --cpu=darwin //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
ERROR: /Users/smiril/coral/libcoral/coral/examples/BUILD:62:10: no such package '@libedgetpu//tflite/public': The repository '@libedgetpu' could not be resolved: Repository '@libedgetpu' is not defined and referenced by '//coral/examples:classify_image'
ERROR: Analysis of target '//coral/examples:classify_image' failed; build aborted: Analysis failed
INFO: Elapsed time: 0,090s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (33 packages loaded, 165 targets conf\
igured)
make: *** [examples] Error 1
Smiril commented 1 year ago

git pull origin master git submodule init && git submodule update make CPU=darwin examples

bazel build --compilation_mode=opt --cpu=darwin //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
ERROR: /Users/smiril/coral/libcoral/coral/examples/BUILD:96:10: no such package '@libedgetpu//tflite/public': The repository '@libedgetpu' could not be resolved: Repository '@libedgetpu' is not defined and referenced by '//coral/examples:model_pipelining'
ERROR: Analysis of target '//coral/examples:model_pipelining' failed; build aborted: Analysis failed
INFO: Elapsed time: 0,076s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded, 1 target confi\
gured)
make: *** [examples] Error 1
Smiril commented 1 year ago

mv libcoral libcoral2 git clone --recurse-submodules https://github.com/google-coral/libcoral cd libcoral git submodule init && git submodule update make CPU=darwin examples

bazel build --compilation_mode=opt --cpu=darwin //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
Starting local Bazel server and connecting to it...
ERROR: /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/external/bazel_tools/platforms/BUILD:34:6: in alias rule @bazel_tools//platforms:aarch64: Constraints from @bazel_tools//platforms have been removed. Please use constraints from @platforms repository embedded in Bazel, or preferably declare dependency on https://github.com/bazelbuild/platforms. See https://github.com/bazelbuild/bazel/issues/8622 for details.
ERROR: /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/external/bazel_tools/platforms/BUILD:34:6: Analysis of target '@bazel_tools//platforms:aarch64' failed
ERROR: /Users/smiril/coral/libcoral/coral/examples/BUILD:62:10: While resolving toolchains for target //coral/examples:classify_image: Target @local_execution_config_platform//:platform was referenced as a platform, but does not provide PlatformInfo
ERROR: Analysis of target '//coral/examples:classify_image' failed; build aborted: 
INFO: Elapsed time: 2,704s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (7 packages loaded, 9 targets conf\
igured)
make: *** [examples] Error 1
Smiril commented 1 year ago

make CPU=darwin_x86_64 examples make CPU=darwin_arm64 examples

Makefile:30: *** CPU must be k8, armv7a, aarch64, or darwin.  Stop.
Smiril commented 1 year ago

I downloaded bazel for x86_64 and arm64 version 4.2.4 do: lipo bazel_arm64/bazel-4.2.4-darwin-arm64 bazel_x86_64/bazel-4.2.4-darwin-x86_64 -output macos/bazel -create sudo cp macos/bazel /opt/homebrew/bin/bazel make: make CPU=darwin

last log

Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
bazel build --compilation_mode=opt --cpu=darwin //coral/tools/partitioner:utils_test //coral/tools/partitioner:profiling_based_partitioner_test //coral/tools/partitioner:profiling_based_partitioner_ondevice_test //coral/tools/partitioner:parameter_count_based_partitioner_test //coral/tools:tflite_graph_util_test //coral/tools:automl_model_append_rnn_link_test //coral/pose_estimation:posenet_test //coral/pose_estimation:posenet_decoder_test //coral/pose_estimation:movenet_test //coral/pose_estimation:bodypix_test //coral/pipeline/internal:segment_runner_test //coral/pipeline/internal:memory_pool_allocator_test //coral/pipeline:pipelined_model_runner_test //coral/pipeline:models_test //coral/pipeline:detection_models_test //coral/learn/backprop:test_utils_test //coral/learn/backprop:softmax_regression_model_test //coral/learn/backprop:multi_variate_normal_distribution_test //coral/learn/backprop:layers_test //coral/learn:utils_test //coral/learn:imprinting_engine_test //coral/detection:models_test //coral/detection:adapter_test //coral/classification:lstm_mnist_models_test //coral/classification:cocompiled_classification_models_test //coral/classification:classification_models_test //coral/classification:adapter_test //coral:tflite_utils_test //coral:test_utils_test //coral:segmentation_models_test //coral:multiple_tpus_inference_stress_test //coral:model_loading_stress_test //coral:inference_stress_test //coral:inference_repeatability_test //coral:error_reporter_test //coral:bbox_test
DEBUG: Rule 'io_bazel_rules_docker' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1556410077 -0400"
DEBUG: Repository io_bazel_rules_docker instantiated at:
  /Users/smiril/coral/libcoral/WORKSPACE:37:14: in <toplevel>
  /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/external/org_tensorflow/tensorflow/workspace0.bzl:105:34: in workspace
  /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/external/bazel_toolchains/repositories/repositories.bzl:37:23: in repositories
Repository rule git_repository defined at:
  /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
INFO: Analyzed 36 targets (0 packages loaded, 0 targets configured).
INFO: Found 36 targets...
SUBCOMMAND: # //coral/pose_estimation:test_utils [action 'Compiling coral/pose_estimation/test_utils.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/flatbuffers -iquote bazel-out/darwin-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin-opt/bin/external/org_tensorflow -iquote external/libedgetpu -iquote bazel-out/darwin-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin-opt/bin/external/gemmlowp -iquote external/arm_neon_2_x86_sse -iquote bazel-out/darwin-opt/bin/external/arm_neon_2_x86_sse -iquote external/eigen_archive -iquote bazel-out/darwin-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin-opt/bin/external/com_google_googletest -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest/include -MD -MF bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/test_utils/test_utils.d '-DCLOG_VISIBILITY=' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/test_utils/test_utils.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/pose_estimation/test_utils.cc -o bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/test_utils/test_utils.o)
SUBCOMMAND: # //coral/pose_estimation:posenet_test [action 'Compiling coral/pose_estimation/posenet_test.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/flatbuffers -iquote bazel-out/darwin-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin-opt/bin/external/org_tensorflow -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/libedgetpu -iquote bazel-out/darwin-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin-opt/bin/external/gemmlowp -iquote external/arm_neon_2_x86_sse -iquote bazel-out/darwin-opt/bin/external/arm_neon_2_x86_sse -iquote external/eigen_archive -iquote bazel-out/darwin-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin-opt/bin/external/com_google_googletest -iquote external/libusb -iquote bazel-out/darwin-opt/bin/external/libusb -iquote external/bazel_tools -iquote bazel-out/darwin-opt/bin/external/bazel_tools -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest/include -isystem external/libedgetpu/api -isystem bazel-out/darwin-opt/bin/external/libedgetpu/api -isystem external/libedgetpu/executable -isystem bazel-out/darwin-opt/bin/external/libedgetpu/executable -isystem external/libusb/root/include -isystem bazel-out/darwin-opt/bin/external/libusb/root/include -MD -MF bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/posenet_test/posenet_test.d '-DCLOG_VISIBILITY=' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/posenet_test/posenet_test.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/pose_estimation/posenet_test.cc -o bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/posenet_test/posenet_test.o)
SUBCOMMAND: # //coral/pose_estimation:movenet_test [action 'Compiling coral/pose_estimation/movenet_test.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/flatbuffers -iquote bazel-out/darwin-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin-opt/bin/external/org_tensorflow -iquote external/libedgetpu -iquote bazel-out/darwin-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin-opt/bin/external/gemmlowp -iquote external/arm_neon_2_x86_sse -iquote bazel-out/darwin-opt/bin/external/arm_neon_2_x86_sse -iquote external/eigen_archive -iquote bazel-out/darwin-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin-opt/bin/external/com_google_googletest -iquote external/libusb -iquote bazel-out/darwin-opt/bin/external/libusb -iquote external/bazel_tools -iquote bazel-out/darwin-opt/bin/external/bazel_tools -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest/include -isystem external/libedgetpu/api -isystem bazel-out/darwin-opt/bin/external/libedgetpu/api -isystem external/libedgetpu/executable -isystem bazel-out/darwin-opt/bin/external/libedgetpu/executable -isystem external/libusb/root/include -isystem bazel-out/darwin-opt/bin/external/libusb/root/include -MD -MF bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/movenet_test/movenet_test.d '-DCLOG_VISIBILITY=' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/movenet_test/movenet_test.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/pose_estimation/movenet_test.cc -o bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/movenet_test/movenet_test.o)
SUBCOMMAND: # //coral/tools/partitioner:parameter_count_based_partitioner_test [action 'Compiling coral/tools/partitioner/parameter_count_based_partitioner_test.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/org_tensorflow -iquote bazel-out/darwin-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin-opt/bin/external/flatbuffers -iquote external/ruy -iquote bazel-out/darwin-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin-opt/bin/external/gemmlowp -iquote external/arm_neon_2_x86_sse -iquote bazel-out/darwin-opt/bin/external/arm_neon_2_x86_sse -iquote external/eigen_archive -iquote bazel-out/darwin-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin-opt/bin/external/farmhash_archive -iquote external/com_google_googletest -iquote bazel-out/darwin-opt/bin/external/com_google_googletest -iquote external/libedgetpu -iquote bazel-out/darwin-opt/bin/external/libedgetpu -iquote external/libusb -iquote bazel-out/darwin-opt/bin/external/libusb -iquote external/com_github_google_benchmark -iquote bazel-out/darwin-opt/bin/external/com_github_google_benchmark -iquote external/bazel_tools -iquote bazel-out/darwin-opt/bin/external/bazel_tools -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest/include -isystem external/libedgetpu/api -isystem bazel-out/darwin-opt/bin/external/libedgetpu/api -isystem external/libedgetpu/executable -isystem bazel-out/darwin-opt/bin/external/libedgetpu/executable -isystem external/libusb/root/include -isystem bazel-out/darwin-opt/bin/external/libusb/root/include -MD -MF bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/parameter_count_based_partitioner_test/parameter_count_based_partitioner_test.d '-DCLOG_VISIBILITY=' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/parameter_count_based_partitioner_test/parameter_count_based_partitioner_test.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/tools/partitioner/parameter_count_based_partitioner_test.cc -o bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/parameter_count_based_partitioner_test/parameter_count_based_partitioner_test.o)
SUBCOMMAND: # //coral/tools/partitioner:parameter_count_based_partitioner [action 'Linking coral/tools/partitioner/libparameter_count_based_partitioner.a', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin-opt/bin/coral/tools/partitioner/libparameter_count_based_partitioner.a-2.params)
SUBCOMMAND: # //coral/pose_estimation:posenet_decoder_test [action 'Compiling coral/pose_estimation/posenet_decoder_test.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/com_google_googletest -iquote bazel-out/darwin-opt/bin/external/com_google_googletest -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/bazel_tools -iquote bazel-out/darwin-opt/bin/external/bazel_tools -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest/include -MD -MF bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/posenet_decoder_test/posenet_decoder_test.d '-frandom-seed=bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/posenet_decoder_test/posenet_decoder_test.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/pose_estimation/posenet_decoder_test.cc -o bazel-out/darwin-opt/bin/coral/pose_estimation/_objs/posenet_decoder_test/posenet_decoder_test.o)
SUBCOMMAND: # //coral/tools/partitioner:utils [action 'Compiling coral/tools/partitioner/utils.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/org_tensorflow -iquote bazel-out/darwin-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin-opt/bin/external/flatbuffers -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/schema -MD -MF bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/utils/utils.d '-frandom-seed=bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/utils/utils.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/tools/partitioner/utils.cc -o bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/utils/utils.o)
SUBCOMMAND: # //coral/tools:automl_model_append_rnn_link_test [action 'Linking coral/tools/automl_model_append_rnn_link_test', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/cc_wrapper.sh @bazel-out/darwin-opt/bin/coral/tools/automl_model_append_rnn_link_test-2.params)
SUBCOMMAND: # //coral/tools:tflite_graph_util_test [action 'Compiling coral/tools/tflite_graph_util_test.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/flatbuffers -iquote bazel-out/darwin-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin-opt/bin/external/org_tensorflow -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/libedgetpu -iquote bazel-out/darwin-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin-opt/bin/external/gemmlowp -iquote external/arm_neon_2_x86_sse -iquote bazel-out/darwin-opt/bin/external/arm_neon_2_x86_sse -iquote external/eigen_archive -iquote bazel-out/darwin-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin-opt/bin/external/farmhash_archive -iquote external/com_google_googletest -iquote bazel-out/darwin-opt/bin/external/com_google_googletest -iquote external/libusb -iquote bazel-out/darwin-opt/bin/external/libusb -iquote external/com_github_google_benchmark -iquote bazel-out/darwin-opt/bin/external/com_github_google_benchmark -iquote external/bazel_tools -iquote bazel-out/darwin-opt/bin/external/bazel_tools -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest/include -isystem external/libedgetpu/api -isystem bazel-out/darwin-opt/bin/external/libedgetpu/api -isystem external/libedgetpu/executable -isystem bazel-out/darwin-opt/bin/external/libedgetpu/executable -isystem external/libusb/root/include -isystem bazel-out/darwin-opt/bin/external/libusb/root/include -MD -MF bazel-out/darwin-opt/bin/coral/tools/_objs/tflite_graph_util_test/tflite_graph_util_test.d '-DCLOG_VISIBILITY=' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin-opt/bin/coral/tools/_objs/tflite_graph_util_test/tflite_graph_util_test.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/tools/tflite_graph_util_test.cc -o bazel-out/darwin-opt/bin/coral/tools/_objs/tflite_graph_util_test/tflite_graph_util_test.o)
SUBCOMMAND: # //coral/tools/partitioner:profiling_based_partitioner_ondevice_lib [action 'Compiling coral/tools/partitioner/profiling_based_partitioner_ondevice_lib.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/org_tensorflow -iquote bazel-out/darwin-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin-opt/bin/external/flatbuffers -iquote external/libedgetpu -iquote bazel-out/darwin-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin-opt/bin/external/gemmlowp -iquote external/arm_neon_2_x86_sse -iquote bazel-out/darwin-opt/bin/external/arm_neon_2_x86_sse -iquote external/eigen_archive -iquote bazel-out/darwin-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin-opt/bin/external/com_google_googletest -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest/include -MD -MF bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_lib/profiling_based_partitioner_ondevice_lib.d '-DCLOG_VISIBILITY=' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_lib/profiling_based_partitioner_ondevice_lib.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/tools/partitioner/profiling_based_partitioner_ondevice_lib.cc -o bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_lib/profiling_based_partitioner_ondevice_lib.o)
SUBCOMMAND: # //coral/tools/partitioner:profiling_based_partitioner [action 'Compiling coral/tools/partitioner/profiling_based_partitioner.cc', configuration: 20a01f0040f0812a651312d72ad71f87f808c4e3e461c1606f2918704e1b854c, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin-opt/bin/external/com_google_glog -iquote external/org_tensorflow -iquote bazel-out/darwin-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin-opt/bin/external/flatbuffers -iquote external/libedgetpu -iquote bazel-out/darwin-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin-opt/bin/external/gemmlowp -iquote external/arm_neon_2_x86_sse -iquote bazel-out/darwin-opt/bin/external/arm_neon_2_x86_sse -iquote external/eigen_archive -iquote bazel-out/darwin-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin-opt/bin/external/com_google_googletest -Ibazel-out/darwin-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin-opt/bin/external/com_google_googletest/googletest/include -MD -MF bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner/profiling_based_partitioner.d '-DCLOG_VISIBILITY=' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner/profiling_based_partitioner.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c coral/tools/partitioner/profiling_based_partitioner.cc -o bazel-out/darwin-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner/profiling_based_partitioner.o)
ERROR: /Users/smiril/coral/libcoral/coral/tools/BUILD:77:8: Linking coral/tools/automl_model_append_rnn_link_test failed: (Aborted): cc_wrapper.sh failed: error executing command
  (cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/sandbox/darwin-sandbox/684/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/cc_wrapper.sh @bazel-out/darwin-opt/bin/coral/tools/automl_model_append_rnn_link_test-2.params)
Execution platform: @local_execution_config_platform//:platform

Use --sandbox_debug to see verbose messages from the sandbox
ld: warning: ignoring file bazel-out/darwin-opt/bin/_solib_darwin_x86_64/_U@libusb_S_S_Cheaders___Uroot_Slib/libusb-1.0.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
  "_libusb_alloc_transfer", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::NewAsyncTransfer() in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_bulk_transfer", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::BulkOutTransfer(unsigned char, platforms::darwinn::gtl::ArraySlice<unsigned char>, int, char const*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::BulkInTransfer(unsigned char, platforms::darwinn::gtl::MutableArraySlice<unsigned char>, unsigned long*, int, char const*) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_cancel_transfer", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::DoCancelAllTransfers() in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_claim_interface", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::ClaimInterface(int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_close", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::Close(platforms::darwinn::driver::UsbDeviceInterface::CloseAction) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_control_transfer", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::GetDescriptor(platforms::darwinn::driver::UsbDeviceInterface::DescriptorType, unsigned char, platforms::darwinn::gtl::MutableArraySlice<unsigned char>, unsigned long*, char const*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::SendControlCommand(platforms::darwinn::driver::UsbDeviceInterface::SetupPacket const&, int, char const*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::SendControlCommandWithDataOut(platforms::darwinn::driver::UsbDeviceInterface::SetupPacket const&, platforms::darwinn::gtl::ArraySlice<unsigned char>, int, char const*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::SendControlCommandWithDataIn(platforms::darwinn::driver::UsbDeviceInterface::SetupPacket const&, platforms::darwinn::gtl::MutableArraySlice<unsigned char>, unsigned long*, int, char const*) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_exit", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::Close(platforms::darwinn::driver::UsbDeviceInterface::CloseAction) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::Cleanup<platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short)::$_8>::~Cleanup() in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::Cleanup<platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int)::$_10>::~Cleanup() in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_free_device_list", referenced from:
      platforms::darwinn::driver::(anonymous namespace)::FindDeviceByBusAndPortWithRetries(libusb_context*, int, int) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::Cleanup<platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short)::$_9>::~Cleanup() in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::Cleanup<platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int)::$_11>::~Cleanup() in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::Cleanup<platforms::darwinn::driver::(anonymous namespace)::FindDeviceByBusAndPortWithRetries(libusb_context*, int, int)::$_12>::~Cleanup() in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_free_transfer", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::DestroyFailedAsyncTransfer(libusb_transfer*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::AsyncBulkOutTransfer(unsigned char, platforms::darwinn::gtl::ArraySlice<unsigned char>, int, std::__1::function<void (platforms::darwinn::Status)>, char const*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::AsyncBulkInTransfer(unsigned char, platforms::darwinn::gtl::MutableArraySlice<unsigned char>, int, std::__1::function<void (platforms::darwinn::Status, unsigned long)>, char const*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::AsyncInterruptInTransfer(unsigned char, platforms::darwinn::gtl::MutableArraySlice<unsigned char>, int, std::__1::function<void (platforms::darwinn::Status, unsigned long)>, char const*) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_get_bus_number", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::Close(platforms::darwinn::driver::UsbDeviceInterface::CloseAction) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::(anonymous namespace)::FindDeviceByBusAndPortWithRetries(libusb_context*, int, int) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_get_device", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::Close(platforms::darwinn::driver::UsbDeviceInterface::CloseAction) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::GetDeviceSpeed() const in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_get_device_descriptor", referenced from:
      platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_get_device_list", referenced from:
      platforms::darwinn::driver::(anonymous namespace)::FindDeviceByBusAndPortWithRetries(libusb_context*, int, int) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_get_device_speed", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::GetDeviceSpeed() const in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_get_port_number", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::Close(platforms::darwinn::driver::UsbDeviceInterface::CloseAction) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::(anonymous namespace)::FindDeviceByBusAndPortWithRetries(libusb_context*, int, int) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_get_port_numbers", referenced from:
      platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_handle_events", referenced from:
      void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, platforms::darwinn::driver::LocalUsbDevice::LocalUsbDevice(libusb_device_handle*, bool, libusb_context*)::$_0>>(void*) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_init", referenced from:
      platforms::darwinn::driver::LocalUsbDeviceFactory::EnumerateDevices(unsigned short, unsigned short) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_interrupt_transfer", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::InterruptInTransfer(unsigned char, platforms::darwinn::gtl::MutableArraySlice<unsigned char>, unsigned long*, int, char const*) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_open", referenced from:
      platforms::darwinn::driver::LocalUsbDeviceFactory::OpenDevice(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_release_interface", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::Close(platforms::darwinn::driver::UsbDeviceInterface::CloseAction) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::ReleaseInterface(int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_reset_device", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::Close(platforms::darwinn::driver::UsbDeviceInterface::CloseAction) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_set_configuration", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::SetConfiguration(int) in liblocal_usb_device.a(local_usb_device.o)
  "_libusb_submit_transfer", referenced from:
      platforms::darwinn::driver::LocalUsbDevice::AsyncBulkOutTransfer(unsigned char, platforms::darwinn::gtl::ArraySlice<unsigned char>, int, std::__1::function<void (platforms::darwinn::Status)>, char const*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::AsyncBulkInTransfer(unsigned char, platforms::darwinn::gtl::MutableArraySlice<unsigned char>, int, std::__1::function<void (platforms::darwinn::Status, unsigned long)>, char const*) in liblocal_usb_device.a(local_usb_device.o)
      platforms::darwinn::driver::LocalUsbDevice::AsyncInterruptInTransfer(unsigned char, platforms::darwinn::gtl::MutableArraySlice<unsigned char>, int, std::__1::function<void (platforms::darwinn::Status, unsigned long)>, char const*) in liblocal_usb_device.a(local_usb_device.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error in child process '/usr/bin/xcrun'. 1
external/local_config_cc/cc_wrapper.sh: line 69: 67173 Abort trap: 6           "$(/usr/bin/dirname "$0")"/wrapped_clang "$@"
INFO: Elapsed time: 0.947s, Critical Path: 0.78s
INFO: 22 processes: 21 internal, 1 darwin-sandbox.
FAILED: Build did NOT complete successfully
make: *** [tests] Error 1
Smiril commented 1 year ago

is it possible for this code (libcoral examples tests) to make a universal bin?

CC_MACOS := clang++ SIGNING_IDENTITY="Apple Development: sonar@gmx.com (XXXXXXXXXX)" UNAME := $(shell uname -s) CFLAGS := -Wall -Wextra -pedantic LIBS := -L/usr/lib INCLUDES := -I/usr/include LD := -lc++ -lpthread

ifeq ($(UNAME),Darwin)
.PHONY: all sign install uninstall clean version

all: x86_app arm_app universal_app sign version

x86_app: main.cc
    $(CC_MACOS) main.cc -o x86_app $(CFLAGS) $(LD) $(INCLUDES) $(LIBS) -target x86_64-apple-macos10.12

arm_app: main.cc
    $(CC_MACOS) main.cc -o arm_app $(CFLAGS) $(LD) $(INCLUDES) $(LIBS) -target arm64-apple-macos11

universal_app: x86_app arm_app
    lipo -create -output universal_app x86_app arm_app

endif
ifeq ($(UNAME),Darwin)
sign:
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/../bin/codesign_allocate
    xcrun codesign -f -s $(SIGNING_IDENTITY) --preserve-metadata=identifier,entitlements --timestamp=none x86_app arm_app universal_app

endif
hjonnala commented 1 year ago

is it possible for this code (libcoral examples tests) to make a universal bin?

I am not sure about it. Alternatively, you try this colab with bazel version 4.0.0: https://github.com/google-coral/edgetpu/issues/699#issuecomment-1370099441

Smiril commented 1 year ago

mean Makefile like this

Smiril commented 1 year ago
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
SHELL := /bin/bash
MAKEFILE_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
OS := $(shell uname -s)

# Allowed CPU values: k8, armv7a, aarch64, darwin
ifeq ($(OS),Linux)
CPU ?= k8
TEST_FILTER ?= cat
else ifeq ($(OS),Darwin)
CPU ?= darwin
TEST_FILTER ?= grep -v dmabuf
else
$(error $(OS) is not supported)
endif

ifeq ($(filter $(CPU),k8 armv7a aarch64 darwin macos_x86_64 macos_arm64),)
$(error CPU must be k8, armv7a, aarch64, darwin, macos_arm64, or macos_x86_64)
endif

# Allowed COMPILATION_MODE values: opt, dbg, fastbuild
COMPILATION_MODE ?= opt
ifeq ($(filter $(COMPILATION_MODE),opt dbg fastbuild),)
$(error COMPILATION_MODE must be opt, dbg, or fastbuild)
endif

BAZEL_OUT_DIR :=  $(MAKEFILE_DIR)/bazel-out/$(CPU)-$(COMPILATION_MODE)/bin
BAZEL_BUILD_FLAGSY := --compilation_mode=$(COMPILATION_MODE) --cpu=macos_x86_64
BAZEL_BUILD_FLAGS := --compilation_mode=$(COMPILATION_MODE) --cpu=macos_arm64

ifeq ($(CPU),aarch64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(CPU),macos_x86_64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(CPU),macos_arm64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(CPU),armv7a)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
endif

# $(1): pattern, $(2) destination directory
define copy_out_files
pushd $(BAZEL_OUT_DIR); \
for f in `find . -name $(1) -type f`; do \
    mkdir -p $(2)/`dirname $$f`; \
    cp -f $(BAZEL_OUT_DIR)/$$f $(2)/$$f; \
done; \
popd
endef

EXAMPLES_OUT_DIR   := $(MAKEFILE_DIR)/out/$(CPU)/examples
TOOLS_OUT_DIR      := $(MAKEFILE_DIR)/out/$(CPU)/tools
TESTS_OUT_DIR      := $(MAKEFILE_DIR)/out/$(CPU)/tests
BENCHMARKS_OUT_DIR := $(MAKEFILE_DIR)/out/$(CPU)/benchmarks

.PHONY: all \
        tests \
        benchmarks \
        tools \
        examples \
        clean \
        help

all: tests_x86_64 benchmarks_x86_64 tools_x86_64 examples_x86_64 tests_arm64 benchmarks_arm64 tools_arm64 examples_arm64

tests_x86_64:
    bazel build $(BAZEL_BUILD_FLAGSY) $(shell bazel query 'kind(cc_.*test, //coral/...)' | $(TEST_FILTER))
    $(call copy_out_files,"*_test",$(TESTS_OUT_DIR))

benchmarks_x86_64:
    bazel build $(BAZEL_BUILD_FLAGSY) $(shell bazel query 'kind(cc_binary, //coral/...)' | grep benchmark)
    $(call copy_out_files,"*_benchmark",$(BENCHMARKS_OUT_DIR))

tools_x86_64:
    bazel build $(BAZEL_BUILD_FLAGSY) //coral/tools:append_recurrent_links \
                                     //coral/tools:join_tflite_models \
                                     //coral/tools:multiple_tpus_performance_analysis \
                                     //coral/tools:model_pipelining_performance_analysis \
                                     //coral/tools/partitioner:partition_with_profiling
    mkdir -p $(TOOLS_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/tools/append_recurrent_links_x86_64 \
          $(BAZEL_OUT_DIR)/coral/tools/join_tflite_models_x86_64 \
          $(BAZEL_OUT_DIR)/coral/tools/multiple_tpus_performance_analysis_x86_64 \
          $(BAZEL_OUT_DIR)/coral/tools/model_pipelining_performance_analysis_x86_64 \
          $(TOOLS_OUT_DIR)
    mkdir -p $(TOOLS_OUT_DIR)/partitioner
    cp -f $(BAZEL_OUT_DIR)/coral/tools/partitioner/partition_with_profiling_x86_64 \
          $(TOOLS_OUT_DIR)/partitioner_x86_64

examples_x86_64:
    bazel build $(BAZEL_BUILD_FLAGSY) //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
    mkdir -p $(EXAMPLES_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/examples/two_models_one_tpu_x86_64 \
          $(BAZEL_OUT_DIR)/coral/examples/two_models_two_tpus_threaded_x86_64 \
          $(BAZEL_OUT_DIR)/coral/examples/model_pipelining_x86_64 \
          $(BAZEL_OUT_DIR)/coral/examples/classify_image_x86_64 \
          $(BAZEL_OUT_DIR)/coral/examples/backprop_last_layer_x86_64 \
          $(EXAMPLES_OUT_DIR)

tests_arm64:
    bazel build $(BAZEL_BUILD_FLAGS) $(shell bazel query 'kind(cc_.*test, //coral/...)' | $(TEST_FILTER))
    $(call copy_out_files,"*_test",$(TESTS_OUT_DIR))

benchmarks_arm64:
    bazel build $(BAZEL_BUILD_FLAGS) $(shell bazel query 'kind(cc_binary, //coral/...)' | grep benchmark)
    $(call copy_out_files,"*_benchmark",$(BENCHMARKS_OUT_DIR))

tools_arm64:
    bazel build $(BAZEL_BUILD_FLAGS) //coral/tools:append_recurrent_links_arm64 \
                                     //coral/tools:join_tflite_models \
                                     //coral/tools:multiple_tpus_performance_analysis\
                                     //coral/tools:model_pipelining_performance_analysis \
                                     //coral/tools/partitioner:partition_with_profiling
    mkdir -p $(TOOLS_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/tools/append_recurrent_links_arm64 \
          $(BAZEL_OUT_DIR)/coral/tools/join_tflite_models_arm64 \
          $(BAZEL_OUT_DIR)/coral/tools/multiple_tpus_performance_analysis_arm64 \
          $(BAZEL_OUT_DIR)/coral/tools/model_pipelining_performance_analysis_arm64 \
          $(TOOLS_OUT_DIR)
    mkdir -p $(TOOLS_OUT_DIR)/partitioner
    cp -f $(BAZEL_OUT_DIR)/coral/tools/partitioner/partition_with_profiling_arm64 \
          $(TOOLS_OUT_DIR)/partitioner_arm64

examples_arm64:
    bazel build $(BAZEL_BUILD_FLAGS) //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
    mkdir -p $(EXAMPLES_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/examples/two_models_one_tpu_arm64 \
          $(BAZEL_OUT_DIR)/coral/examples/two_models_two_tpus_threaded_arm64 \
          $(BAZEL_OUT_DIR)/coral/examples/model_pipelining_arm64 \
          $(BAZEL_OUT_DIR)/coral/examples/classify_image_arm64 \
          $(BAZEL_OUT_DIR)/coral/examples/backprop_last_layer_arm64 \
          $(EXAMPLES_OUT_DIR)

clean:
    rm -rf $(MAKEFILE_DIR)/bazel-* \
           $(MAKEFILE_DIR)/out

TEST_ENV := $(shell test -L $(MAKEFILE_DIR)/test_data && echo 1)
DOCKER_WORKSPACE := $(MAKEFILE_DIR)/$(if $(TEST_ENV),..,)
DOCKER_WORKSPACE_CD := $(if $(TEST_ENV),libcoral,)
DOCKER_CPUS := k8 armv7a aarch64
DOCKER_TAG_BASE := coral-edgetpu
include $(MAKEFILE_DIR)/docker/docker.mk

help:
    @echo "make all        - Build all C++ code"
    @echo "make tests      - Build all C++ tests"
    @echo "make benchmarks - Build all C++ benchmarks"
    @echo "make tools      - Build all C++ tools"
    @echo "make examples   - Build all C++ examples"
    @echo "make clean      - Remove generated files"
    @echo "make help       - Print help message"
Smiril commented 1 year ago

make CPU=darwin_arm64

Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
bazel build --compilation_mode=opt --cpu=darwin_arm64 //coral/tools/partitioner:utils_test //coral/tools/partitioner:profiling_based_partitioner_test //coral/tools/partitioner:profiling_based_partitioner_ondevice_test //coral/tools/partitioner:parameter_count_based_partitioner_test //coral/tools:tflite_graph_util_test //coral/tools:automl_model_append_rnn_link_test //coral/pose_estimation:posenet_test //coral/pose_estimation:posenet_decoder_test //coral/pose_estimation:movenet_test //coral/pose_estimation:bodypix_test //coral/pipeline/internal:segment_runner_test //coral/pipeline/internal:memory_pool_allocator_test //coral/pipeline:pipelined_model_runner_test //coral/pipeline:models_test //coral/pipeline:detection_models_test //coral/learn/backprop:test_utils_test //coral/learn/backprop:softmax_regression_model_test //coral/learn/backprop:multi_variate_normal_distribution_test //coral/learn/backprop:layers_test //coral/learn:utils_test //coral/learn:imprinting_engine_test //coral/detection:models_test //coral/detection:adapter_test //coral/classification:lstm_mnist_models_test //coral/classification:cocompiled_classification_models_test //coral/classification:classification_models_test //coral/classification:adapter_test //coral:tflite_utils_test //coral:test_utils_test //coral:segmentation_models_test //coral:multiple_tpus_inference_stress_test //coral:model_loading_stress_test //coral:inference_stress_test //coral:inference_repeatability_test //coral:error_reporter_test //coral:bbox_test
INFO: Analyzed 36 targets (0 packages loaded, 0 targets configured).
INFO: Found 36 targets...
SUBCOMMAND: # //coral:test_utils [action 'Compiling coral/test_utils.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_googletest -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest/include -MD -MF bazel-out/darwin_arm64-opt/bin/coral/_objs/test_utils/test_utils.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/_objs/test_utils/test_utils.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/test_utils.cc -o bazel-out/darwin_arm64-opt/bin/coral/_objs/test_utils/test_utils.o)
SUBCOMMAND: # //coral/tools/partitioner:profiling_based_partitioner [action 'Compiling coral/tools/partitioner/profiling_based_partitioner.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_googletest -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest/include -MD -MF bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner/profiling_based_partitioner.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner/profiling_based_partitioner.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/tools/partitioner/profiling_based_partitioner.cc -o bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner/profiling_based_partitioner.o)
SUBCOMMAND: # //coral/tools:tflite_graph_util [action 'Compiling coral/tools/tflite_graph_util.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -MD -MF bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/tflite_graph_util/tflite_graph_util.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/tflite_graph_util/tflite_graph_util.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/tools/tflite_graph_util.cc -o bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/tflite_graph_util/tflite_graph_util.o)
SUBCOMMAND: # @org_tensorflow//tensorflow/lite/schema:schema_conversion_utils [action 'Compiling tensorflow/lite/schema/schema_conversion_utils.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -MD -MF bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema/_objs/schema_conversion_utils/schema_conversion_utils.d '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema/_objs/schema_conversion_utils/schema_conversion_utils.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/org_tensorflow/tensorflow/lite/schema/schema_conversion_utils.cc -o bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema/_objs/schema_conversion_utils/schema_conversion_utils.o)
SUBCOMMAND: # //coral/tools:tflite_graph_util_test [action 'Compiling coral/tools/tflite_graph_util_test.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -iquote external/com_google_googletest -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_googletest -iquote external/libusb -iquote bazel-out/darwin_arm64-opt/bin/external/libusb -iquote external/com_github_google_benchmark -iquote bazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark -iquote external/bazel_tools -iquote bazel-out/darwin_arm64-opt/bin/external/bazel_tools -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest/include -isystem external/libedgetpu/api -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api -isystem external/libedgetpu/executable -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/executable -isystem external/libusb/root/include -isystem bazel-out/darwin_arm64-opt/bin/external/libusb/root/include -MD -MF bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/tflite_graph_util_test/tflite_graph_util_test.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/tflite_graph_util_test/tflite_graph_util_test.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/tools/tflite_graph_util_test.cc -o bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/tflite_graph_util_test/tflite_graph_util_test.o)
SUBCOMMAND: # @libedgetpu//tflite:edgetpu_c [action 'Compiling tflite/edgetpu_c.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/tflite/_objs/edgetpu_c/edgetpu_c.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/tflite/_objs/edgetpu_c/edgetpu_c.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/tflite/edgetpu_c.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/tflite/_objs/edgetpu_c/edgetpu_c.o)
SUBCOMMAND: # //coral/tools/partitioner:profiling_based_partitioner_ondevice_test [action 'Compiling coral/tools/partitioner/profiling_based_partitioner_ondevice_test.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_googletest -iquote external/libusb -iquote bazel-out/darwin_arm64-opt/bin/external/libusb -iquote external/bazel_tools -iquote bazel-out/darwin_arm64-opt/bin/external/bazel_tools -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest/include -isystem external/libedgetpu/api -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api -isystem external/libedgetpu/executable -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/executable -isystem external/libusb/root/include -isystem bazel-out/darwin_arm64-opt/bin/external/libusb/root/include -MD -MF bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_test/profiling_based_partitioner_ondevice_test.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_test/profiling_based_partitioner_ondevice_test.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/tools/partitioner/profiling_based_partitioner_ondevice_test.cc -o bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_test/profiling_based_partitioner_ondevice_test.o)
SUBCOMMAND: # //coral/learn:utils [action 'Compiling coral/learn/utils.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -MD -MF bazel-out/darwin_arm64-opt/bin/coral/learn/_objs/utils/utils.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/learn/_objs/utils/utils.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/learn/utils.cc -o bazel-out/darwin_arm64-opt/bin/coral/learn/_objs/utils/utils.o)
SUBCOMMAND: # @libedgetpu//api:layer_information [action 'Compiling api/layer_information.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -isystem external/libedgetpu/executable -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/executable -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/layer_information/layer_information.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/layer_information/layer_information.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/api/layer_information.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/layer_information/layer_information.o)
SUBCOMMAND: # @org_tensorflow//tensorflow/lite/kernels:lstm_eval [action 'Compiling tensorflow/lite/kernels/lstm_eval.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -MD -MF bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/kernels/_objs/lstm_eval/lstm_eval.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/kernels/_objs/lstm_eval/lstm_eval.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -DFARMHASH_NO_CXX_STRING -Wno-sign-compare -O3 -fno-exceptions -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/org_tensorflow/tensorflow/lite/kernels/lstm_eval.cc -o bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/kernels/_objs/lstm_eval/lstm_eval.o)
SUBCOMMAND: # @libedgetpu//tflite:edgetpu_c [action 'Linking external/libedgetpu/tflite/libedgetpu_c.lo', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/libedgetpu/tflite/libedgetpu_c.lo-2.params)
SUBCOMMAND: # //coral/classification:adapter [action 'Compiling coral/classification/adapter.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -MD -MF bazel-out/darwin_arm64-opt/bin/coral/classification/_objs/adapter/adapter.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/classification/_objs/adapter/adapter.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/classification/adapter.cc -o bazel-out/darwin_arm64-opt/bin/coral/classification/_objs/adapter/adapter.o)
SUBCOMMAND: # @org_tensorflow//tensorflow/lite/schema:schema_conversion_utils [action 'Linking external/org_tensorflow/tensorflow/lite/schema/libschema_conversion_utils.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema/libschema_conversion_utils.a-2.params)
SUBCOMMAND: # @libedgetpu//api:layer_information [action 'Linking external/libedgetpu/api/liblayer_information.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/liblayer_information.a-2.params)
SUBCOMMAND: # @libedgetpu//api:buffer [action 'Compiling api/buffer.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/buffer/buffer.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/buffer/buffer.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/api/buffer.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/buffer/buffer.o)
SUBCOMMAND: # @libedgetpu//driver/usb:usb_registers [action 'Compiling driver/usb/usb_registers.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/usb_registers/usb_registers.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/usb_registers/usb_registers.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/usb/usb_registers.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/usb_registers/usb_registers.o)
SUBCOMMAND: # //coral/tools/partitioner:profiling_based_partitioner_ondevice_lib [action 'Compiling coral/tools/partitioner/profiling_based_partitioner_ondevice_lib.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_googletest -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest/include -MD -MF bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_lib/profiling_based_partitioner_ondevice_lib.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_lib/profiling_based_partitioner_ondevice_lib.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/tools/partitioner/profiling_based_partitioner_ondevice_lib.cc -o bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/_objs/profiling_based_partitioner_ondevice_lib/profiling_based_partitioner_ondevice_lib.o)
SUBCOMMAND: # @org_tensorflow//tensorflow/lite/kernels:lstm_eval [action 'Linking external/org_tensorflow/tensorflow/lite/kernels/liblstm_eval.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/kernels/liblstm_eval.a-2.params)
SUBCOMMAND: # //coral/detection:adapter [action 'Compiling coral/detection/adapter.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -MD -MF bazel-out/darwin_arm64-opt/bin/coral/detection/_objs/adapter/adapter.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/detection/_objs/adapter/adapter.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/detection/adapter.cc -o bazel-out/darwin_arm64-opt/bin/coral/detection/_objs/adapter/adapter.o)
SUBCOMMAND: # @libedgetpu//api:buffer [action 'Linking external/libedgetpu/api/libbuffer.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/libbuffer.a-2.params)
SUBCOMMAND: # @libedgetpu//driver/usb:usb_registers [action 'Linking external/libedgetpu/driver/usb/libusb_registers.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/libusb_registers.a-2.params)
SUBCOMMAND: # //coral/tools:model_pipelining_benchmark_util [action 'Compiling coral/tools/model_pipelining_benchmark_util.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/darwin_arm64-opt/bin -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/glog -iquote bazel-out/darwin_arm64-opt/bin/external/glog -iquote external/com_google_glog -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_glog -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -iquote external/gemmlowp -iquote bazel-out/darwin_arm64-opt/bin/external/gemmlowp -iquote external/eigen_archive -iquote bazel-out/darwin_arm64-opt/bin/external/eigen_archive -iquote external/fft2d -iquote bazel-out/darwin_arm64-opt/bin/external/fft2d -iquote external/farmhash_archive -iquote bazel-out/darwin_arm64-opt/bin/external/farmhash_archive -iquote external/com_github_google_benchmark -iquote bazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark -iquote external/com_google_googletest -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_googletest -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -Ibazel-out/darwin_arm64-opt/bin/external/com_google_glog/_virtual_includes/default_glog_headers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -Ibazel-out/darwin_arm64-opt/bin/external/com_github_google_benchmark/_virtual_includes/benchmark -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem external/eigen_archive -isystem bazel-out/darwin_arm64-opt/bin/external/eigen_archive -isystem external/farmhash_archive/src -isystem bazel-out/darwin_arm64-opt/bin/external/farmhash_archive/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/darwin_arm64-opt/bin/external/com_google_googletest/googletest/include -MD -MF bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/model_pipelining_benchmark_util/model_pipelining_benchmark_util.d -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-frandom-seed=bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/model_pipelining_benchmark_util/model_pipelining_benchmark_util.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c coral/tools/model_pipelining_benchmark_util.cc -o bazel-out/darwin_arm64-opt/bin/coral/tools/_objs/model_pipelining_benchmark_util/model_pipelining_benchmark_util.o)
SUBCOMMAND: # @libedgetpu//driver:single_queue_dma_scheduler [action 'Compiling driver/single_queue_dma_scheduler.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -isystem external/libedgetpu/executable -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/executable -isystem external/libedgetpu/api -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/_objs/single_queue_dma_scheduler/single_queue_dma_scheduler.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/_objs/single_queue_dma_scheduler/single_queue_dma_scheduler.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/single_queue_dma_scheduler.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/_objs/single_queue_dma_scheduler/single_queue_dma_scheduler.o)
SUBCOMMAND: # //coral/tools/partitioner:profiling_based_partitioner [action 'Linking coral/tools/partitioner/libprofiling_based_partitioner.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/libprofiling_based_partitioner.a-2.params)
SUBCOMMAND: # @libedgetpu//driver/kernel:kernel_registers [action 'Compiling driver/kernel/kernel_registers.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_registers/kernel_registers.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_registers/kernel_registers.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/kernel/kernel_registers.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_registers/kernel_registers.o)
SUBCOMMAND: # //coral:test_utils [action 'Linking coral/libtest_utils.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/coral/libtest_utils.a-2.params)
SUBCOMMAND: # //coral/classification:adapter [action 'Linking coral/classification/libadapter.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/coral/classification/libadapter.a-2.params)
SUBCOMMAND: # @libedgetpu//driver/usb:usb_driver [action 'Compiling driver/usb/usb_driver.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -isystem external/libedgetpu/executable -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/executable -isystem external/libedgetpu/api -isystem bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/usb_driver/usb_driver.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/usb_driver/usb_driver.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/usb/usb_driver.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/usb_driver/usb_driver.o)
SUBCOMMAND: # @libedgetpu//api:watchdog [action 'Compiling api/watchdog.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/watchdog/watchdog.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/watchdog/watchdog.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/api/watchdog.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/_objs/watchdog/watchdog.o)
SUBCOMMAND: # //coral/learn:utils [action 'Linking coral/learn/libutils.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/coral/learn/libutils.a-2.params)
SUBCOMMAND: # @libedgetpu//driver/usb:local_usb_device [action 'Compiling driver/usb/local_usb_device.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -iquote external/libusb -iquote bazel-out/darwin_arm64-opt/bin/external/libusb -isystem external/libusb/root/include -isystem bazel-out/darwin_arm64-opt/bin/external/libusb/root/include -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/local_usb_device/local_usb_device.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/local_usb_device/local_usb_device.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/usb/local_usb_device.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/usb/_objs/local_usb_device/local_usb_device.o)
INFO: From Compiling driver/kernel/kernel_registers.cc:
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:50:17: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Open() LOCKS_EXCLUDED(mutex_) override;
                ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:51:18: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Close() LOCKS_EXCLUDED(mutex_) override;
                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:52:45: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Write(uint64 offset, uint64 value) LOCKS_EXCLUDED(mutex_) override;
                                            ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:53:40: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  StatusOr<uint64> Read(uint64 offset) LOCKS_EXCLUDED(mutex_) override;
                                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:54:47: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Write32(uint64 offset, uint32 value) LOCKS_EXCLUDED(mutex_) override;
                                              ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:55:42: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  StatusOr<uint32> Read32(uint64 offset) LOCKS_EXCLUDED(mutex_) override;
                                         ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:66:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:72:26: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  void UnmapAllRegions() EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                         ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:88:7: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      EXCLUSIVE_LOCKS_REQUIRED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:94:50: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::vector<MappedRegisterRegion> mmap_region_ GUARDED_BY(mutex_);
                                                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:15:
external/libedgetpu/driver/kernel/kernel_registers.h:100:22: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  FileDescriptor fd_ GUARDED_BY(mutex_){INVALID_FD_VALUE};
                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/kernel/kernel_registers.cc:31:
external/libedgetpu/port/std_mutex_lock.h:30:50: warning: 'exclusive_lock_function' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex *' [-Wthread-safety-attributes]
  explicit AnnotatedStdMutexLock(std::mutex* mu) EXCLUSIVE_LOCK_FUNCTION(mu)
                                                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:115:33: note: expanded from macro 'EXCLUSIVE_LOCK_FUNCTION'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_lock_function(__VA_ARGS__))
                                ^
12 warnings generated.
SUBCOMMAND: # @libedgetpu//driver/kernel:kernel_registers [action 'Linking external/libedgetpu/driver/kernel/libkernel_registers.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/libkernel_registers.a-2.params)
SUBCOMMAND: # //coral/detection:adapter [action 'Linking coral/detection/libadapter.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/coral/detection/libadapter.a-2.params)
SUBCOMMAND: # //coral/tools/partitioner:profiling_based_partitioner_ondevice_lib [action 'Linking coral/tools/partitioner/libprofiling_based_partitioner_ondevice_lib.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/coral/tools/partitioner/libprofiling_based_partitioner_ondevice_lib.a-2.params)
SUBCOMMAND: # @libedgetpu//driver/kernel/linux:kernel_event_handler_linux [action 'Compiling driver/kernel/linux/kernel_event_handler_linux.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/linux/_objs/kernel_event_handler_linux/kernel_event_handler_linux.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/linux/_objs/kernel_event_handler_linux/kernel_event_handler_linux.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/linux/_objs/kernel_event_handler_linux/kernel_event_handler_linux.o)
SUBCOMMAND: # @libedgetpu//driver/kernel:kernel_coherent_allocator [action 'Compiling driver/kernel/kernel_coherent_allocator.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_coherent_allocator/kernel_coherent_allocator.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_coherent_allocator/kernel_coherent_allocator.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/kernel/kernel_coherent_allocator.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_coherent_allocator/kernel_coherent_allocator.o)
SUBCOMMAND: # @org_tensorflow//tensorflow/lite/delegates:telemetry [action 'Compiling tensorflow/lite/delegates/telemetry.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/org_tensorflow -iquote bazel-out/darwin_arm64-opt/bin/external/org_tensorflow -iquote external/flatbuffers -iquote bazel-out/darwin_arm64-opt/bin/external/flatbuffers -Ibazel-out/darwin_arm64-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc -isystem external/org_tensorflow/tensorflow/lite/schema -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/schema -isystem external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -isystem bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration -MD -MF bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/delegates/_objs/telemetry/telemetry.d '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/delegates/_objs/telemetry/telemetry.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -DFARMHASH_NO_CXX_STRING -Wno-sign-compare -O3 -fno-exceptions -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/org_tensorflow/tensorflow/lite/delegates/telemetry.cc -o bazel-out/darwin_arm64-opt/bin/external/org_tensorflow/tensorflow/lite/delegates/_objs/telemetry/telemetry.o)
SUBCOMMAND: # //coral/tools:tflite_graph_util [action 'Linking coral/tools/libtflite_graph_util.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/coral/tools/libtflite_graph_util.a-2.params)
INFO: From Compiling driver/single_queue_dma_scheduler.cc:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:127:38: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'const std::mutex' [-Wthread-safety-attributes]
  const char* GetStateString() const EXCLUSIVE_LOCKS_REQUIRED(mutex_) {
                                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:140:39: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  StatusOr<int64> Activate() override LOCKS_EXCLUDED(mutex_);
                                      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:141:28: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Signal() override LOCKS_EXCLUDED(mutex_);
                           ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:142:32: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Deactivate() override LOCKS_EXCLUDED(mutex_);
                               ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:143:51: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status UpdateTimeout(int64 timeout_ns) override LOCKS_EXCLUDED(mutex_);
                                                  ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:151:27: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status ValidateActive() EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                          ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:169:24: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  WatchdogState state_ GUARDED_BY(mutex_){WatchdogState::INACTIVE};
                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:172:24: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 activation_id_ GUARDED_BY(mutex_){0};
                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:191:22: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Increment() LOCKS_EXCLUDED(mutex_);
                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:195:22: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Decrement() LOCKS_EXCLUDED(mutex_);
                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:205:18: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 counter_ GUARDED_BY(mutex_) = 0;
                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:239:39: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  StatusOr<int64> Activate() override LOCKS_EXCLUDED(mutex_);
                                      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:240:28: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Signal() override LOCKS_EXCLUDED(mutex_);
                           ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:241:32: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Deactivate() override LOCKS_EXCLUDED(mutex_);
                               ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:266:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:272:31: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status StartFirstWatchdog() EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                              ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:275:31: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status DeactivateInternal() EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                              ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:288:25: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int currently_active_ GUARDED_BY(mutex_){kNoneActive};
                        ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:292:24: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 activation_id_ GUARDED_BY(mutex_){0};
                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:296:30: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 child_activation_id_ GUARDED_BY(mutex_){0};
                             ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:299:51: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::vector<std::function<void()>> expirations_ GUARDED_BY(mutex_);
                                                  ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:26:
external/libedgetpu/api/watchdog.h:309:18: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  bool is_alive_ GUARDED_BY(mutex_){true};
                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
In file included from external/libedgetpu/driver/package_registry.h:38:
external/libedgetpu/port/std_mutex_lock.h:30:50: warning: 'exclusive_lock_function' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex *' [-Wthread-safety-attributes]
  explicit AnnotatedStdMutexLock(std::mutex* mu) EXCLUSIVE_LOCK_FUNCTION(mu)
                                                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:115:33: note: expanded from macro 'EXCLUSIVE_LOCK_FUNCTION'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_lock_function(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
external/libedgetpu/driver/package_registry.h:418:7: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      GUARDED_BY(instruction_buffers_vector_mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
external/libedgetpu/driver/package_registry.h:696:26: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status UnregisterAll() LOCKS_EXCLUDED(registrations_mutex_);
                         ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
external/libedgetpu/driver/package_registry.h:699:31: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status UnmapAllParameters() LOCKS_EXCLUDED(registrations_mutex_);
                              ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
external/libedgetpu/driver/package_registry.h:702:31: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int GetRegistrySize() const LOCKS_EXCLUDED(registrations_mutex_) {
                              ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
external/libedgetpu/driver/package_registry.h:709:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(registrations_mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
external/libedgetpu/driver/package_registry.h:713:32: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  void ResetParametersLoaded() LOCKS_EXCLUDED(registrations_mutex_);
                               ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
external/libedgetpu/driver/package_registry.h:761:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(registrations_mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.h:28:
In file included from external/libedgetpu/driver/dma_scheduler.h:23:
In file included from external/libedgetpu/driver/tpu_request.h:25:
external/libedgetpu/driver/package_registry.h:777:22: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      registrations_ GUARDED_BY(registrations_mutex_);
                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:47:26: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Open() override LOCKS_EXCLUDED(mutex_);
                         ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:48:56: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Close(api::Driver::ClosingMode mode) override LOCKS_EXCLUDED(mutex_);
                                                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:50:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:52:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:53:44: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  StatusOr<DmaInfo*> GetNextDma() override LOCKS_EXCLUDED(mutex_);
                                           ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:54:58: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status NotifyDmaCompletion(DmaInfo* dma_info) override LOCKS_EXCLUDED(mutex_);
                                                         ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:55:45: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status NotifyRequestCompletion() override LOCKS_EXCLUDED(mutex_);
                                            ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:56:43: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status CancelPendingRequests() override LOCKS_EXCLUDED(mutex_);
                                          ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:57:40: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status WaitActiveRequests() override LOCKS_EXCLUDED(mutex_);
                                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:58:33: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  bool IsEmpty() const override LOCKS_EXCLUDED(mutex_) {
                                ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:62:45: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 MaxRemainingCycles() const override LOCKS_EXCLUDED(mutex_);
                                            ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:64:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:106:48: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status ValidateOpenState(bool is_open) const EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                                               ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:109:30: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  bool IsEmptyLocked() const EXCLUSIVE_LOCKS_REQUIRED(mutex_) {
                             ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:115:33: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status HandleCompletedTasks() LOCKS_EXCLUDED(mutex_);
                                ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:116:30: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status HandleActiveTasks() EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                             ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:119:28: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status CloseActiveDmas() LOCKS_EXCLUDED(mutex_);
                           ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:122:33: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status CancelActiveRequests() LOCKS_EXCLUDED(mutex_);
                                ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:126:7: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      EXCLUSIVE_LOCKS_REQUIRED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:138:17: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  bool is_open_ GUARDED_BY(mutex_){false};
                ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:141:35: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::deque<Task> pending_tasks_ GUARDED_BY(mutex_);
                                  ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:144:34: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::deque<Task> active_tasks_ GUARDED_BY(mutex_);
                                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:147:37: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::deque<Task> completed_tasks_ GUARDED_BY(mutex_);
                                    ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/single_queue_dma_scheduler.cc:15:
external/libedgetpu/driver/single_queue_dma_scheduler.h:150:40: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::queue<PendingDma> pending_dmas_ GUARDED_BY(mutex_);
                                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
55 warnings generated.
SUBCOMMAND: # @libedgetpu//driver:single_queue_dma_scheduler [action 'Linking external/libedgetpu/driver/libsingle_queue_dma_scheduler.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/libsingle_queue_dma_scheduler.a-2.params)
SUBCOMMAND: # @ruy//ruy:kernel_avx512 [action 'Compiling ruy/kernel_avx512.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/darwin_arm64-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/darwin_arm64-opt/bin/external/clog -Ibazel-out/darwin_arm64-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/darwin_arm64-opt/bin/external/clog/_virtual_includes/clog -MD -MF bazel-out/darwin_arm64-opt/bin/external/ruy/ruy/_objs/kernel_avx512/kernel_avx512.d '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/ruy/ruy/_objs/kernel_avx512/kernel_avx512.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -Wall -Wextra -Wc++14-compat -Wundef -O3 -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/ruy/ruy/kernel_avx512.cc -o bazel-out/darwin_arm64-opt/bin/external/ruy/ruy/_objs/kernel_avx512/kernel_avx512.o)
INFO: From Compiling api/watchdog.cc:
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:127:38: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'const std::mutex' [-Wthread-safety-attributes]
  const char* GetStateString() const EXCLUSIVE_LOCKS_REQUIRED(mutex_) {
                                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:140:39: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  StatusOr<int64> Activate() override LOCKS_EXCLUDED(mutex_);
                                      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:141:28: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Signal() override LOCKS_EXCLUDED(mutex_);
                           ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:142:32: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Deactivate() override LOCKS_EXCLUDED(mutex_);
                               ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:143:51: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status UpdateTimeout(int64 timeout_ns) override LOCKS_EXCLUDED(mutex_);
                                                  ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:151:27: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status ValidateActive() EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                          ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:169:24: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  WatchdogState state_ GUARDED_BY(mutex_){WatchdogState::INACTIVE};
                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:172:24: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 activation_id_ GUARDED_BY(mutex_){0};
                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:191:22: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Increment() LOCKS_EXCLUDED(mutex_);
                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:195:22: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Decrement() LOCKS_EXCLUDED(mutex_);
                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:205:18: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 counter_ GUARDED_BY(mutex_) = 0;
                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:239:39: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  StatusOr<int64> Activate() override LOCKS_EXCLUDED(mutex_);
                                      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:240:28: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Signal() override LOCKS_EXCLUDED(mutex_);
                           ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:241:32: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Deactivate() override LOCKS_EXCLUDED(mutex_);
                               ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:266:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:272:31: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status StartFirstWatchdog() EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                              ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:275:31: warning: 'exclusive_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status DeactivateInternal() EXCLUSIVE_LOCKS_REQUIRED(mutex_);
                              ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:86:33: note: expanded from macro 'EXCLUSIVE_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:288:25: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int currently_active_ GUARDED_BY(mutex_){kNoneActive};
                        ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:292:24: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 activation_id_ GUARDED_BY(mutex_){0};
                       ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:296:30: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  int64 child_activation_id_ GUARDED_BY(mutex_){0};
                             ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:299:51: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::vector<std::function<void()>> expirations_ GUARDED_BY(mutex_);
                                                  ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/api/watchdog.cc:15:
external/libedgetpu/api/watchdog.h:309:18: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  bool is_alive_ GUARDED_BY(mutex_){true};
                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/api/watchdog.cc:28:
external/libedgetpu/port/std_mutex_lock.h:30:50: warning: 'exclusive_lock_function' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex *' [-Wthread-safety-attributes]
  explicit AnnotatedStdMutexLock(std::mutex* mu) EXCLUSIVE_LOCK_FUNCTION(mu)
                                                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:115:33: note: expanded from macro 'EXCLUSIVE_LOCK_FUNCTION'
  THREAD_ANNOTATION_ATTRIBUTE__(exclusive_lock_function(__VA_ARGS__))
                                ^
23 warnings generated.
SUBCOMMAND: # @libedgetpu//api:watchdog [action 'Linking external/libedgetpu/api/libwatchdog.a', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/libtool @bazel-out/darwin_arm64-opt/bin/external/libedgetpu/api/libwatchdog.a-2.params)
SUBCOMMAND: # @ruy//ruy:apply_multiplier [action 'Compiling ruy/apply_multiplier.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/ruy -iquote bazel-out/darwin_arm64-opt/bin/external/ruy -MD -MF bazel-out/darwin_arm64-opt/bin/external/ruy/ruy/_objs/apply_multiplier/apply_multiplier.d '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/ruy/ruy/_objs/apply_multiplier/apply_multiplier.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -Wall -Wextra -Wc++14-compat -Wundef -O3 -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/ruy/ruy/apply_multiplier.cc -o bazel-out/darwin_arm64-opt/bin/external/ruy/ruy/_objs/apply_multiplier/apply_multiplier.o)
SUBCOMMAND: # @libedgetpu//driver/interrupt:wire_interrupt_handler [action 'Compiling driver/interrupt/wire_interrupt_handler.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/interrupt/_objs/wire_interrupt_handler/wire_interrupt_handler.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/interrupt/_objs/wire_interrupt_handler/wire_interrupt_handler.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/interrupt/wire_interrupt_handler.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/interrupt/_objs/wire_interrupt_handler/wire_interrupt_handler.o)
SUBCOMMAND: # @libedgetpu//driver/kernel:kernel_mmu_mapper [action 'Compiling driver/kernel/kernel_mmu_mapper.cc', configuration: 826666aa7015aec29c9ff3832237c0dac3681fc6f8d920089b01f7128e2ccf76, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_mmu_mapper/kernel_mmu_mapper.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_mmu_mapper/kernel_mmu_mapper.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/kernel/kernel_mmu_mapper.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/_objs/kernel_mmu_mapper/kernel_mmu_mapper.o)
ERROR: /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/external/libedgetpu/driver/kernel/linux/BUILD:36:11: Compiling driver/kernel/linux/kernel_event_handler_linux.cc failed: (Aborted): wrapped_clang failed: error executing command
  (cd /private/var/tmp/_bazel_smiril/da49ceb06d9a515a202b55eba7ff0a3d/sandbox/darwin-sandbox/1304/execroot/libcoral && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=13.3 \
    PATH=/Users/smiril/opt/miniconda3/envs/M1/bin:/opt/homebrew/opt/libxml2/bin:/opt/homebrew/opt/libxslt/bin:/opt/homebrew/bin:/Users/smiril/opt/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin \
    XCODE_VERSION_OVERRIDE=14.3.0.14E222b \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/libedgetpu -iquote bazel-out/darwin_arm64-opt/bin/external/libedgetpu -iquote external/com_google_absl -iquote bazel-out/darwin_arm64-opt/bin/external/com_google_absl -MD -MF bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/linux/_objs/kernel_event_handler_linux/kernel_event_handler_linux.d -DDARWINN_PORT_DEFAULT '-frandom-seed=bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/linux/_objs/kernel_event_handler_linux/kernel_event_handler_linux.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=13.3' '-std=c++14' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx -c external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc -o bazel-out/darwin_arm64-opt/bin/external/libedgetpu/driver/kernel/linux/_objs/kernel_event_handler_linux/kernel_event_handler_linux.o)
Execution platform: @local_execution_config_platform//:platform

Use --sandbox_debug to see verbose messages from the sandbox
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:40:17: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Open() LOCKS_EXCLUDED(mutex_);
                ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:41:18: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  Status Close() LOCKS_EXCLUDED(mutex_);
                 ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:45:7: warning: 'locks_excluded' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      LOCKS_EXCLUDED(mutex_);
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:95:33: note: expanded from macro 'LOCKS_EXCLUDED'
  THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:51:7: warning: 'shared_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      SHARED_LOCKS_REQUIRED(mutex_) = 0;
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:89:33: note: expanded from macro 'SHARED_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:55:7: warning: 'shared_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      SHARED_LOCKS_REQUIRED(mutex_) = 0;
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:89:33: note: expanded from macro 'SHARED_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:60:7: warning: 'shared_locks_required' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
      SHARED_LOCKS_REQUIRED(mutex_) = 0;
      ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:89:33: note: expanded from macro 'SHARED_LOCKS_REQUIRED'
  THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))
                                ^
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:79:22: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  FileDescriptor fd_ GUARDED_BY(mutex_){INVALID_FD_VALUE};
                     ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:82:42: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::vector<FileDescriptor> event_fds_ GUARDED_BY(mutex_);
                                         ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:15:
In file included from external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.h:18:
external/libedgetpu/driver/kernel/kernel_event_handler.h:85:53: warning: 'guarded_by' attribute requires arguments whose type is annotated with 'capability' attribute; type here is 'std::mutex' [-Wthread-safety-attributes]
  std::vector<std::unique_ptr<KernelEvent>> events_ GUARDED_BY(mutex_);
                                                    ^
external/libedgetpu/port/default/port_from_tf/thread_annotations.h:49:53: note: expanded from macro 'GUARDED_BY'
#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
                                                    ^
external/libedgetpu/driver/kernel/linux/kernel_event_handler_linux.cc:17:10: fatal error: 'sys/eventfd.h' file not found
#include <sys/eventfd.h>
         ^~~~~~~~~~~~~~~
9 warnings and 1 error generated.
Error in child process '/usr/bin/xcrun'. 1
INFO: Elapsed time: 4.675s, Critical Path: 4.10s
INFO: 46 processes: 12 internal, 34 darwin-sandbox.
FAILED: Build did NOT complete successfully
make: *** [tests_x86_64] Error 1
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
SHELL := /bin/bash
MAKEFILE_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
OS := $(shell uname -s)
ARCH := $(shell uname -p)
# Allowed CPU values: k8, armv7a, aarch64, darwin
ifeq ($(OS),Linux)
CPU ?= k8
TEST_FILTER ?= cat
else ifeq ($(OS),Darwin)
ifeq ($(ARCH),arm)
CPU ?= darwin_arm64
TEST_FILTER ?= grep -v dmabuf
DARWIN_CPU := darwin_arm64
else
CPU ?= darwin
TEST_FILTER ?= grep -v dmabuf
DARWIN_CPU := darwin_x86_64
endif
else
$(error $(OS) is not supported)
endif

ifeq ($(filter $(CPU),k8 armv7a aarch64 darwin darwin_arm64),)
$(error CPU must be k8, armv7a, aarch64, darwin, or darwin_arm64)
endif

# Allowed COMPILATION_MODE values: opt, dbg, fastbuild
COMPILATION_MODE ?= opt
ifeq ($(filter $(COMPILATION_MODE),opt dbg fastbuild),)
$(error COMPILATION_MODE must be opt, dbg, or fastbuild)
endif

BAZEL_OUT_DIR :=  $(MAKEFILE_DIR)/bazel-out/$(DARWIN_CPU)-$(COMPILATION_MODE)/bin
BAZEL_BUILD_FLAGSY := --compilation_mode=$(COMPILATION_MODE) --cpu=$(DARWIN_CPU)
BAZEL_BUILD_FLAGS := --compilation_mode=$(COMPILATION_MODE) --cpu=$(DARWIN_CPU)

ifeq ($(CPU),aarch64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(DARWIN_CPU),darwin_x86_64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(DARWIN_CPU),darwin_arm64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(CPU),armv7a)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
endif

# $(1): pattern, $(2) destination directory
define copy_out_files
pushd $(BAZEL_OUT_DIR); \
for f in `find . -name $(1) -type f`; do \
    mkdir -p $(2)/`dirname $$f`; \
    cp -f $(BAZEL_OUT_DIR)/$$f $(2)/$$f; \
done; \
popd
endef

EXAMPLES_OUT_DIR   := $(MAKEFILE_DIR)/out/$(DARWIN_CPU)/examples
TOOLS_OUT_DIR      := $(MAKEFILE_DIR)/out/$(DARWIN_CPU)/tools
TESTS_OUT_DIR      := $(MAKEFILE_DIR)/out/$(DARWIN_CPU)/tests
BENCHMARKS_OUT_DIR := $(MAKEFILE_DIR)/out/$(DARWIN_CPU)/benchmarks

.PHONY: all \
        tests \
        benchmarks \
        tools \
        examples \
        clean \
        help

all: tests_x86_64 benchmarks_x86_64 tools_x86_64 examples_x86_64 tests_arm64 benchmarks_arm64 tools_arm64 examples_arm64

tests_x86_64:
    bazel build $(BAZEL_BUILD_FLAGSY) $(shell bazel query 'kind(cc_.*test, //coral/...)' | $(TEST_FILTER))
    $(call copy_out_files,"*_test",$(TESTS_OUT_DIR))

benchmarks_x86_64:
    bazel build $(BAZEL_BUILD_FLAGSY) $(shell bazel query 'kind(cc_binary, //coral/...)' | grep benchmark)
    $(call copy_out_files,"*_benchmark",$(BENCHMARKS_OUT_DIR))

tools_x86_64:
    bazel build $(BAZEL_BUILD_FLAGSY) //coral/tools:append_recurrent_links \
                                     //coral/tools:join_tflite_models \
                                     //coral/tools:multiple_tpus_performance_analysis \
                                     //coral/tools:model_pipelining_performance_analysis \
                                     //coral/tools/partitioner:partition_with_profiling
    mkdir -p $(TOOLS_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/tools/append_recurrent_links_x86_64 \
          $(BAZEL_OUT_DIR)/coral/tools/join_tflite_models_x86_64 \
          $(BAZEL_OUT_DIR)/coral/tools/multiple_tpus_performance_analysis_x86_64 \
          $(BAZEL_OUT_DIR)/coral/tools/model_pipelining_performance_analysis_x86_64 \
          $(TOOLS_OUT_DIR)
    mkdir -p $(TOOLS_OUT_DIR)/partitioner
    cp -f $(BAZEL_OUT_DIR)/coral/tools/partitioner/partition_with_profiling_x86_64 \
          $(TOOLS_OUT_DIR)/partitioner_x86_64

examples_x86_64:
    bazel build $(BAZEL_BUILD_FLAGSY) //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
    mkdir -p $(EXAMPLES_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/examples/two_models_one_tpu_x86_64 \
          $(BAZEL_OUT_DIR)/coral/examples/two_models_two_tpus_threaded_x86_64 \
          $(BAZEL_OUT_DIR)/coral/examples/model_pipelining_x86_64 \
          $(BAZEL_OUT_DIR)/coral/examples/classify_image_x86_64 \
          $(BAZEL_OUT_DIR)/coral/examples/backprop_last_layer_x86_64 \
          $(EXAMPLES_OUT_DIR)

tests_arm64:
    bazel build $(BAZEL_BUILD_FLAGS) $(shell bazel query 'kind(cc_.*test, //coral/...)' | $(TEST_FILTER))
    $(call copy_out_files,"*_test",$(TESTS_OUT_DIR))

benchmarks_arm64:
    bazel build $(BAZEL_BUILD_FLAGS) $(shell bazel query 'kind(cc_binary, //coral/...)' | grep benchmark)
    $(call copy_out_files,"*_benchmark",$(BENCHMARKS_OUT_DIR))

tools_arm64:
    bazel build $(BAZEL_BUILD_FLAGS) //coral/tools:append_recurrent_links_arm64 \
                                     //coral/tools:join_tflite_models \
                                     //coral/tools:multiple_tpus_performance_analysis\
                                     //coral/tools:model_pipelining_performance_analysis \
                                     //coral/tools/partitioner:partition_with_profiling
    mkdir -p $(TOOLS_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/tools/append_recurrent_links_arm64 \
          $(BAZEL_OUT_DIR)/coral/tools/join_tflite_models_arm64 \
          $(BAZEL_OUT_DIR)/coral/tools/multiple_tpus_performance_analysis_arm64 \
          $(BAZEL_OUT_DIR)/coral/tools/model_pipelining_performance_analysis_arm64 \
          $(TOOLS_OUT_DIR)
    mkdir -p $(TOOLS_OUT_DIR)/partitioner
    cp -f $(BAZEL_OUT_DIR)/coral/tools/partitioner/partition_with_profiling_arm64 \
          $(TOOLS_OUT_DIR)/partitioner_arm64

examples_arm64:
    bazel build $(BAZEL_BUILD_FLAGS) //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
    mkdir -p $(EXAMPLES_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/examples/two_models_one_tpu_arm64 \
          $(BAZEL_OUT_DIR)/coral/examples/two_models_two_tpus_threaded_arm64 \
          $(BAZEL_OUT_DIR)/coral/examples/model_pipelining_arm64 \
          $(BAZEL_OUT_DIR)/coral/examples/classify_image_arm64 \
          $(BAZEL_OUT_DIR)/coral/examples/backprop_last_layer_arm64 \
          $(EXAMPLES_OUT_DIR)

clean:
    rm -rf $(MAKEFILE_DIR)/bazel-* \
           $(MAKEFILE_DIR)/out

TEST_ENV := $(shell test -L $(MAKEFILE_DIR)/test_data && echo 1)
DOCKER_WORKSPACE := $(MAKEFILE_DIR)/$(if $(TEST_ENV),..,)
DOCKER_WORKSPACE_CD := $(if $(TEST_ENV),libcoral,)
DOCKER_CPUS := k8 armv7a aarch64
DOCKER_TAG_BASE := coral-edgetpu
include $(MAKEFILE_DIR)/docker/docker.mk

help:
    @echo "make all        - Build all C++ code"
    @echo "make tests      - Build all C++ tests"
    @echo "make benchmarks - Build all C++ benchmarks"
    @echo "make tools      - Build all C++ tools"
    @echo "make examples   - Build all C++ examples"
    @echo "make clean      - Remove generated files"
    @echo "make help       - Print help message"
Smiril commented 1 year ago
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
SHELL := /bin/bash
MAKEFILE_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
OS := $(shell uname -s)
ARCH := $(shell uname -p)
# Allowed CPU values: k8, armv7a, aarch64, darwin
ifeq ($(OS),Linux)
CPU ?= k8
TEST_FILTER ?= cat
else ifeq ($(OS),Darwin)
ifeq ($(ARCH),arm)
CPU ?= darwin_arm64
TEST_FILTER ?= grep -v dmabuf
DARWIN_CPU := darwin_arm64
else
CPU ?= darwin
TEST_FILTER ?= grep -v dmabuf
DARWIN_CPU := darwin_x86_64
endif
else
$(error $(OS) is not supported)
endif

ifeq ($(filter $(CPU),k8 armv7a aarch64 darwin darwin_arm64),)
$(error CPU must be k8, armv7a, aarch64, darwin, or darwin_arm64)
endif

# Allowed COMPILATION_MODE values: opt, dbg, fastbuild
COMPILATION_MODE ?= opt
ifeq ($(filter $(COMPILATION_MODE),opt dbg fastbuild),)
$(error COMPILATION_MODE must be opt, dbg, or fastbuild)
endif

BAZEL_OUT_DIR :=  $(MAKEFILE_DIR)/bazel-out/$(DARWIN_CPU)-$(COMPILATION_MODE)/bin
BAZEL_BUILD_FLAGS := --compilation_mode=$(COMPILATION_MODE) --cpu=$(DARWIN_CPU)

ifeq ($(CPU),aarch64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(DARWIN_CPU),darwin_x86_64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(DARWIN_CPU),darwin_arm64)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
else ifeq ($(CPU),armv7a)
BAZEL_BUILD_FLAGS += --copt=-ffp-contract=off
endif

# $(1): pattern, $(2) destination directory
define copy_out_files
pushd $(BAZEL_OUT_DIR); \
for f in `find . -name $(1) -type f`; do \
    mkdir -p $(2)/`dirname $$f`; \
    cp -f $(BAZEL_OUT_DIR)/$$f $(2)/$$f; \
done; \
popd
endef

EXAMPLES_OUT_DIR   := $(MAKEFILE_DIR)/out/$(DARWIN_CPU)/examples
TOOLS_OUT_DIR      := $(MAKEFILE_DIR)/out/$(DARWIN_CPU)/tools
TESTS_OUT_DIR      := $(MAKEFILE_DIR)/out/$(DARWIN_CPU)/tests
BENCHMARKS_OUT_DIR := $(MAKEFILE_DIR)/out/$(DARWIN_CPU)/benchmarks

.PHONY: all \
        tests \
        benchmarks \
        tools \
        examples \
        clean \
        help

all: tests benchmarks tools examples

tests:
    bazel build $(BAZEL_BUILD_FLAGS) $(shell bazel query 'kind(cc_.*test, //coral/...)' | $(TEST_FILTER))
    $(call copy_out_files,"*_test",$(TESTS_OUT_DIR))

benchmarks:
    bazel build $(BAZEL_BUILD_FLAGS) $(shell bazel query 'kind(cc_binary, //coral/...)' | grep benchmark)
    $(call copy_out_files,"*_benchmark",$(BENCHMARKS_OUT_DIR))

tools:
    bazel build $(BAZEL_BUILD_FLAGS) //coral/tools:append_recurrent_links \
                                     //coral/tools:join_tflite_models \
                                     //coral/tools:multiple_tpus_performance_analysis \
                                     //coral/tools:model_pipelining_performance_analysis \
                                     //coral/tools/partitioner:partition_with_profiling
    mkdir -p $(TOOLS_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/tools/append_recurrent_links \
          $(BAZEL_OUT_DIR)/coral/tools/join_tflite_models \
          $(BAZEL_OUT_DIR)/coral/tools/multiple_tpus_performance_analysis \
          $(BAZEL_OUT_DIR)/coral/tools/model_pipelining_performance_analysis \
          $(TOOLS_OUT_DIR)
    mkdir -p $(TOOLS_OUT_DIR)/partitioner
    cp -f $(BAZEL_OUT_DIR)/coral/tools/partitioner/partition_with_profiling \
          $(TOOLS_OUT_DIR)/partitioner

examples:
    bazel build $(BAZEL_BUILD_FLAGS) //coral/examples:two_models_one_tpu \
                                     //coral/examples:two_models_two_tpus_threaded \
                                     //coral/examples:model_pipelining \
                                     //coral/examples:classify_image \
                                     //coral/examples:backprop_last_layer
    mkdir -p $(EXAMPLES_OUT_DIR)
    cp -f $(BAZEL_OUT_DIR)/coral/examples/two_models_one_tpu \
          $(BAZEL_OUT_DIR)/coral/examples/two_models_two_tpus_threaded \
          $(BAZEL_OUT_DIR)/coral/examples/model_pipelining \
          $(BAZEL_OUT_DIR)/coral/examples/classify_image \
          $(BAZEL_OUT_DIR)/coral/examples/backprop_last_layer \
          $(EXAMPLES_OUT_DIR)

clean:
    rm -rf $(MAKEFILE_DIR)/bazel-* \
           $(MAKEFILE_DIR)/out

TEST_ENV := $(shell test -L $(MAKEFILE_DIR)/test_data && echo 1)
DOCKER_WORKSPACE := $(MAKEFILE_DIR)/$(if $(TEST_ENV),..,)
DOCKER_WORKSPACE_CD := $(if $(TEST_ENV),libcoral,)
DOCKER_CPUS := k8 armv7a aarch64
DOCKER_TAG_BASE := coral-edgetpu
include $(MAKEFILE_DIR)/docker/docker.mk

help:
    @echo "make all        - Build all C++ code"
    @echo "make tests      - Build all C++ tests"
    @echo "make benchmarks - Build all C++ benchmarks"
    @echo "make tools      - Build all C++ tools"
    @echo "make examples   - Build all C++ examples"
    @echo "make clean      - Remove generated files"
    @echo "make help       - Print help message"
feranick commented 7 months ago

A new effort to modernize the edgetpu libraries is under way and with working repos. Please see here. https://github.com/google-coral/pycoral/issues/137#issuecomment-1972454039