Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux support #13

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Add Linux support #13

merged 1 commit into from
Aug 14, 2024

Conversation

elliotgoodrich
Copy link
Owner

@elliotgoodrich elliotgoodrich commented Aug 12, 2024

Add support for converting between file_clock and ninja_clock on
non-Windows platforms. This should be simpler than Windows as it looks
like it is Unix time in nanoseconds.

We require a minimum of Clang 17 in order to support
clock_time_conversion and printing/formatting
std::chrono::file_time. This is why we choose the cutting edge
ubuntu version on the Github runner instead of ubuntu-latest.

@elliotgoodrich elliotgoodrich linked an issue Aug 12, 2024 that may be closed by this pull request
@elliotgoodrich elliotgoodrich force-pushed the add-linux-macos-support branch 9 times, most recently from 551dcf7 to ed6d0b3 Compare August 13, 2024 05:31
@elliotgoodrich elliotgoodrich changed the title Add MacOS/Linux support Add Linux support Aug 13, 2024
@elliotgoodrich elliotgoodrich force-pushed the add-linux-macos-support branch 19 times, most recently from caf06ca to d8433cb Compare August 13, 2024 09:46
@elliotgoodrich elliotgoodrich force-pushed the add-linux-macos-support branch 22 times, most recently from a9b2ff5 to f75545d Compare August 14, 2024 05:45
Add support for converting between `file_clock` and `ninja_clock` on
non-Windows platforms. This should be simpler than Windows as it looks
like it is Unix time in nanoseconds.

We require a minimum of Clang 17 in order to support
`clock_time_conversion` and printing/formatting
`std::chrono::file_time`.  This is why we choose the cutting edge
`ubuntu` version on the Github runner instead of `ubuntu-latest`.
@elliotgoodrich elliotgoodrich force-pushed the add-linux-macos-support branch from f75545d to 7385569 Compare August 14, 2024 05:46
@elliotgoodrich elliotgoodrich merged commit 77b4e83 into main Aug 14, 2024
7 checks passed
@elliotgoodrich elliotgoodrich deleted the add-linux-macos-support branch August 14, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Linux support
1 participant