Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Conversation

omarzl
Copy link
Contributor

@omarzl omarzl commented Oct 22, 2021

Bazel version update to 4.2.0 in order to compile it in M1 Macs
In order to compile with latest Bazel version I needed to update Swift Log to 1.4.2 and Swift NIO to 2.33.0

Compilation and tests with Bazel:

➜ bazel build //BazelXCBBuildService:BazelXCBBuildService
Starting local Bazel server and connecting to it...
INFO: Analyzed target //BazelXCBBuildService:BazelXCBBuildService (57 packages loaded, 1352 targets configured).
INFO: Found 1 target...
Target //BazelXCBBuildService:BazelXCBBuildService up-to-date:
  bazel-out/applebin_macos-darwin_x86_64-fastbuild-ST-a2b1a2128d01/bin/BazelXCBBuildService/BazelXCBBuildService
INFO: Elapsed time: 57.894s, Critical Path: 26.54s
INFO: 285 processes: 46 internal, 220 darwin-sandbox, 1 local, 18 worker.
INFO: Build completed successfully, 285 total actions
➜ bazel test //BazelXCBBuildService:BazelXCBBuildServiceIntegrationTests
INFO: Analyzed target //BazelXCBBuildService:BazelXCBBuildServiceIntegrationTests (7 packages loaded, 230 targets configured).
INFO: Found 1 test target...
Target //BazelXCBBuildService:BazelXCBBuildServiceIntegrationTests up-to-date:
  bazel-bin/BazelXCBBuildService/BazelXCBBuildServiceIntegrationTests
INFO: Elapsed time: 0.479s, Critical Path: 0.26s
INFO: 4 processes: 2 internal, 2 darwin-sandbox.
INFO: Build completed successfully, 4 total actions
//BazelXCBBuildService:BazelXCBBuildServiceIntegrationTests              PASSED in 0.2s

INFO: Build completed successfully, 4 total actions
➜ bazel test //BazelXCBBuildService:write_shim_tests                                    
INFO: Analyzed target //BazelXCBBuildService:write_shim_tests (0 packages loaded, 3 targets configured).
INFO: Found 1 test target...
Target //BazelXCBBuildService:write_shim_tests up-to-date:
  bazel-bin/BazelXCBBuildService/write_shim_tests
INFO: Elapsed time: 0.115s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
//BazelXCBBuildService:write_shim_tests                         (cached) PASSED in 0.4s

INFO: Build completed successfully, 1 total action

Package compilation with Xcode

Captura de Pantalla 2021-10-22 a la(s) 14 17 42

@brentleyjones brentleyjones requested a review from hisaac October 22, 2021 19:36
Copy link
Contributor

@hisaac hisaac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've confirmed that the example builds correctly and tests pass with the included changes. Thanks for the update @omarzl!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants