Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Initial attempt at a MacOS port. #70

Merged
merged 2 commits into from
Oct 27, 2020
Merged

Conversation

chandlerc
Copy link
Contributor

This builds and produces a seemingly functional set of binaries. Only
tested on MacOS x86 laptop with XCode 12.

I've added some TODOs around parts that still seem brittle.

@chandlerc chandlerc requested a review from GMNGeoffrey October 27, 2020 11:24
This builds and produces a seemingly functional set of binaries. Only
tested on MacOS x86 laptop with XCode 12.
@chandlerc
Copy link
Contributor Author

PTAL, had to mark a test as local, but now also passes all tests on Mac!

@chandlerc chandlerc requested a review from GMNGeoffrey October 27, 2020 21:57
Comment on lines 468 to 470
tags = [
"local", # Not compatible with the sandbox on MacOS
],
Copy link
Contributor

Choose a reason for hiding this comment

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

Just note that this appears to make the test take about 10 times as long. Would it be better to disable the gid/uid test entirely with --gtest_filter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've checked and at least for me I'm not seeing a significant difference ... on my Linux machine, it takes about 8s to run the test just like on the buildkite instance? I think it's just cached vs. uncached.

I'd prefer this to skipping the test as the test granularity isn't super narrow -- we'd lose all permission management tests. =/

@chandlerc chandlerc merged commit 2893242 into google:main Oct 27, 2020
@chandlerc chandlerc deleted the macos-build branch October 27, 2020 23:03
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.

2 participants