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

minor cleanups to make it more cross platform #54

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

VVelox
Copy link

@VVelox VVelox commented Feb 10, 2020

Uses list_cpu_features instead to get CPU features. Calling /proc/cpuinfo is a bad linuxism as lots of systems don't use that.

Use /usr/bin/env to invoke python2 instead of staticly coding the path. This avoids relying on a system installing python2 /usr/bin.

@VVelox
Copy link
Author

VVelox commented Feb 10, 2020

Also went and updated csdr.c to use CLOCK_MONOTONIC_FAST on FreeBSD.

@VVelox
Copy link
Author

VVelox commented Feb 10, 2020

env_csdr_dynamic_bufsize_on is now set to 1 and setting the pipe size on FreeBSD is now #ifed out.

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.

1 participant