-
Notifications
You must be signed in to change notification settings - Fork 520
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
FreeBSD support in endian.h #476
Conversation
@tqchen I took some code from Boost Library to detect endianness. What do you think? For now, I added the full text of Boost License notice to Boost License is one of licenses pre-cleared by Apache Foundation (Category A): https://www.apache.org/legal/resolved.html#category-a |
I would say let us keep endian rules simple, and ask users to explicitly declare it for corner cases and avoid introducing additional deps with a different license |
@tqchen Any concrete suggestion about how to move forward with FreeBSD? Should we ask FreeBSD users to use CMake? |
Yes, i think it is fine to ask folks to use cmake |
If we can add a quick macro support BSD, I am fine with that |
@tqchen I simplified detection logic. Corner cases will be directed to CMake. |
That's really good news, thank you! |
* FreeBSD support in endian.h * Better endian detection logic * Fix typo * Add attribution to Boost Library for detection logic * Fix typo * Fix style error * Simplify detection logic; offload corner cases to CMake
No description provided.