Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWIP initial reshuffling of opts parsing API for #23009 #23061
Conversation
highfive
commented
Mar 19, 2019
|
Heads up! This PR modifies the following files:
|
|
This is basically what I expected! |
|
|
|
Error syncing changes upstream. Logs saved in error-snapshot-1553276912875. |
|
Looks like the rebase did not go as expected :( |
|
It really did not, and it's even more embarrassing that I thought I had fixed my rebase issues when I pushed this. School things unexpectedly took priority this past week and a half, but I was planning on asking a friend on how to rebase and fix my branch's history this weekend. Am I roadblocking? |
|
Not at all! I was just going through the queue of PRs that I'm supposed to review and making sure that I wasn't roadblocking. |
|
For the record, the |
|
Alright, my friend @nucle0tides helped me undo the mess that was this branch. I'll be working and hopefully getting this done in the coming week or so!. |
|
@jdm I'm using the same pattern for all of these flags so far by making a global atomic bool to check/set from the embedder, including the new |
|
That still leaves the flag in components/config. For any flags that are only used in ports/ code, that's unnecessary. |
|
To be more explicit - I would expect the angle opt parsing to cause a local use_angle variable to contain the result, and that variable can be passed to any code that previously used opts::angle(). That keeps embedding-specific details out of the rest of the engine. |
|
|
|
Closing due to inactivity. |
ejmg commentedMar 19, 2019
•
edited
Note: This PR is not close to finished, I am pushing my code here for review and assistance.
This PR addresses the generation and parsing of command line options that are global versus specific, e.g. Gluten Embedded, by changing the
from_cmdline_args()API by adding anoptsargument that can be passed in by a specific embedder, separating the concerns and configurations from the global set of engine options../mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is