-
Notifications
You must be signed in to change notification settings - Fork 364
Replace -DLINUX/-DLINUX_ with __linux__ #1296
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
Conversation
@mattst88 : while that's a correct thing to do per-se, can you, please, provide your side motivation why you are doing this change? is there any functional or build time issue standing behind? |
I don't really have a side motivation; I just started helping to package this software in Gentoo Linux, glanced through the GitHub issues, and thought I'd see how easy or difficult it was to get contributions accepted from outside the company. I guess if there's a side motivation, it's to work towards standardizing the build system to make it easier for packagers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattst88 : thank you, this aligns to my current understanding.
s/LINUX_/linux/ are all good. But changes where you remove self-defined macros are a little tricky because there is internal code which is not yet available in this public repo and it also uses these macros. And we have a sync in process to avoid code divergence. This sync eventually will be impacted. Thus, this change needs to be done in few stages:
- Make all changes possible in this PR which won't impact internal flow
- Someone internally need fix the internal code
- After that cmake level change can be done
Thus, may I ask you to remove some cmake level changes to make this PR easily mergeable? I'll mark them in inline comments.
@jbeich : can you, please, evaluate how FreeBSD will be impacted by this change? |
At #819 DragonFly, FreeBSD, NetBSD, OpenBSD and, tentively, Solarish (OpenIndiana) all currently use Downstream #819 already uses as cherry-picks (FreeBSD, DragonFly) for years and also as local copies (OpenBSD). So, merging this PR may create more work (rebases and monitoring new instances) depending on how frequently |
I would be happy to rebase/redo this on top of your patch series, if Intel would accept yours. It's approaching its second birthday however... |
Two weeks have passed. Could someone explain what the actual process is for accepting PRs from Github? I see tags like 'verifying' which indicate to me that something is happening behind the scenes. Is there someone upstream who is interested and able to merge external contributions? |
PR should pass review and get approval. Then someone on Intel side should trigger internal ci for the PR, if it will pass it will be merged. "verifying" label is to mark PRs which got picked for this internal ci. In case of this PR we got #1296 (comment) which highlights that we can't take this patch as is without taking care of freebsd. I understand that we don't support freebsd right now w/o additional patches, but I don't want to make things worse than they are. |
Obsoleted by the first patch in #1785 |
No description provided.