Skip to content

Make checkperf work on Windows #799

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

Merged
merged 2 commits into from
Apr 27, 2020
Merged

Make checkperf work on Windows #799

merged 2 commits into from
Apr 27, 2020

Conversation

jkeiser
Copy link
Member

@jkeiser jkeiser commented Apr 25, 2020

This:

  • Enables command line options on all command line programs on windows via a compatibility getopt.h
  • Enables parse -t on Windows
  • Moves checkperf into cmake primitives instead of bash
  • Enables ctest -R checkperf on Windows

This uses -DSIMDJSON_CHECKPERF_BRANCH=jkeiser/parse-t, which is a branch just containing the changes to enable parse -t on Windows. It will be removed on the next checkin (we can't run it against master until it supports parse -t).

@jkeiser jkeiser marked this pull request as draft April 25, 2020 15:52
@jkeiser jkeiser force-pushed the jkeiser/windows-checkperf branch 5 times, most recently from 4d93b99 to 085b410 Compare April 25, 2020 20:19
@jkeiser jkeiser marked this pull request as ready for review April 25, 2020 20:27
@jkeiser jkeiser requested a review from lemire April 25, 2020 20:27
@jkeiser
Copy link
Member Author

jkeiser commented Apr 25, 2020

I did this a little differently from how I did the competition dependencies; I made it so it would only pull and build the repository if you actually specify the checkperf target, rather than doing it at configure time. This doesn't seem to be the usual pattern, but I like it better. I hate paying for stuff I don't use.

@jkeiser jkeiser force-pushed the jkeiser/windows-checkperf branch 8 times, most recently from 3d4cdb7 to 71eb24b Compare April 26, 2020 17:41
@jkeiser jkeiser force-pushed the jkeiser/windows-checkperf branch from 71eb24b to 73bfc8d Compare April 26, 2020 19:12
@jkeiser
Copy link
Member Author

jkeiser commented Apr 26, 2020

@lemire this one also downsizes our Windows CI runs to 3, still checking all individual options but not trying as many combinations.

Copy link
Member

@lemire lemire left a comment

Choose a reason for hiding this comment

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

Let us move forward with this.

@lemire lemire merged commit 0e6ea76 into master Apr 27, 2020
@lemire lemire deleted the jkeiser/windows-checkperf branch April 27, 2020 18:20
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.

2 participants