macadmins / osquery-extension

An osquery extension for endpoint engineers
Apache License 2.0
97 stars 32 forks source link

Update Gazelle for Arm64 support #35

Closed gavinelder closed 1 year ago

gavinelder commented 1 year ago

Gazelle only recently added arm64 support in https://github.com/bazelbuild/bazel-gazelle/issues/1506

The following does an upgrade of gazelle followed by

Feel free to cherry-pick there is a somewhat unnecessary inclusion of a bazelisk.rc file

bazelisk run //:gazelle update-repos -- -from_file=go.mod
bazelisk build //:osquery-extension-win-arm
INFO: Analyzed target //:osquery-extension-win-arm (27 packages loaded, 658 targets configured).
INFO: Found 1 target...
Target //:osquery-extension-win-arm up-to-date:
  bazel-bin/osquery-extension-win-arm_/osquery-extension-win-arm.exe
INFO: Elapsed time: 1.479s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action